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

uber-go / zap / 319
97%

Build:
DEFAULT BRANCH: master
Ran 26 Jul 2016 05:18PM UTC
Jobs 2
Files 15
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
319

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

22928.04 hits per line

Jobs
ID Job ID Ran Files Coverage
2 319.2 26 Jul 2016 05:18PM UTC 0
100.0
Travis Job 319.2
3 319.3 26 Jul 2016 05:20PM UTC 0
100.0
Travis Job 319.3
Source Files on build 319
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #319
  • f9a34fd4 on github
  • Prev Build on master (#310)
  • Next Build on master (#322)
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