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

visionmedia / debug / 110
75%
master: 89%

Build:
Build:
LAST BUILD BRANCH: fix/safe-regex
DEFAULT BRANCH: master
Ran 12 Apr 2017 07:35PM UTC
Jobs 3
Files 3
Run time 59s
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
110

push

travis-ci

thebigredgeek
Make millisecond timer namespace specific and allow 'always enabled' output (#408)

* Make millisecond timer namespace specific

When debugging node apps, I find it much more useful for the
millisecond timer to be relative to last message from the same
namespace instead of any message. This is especially true when I'm
debugging across multiple libraries or multiple levels in the same
module and I'm interested in seeing all the messages but also need to
compare times from specific levels.

* Enable 'always enabled' output

Having to deal with 2 different logging mechanisms, one for debugging
and one for normal output, can be a nuisance.  It would be much easier to
always use the same facility and semantics for both.  This patch allows
an 'always enabled' namespace to be specified by appending a single '*'
to the namespace name.

var alwaysOn = require('debug')('normal:messages*');
alwaysOn('This will always display regardless of DEBUG');

22 of 47 branches covered (46.81%)

3 of 3 new or added lines in 1 file covered. (100.0%)

99 of 133 relevant lines covered (74.44%)

6.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/debug.js

Uncovered Existing Lines

Lines Coverage ∆ File
10
100.0
src/debug.js
Jobs
ID Job ID Ran Files Coverage
1 110.1 12 Apr 2017 07:35PM UTC 0
74.44
Travis Job 110.1
2 110.2 12 Apr 2017 07:35PM UTC 0
74.44
Travis Job 110.2
3 110.3 12 Apr 2017 07:36PM UTC 0
74.44
Travis Job 110.3
Source Files on build 110
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #110
  • 9e227d37 on github
  • Prev Build on v3 (#76)
  • Next Build on v3 (#114)
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

© 2025 Coveralls, Inc