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

uber-go / zap / 354 / 2
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 29 Jul 2016 03:10AM UTC
Files 16
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

29 Jul 2016 03:08AM UTC coverage: 100.0%. Remained the same
354.2

push

travis-ci

web-flow
Flatten serialized entries (#107)

* Flatten serialized entries

Log aggregation and processing systems typically require some
information in the top-level JSON. In zap, we included the message,
level, and timestamp, but that's clearly not enough to support many use
cases. We could support adding information to this envelope via a
separate API, but the simplest option is to flatten the entry.

This is a small change to the production code, but it requires large
changes to the tests. To keep review semi-sane, this commit includes
only the production code changes.

* Amend tests to expect flattened logs

Amend all the tests to expect flattened logs.

* Small perf improvement in WriteEntry

* Rebase onto master

607 of 607 relevant lines covered (100.0%)

10534.39 hits per line

Source Files on job 354.2
  • Tree
  • List 0
  • Changed 11
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 354
  • Travis Job 354.2
  • 7b16b33d on github
  • Prev Job for on master (#351.2)
  • Next Job for on master (#357.2)
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