Add .enabled flag #11

Closed
tj opened this Issue Feb 6, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

tj commented Feb 6, 2012

to the functions, for example this would be useful for conditional intervals:

var debug = require('debug')('something');

if (debug.enabled) {
  setInterval(checkSomething, 1000);
}

tj closed this in a926114 Mar 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment