1.0.3 • Published 9 years ago
debug-winston
Wrapper around the wonderful libraries debug and winston.
Writes to winston if process.env.LOG_FILE exists; writes to debug otherwise.
Usage
Same interface as debug:
const debug = require('debug-winston')('my:namespace');
debug('I am a debug message.');