logtrace
v0.1.0
Published
console like stdout/stderr node.js logger with timestamp, log level, file and line numbers
Downloads
3
Maintainers
Readme
logtrace
var LogTrace = require('logtrace')
var logger = new LogTrace()
logger.info('caramel', 'chocolat')
// 2016-05-30 15:54:06.203 INFO [myNamespace] file.js:4 caramel chocolat
Environment variable:
LOG_LEVEL
defaults to INFO
with possible values in
DEBUG
INFO
WARN
- 'ERROR`