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

uber-go / zap / 319 / 3
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 26 Jul 2016 05:20PM 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

26 Jul 2016 05:16PM UTC coverage: 100.0%. Remained the same
319.3

push

travis-ci

web-flow
Clean up hooks and logger config (#102)

* Add a constructor for no-op fields

Add a constructor so that users can also create no-op fields. I
considered calling this `Nop`, but `zap.Nop()` looks like it should
return a logger instead of a Field.

* Clean up hooks and logger boilerplate

Reduce boilerplate by introducing an Entry struct and pulling common
logger elements into a Config struct (that can be shared between Logger
implementations). Along the way, start logging timestamps as
floating-point seconds since epoch.

* Address CR feedback

* Add tests, clarify comments

545 of 545 relevant lines covered (100.0%)

11465.14 hits per line

Source Files on job 319.3
  • Tree
  • List 0
  • Changed 6
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 319
  • Travis Job 319.3
  • f9a34fd4 on github
  • Prev Job for on master (#310.3)
  • Next Job for on master (#322.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