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

uber-go / zap / 331 / 2
100%
master: 97%

Build:
Build:
LAST BUILD BRANCH: license
DEFAULT BRANCH: master
Ran 27 Jul 2016 03:02PM UTC
Files 15
Run time 1s
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

27 Jul 2016 02:59PM UTC coverage: 100.0%. First build
331.2

push

travis-ci

prashantv
Support concurrent logging to a single WriteSyncer

Currently, the WriteSyncer assumes the underlying Writer will support
concurrent Writes correctly. However, this is not true for common
io.Writer implementations:
 - *os.File may call the write syscall multiple times
 - *bytes.Buffer does not support concurrent writes at all

Instead, we will wrap all passed in WriteSyncers in a lockedWriteSyncer
which will use a mutex to serialize calls to the underlying WriteSyncer.

In future, we may want to expose a way of setting a WriteSyncer that
already supports concurrent calls, but since most common implementations
cannot handle concurrent writes correctly, locking the writer seems like
a simpler default.

563 of 563 relevant lines covered (100.0%)

11179.57 hits per line

Source Files on job 331.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 331
  • Travis Job 331.2
  • 56f315d8 on github
  • Next Job for on pv_concurrent_write (#335.1)
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