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

uber-common / zap / 104
97%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2016 07:47PM UTC
Jobs 1
Files 10
Run time 19s
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

pending completion
104

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

Jobs
ID Job ID Ran Files Coverage
2 104.2 12 Apr 2016 07:47PM UTC 0
97.66
Travis Job 104.2
Source Files on build 104
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #104
  • 679fb046 on github
  • Prev Build on master (#99)
  • Next Build on master (#115)
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

© 2025 Coveralls, Inc