Plugin for node-registry
that exposes the winston
logger module to your project.
npm install node-registy-winston --save
const Registry = require('node-registry');
Registry.logger.info('My little log line');
Inside your config
file you can configure the winston
Logger transports. An example config file could look like this.
logger:
level: debug
transport:
options:
timestamp: true
colorize: true
prettyPrint: true
Sets the level for the logger, defaults to INFO
Define the Winston Transport, defaults to Console
Object that represents the configuration for the Transport