0.0.0 • Published 11 years ago
selog v0.0.0
SeLog
Usage
const debug = require('selog')('example')
debug('fizbuz')
debug.sub('foo') // equivalent to `selog('example:foo')`API
selog(name): debug- Create a namespacedebug(msg, ...)- Log to the namespacedebug.trace- Trace to the namespace (prefixes the namespace withtrace:)debug.name- The namedebug.nameParts- The name split on colonsdebug.parent- The parent namespacedebug.sub(name)- Create a sub namespace
0.0.0
11 years ago