• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber-common / zap / 104 / 2
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2016 07:47PM UTC
Files 10
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Apr 2016 07:46PM UTC coverage: 97.658% (+0.1%) from 97.531%
104.2

push

travis-ci

akshayjshah
Replace io.Writer with zap.WriteSyncer (#27)

* Remove global default error writer var

Since we can configure this when we construct loggers, there's no longer
a good reason for this global variable.

* Replace io.Writer with zap.WriteSyncer

We want to flush our output files whenever we log at the panic or fatal
levels, otherwise there's a chance the program will crash before we
actually write our logs. This is particularly important if we use
a buffered output writer.

To accomodate this, replace our use of io.Writer with zap.WriteSyncer.
All *os.Files already satisfy our interface, and this diff adds
a wrapper for other io.Writers.

* Address comments from CR

417 of 427 relevant lines covered (97.66%)

14599.65 hits per line

Source Files on job 104.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 104
  • Travis Job 104.2
  • 679fb046 on github
  • Prev Job for on master (#99.2)
  • Next Job for on master (#115.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc