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

Springworks / node-logger-factory / 845 / 2
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: add-stdout-logger-creation
DEFAULT BRANCH: master
Ran 27 Jan 2017 09:10AM UTC
Files 7
Run time 0s
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 Jan 2017 09:08AM UTC coverage: 98.969%. First build
845.2

push

travis-ci

sommestad
feat(logging): allow creation of sampled logger

Creates a `child()` logger that only logs a "percentage" of the log messages.

* `sample_rate` is a value between 0 - 1 (0 = 0%, 1 = 100%).

```javascript
const sampled_logger = logger.sampledLogger({ sample_rate: 0.5 });
logger.info('50% chance the log will get this message');

```

96 of 97 relevant lines covered (98.97%)

6.44 hits per line

Source Files on job 845.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 845
  • Travis Job 845.2
  • 8aaa3943 on github
  • Next Job for on logging/sample-rate (#847.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