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

uber-go / zap / 354
97%

Build:
DEFAULT BRANCH: master
Ran 29 Jul 2016 03:10AM UTC
Jobs 3
Files 16
Run time 1min
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
354

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%)

31591.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 354.1 29 Jul 2016 03:10AM UTC 0
100.0
Travis Job 354.1
2 354.2 29 Jul 2016 03:10AM UTC 0
100.0
Travis Job 354.2
3 354.3 29 Jul 2016 03:11AM UTC 0
100.0
Travis Job 354.3
Source Files on build 354
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #354
  • 7b16b33d on github
  • Prev Build on master (#351)
  • Next Build on master (#357)
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