nbp-logger
v0.0.1
Published
Logging tool for Node.js Bot Platform based on Winston
Downloads
7
Readme
Logging tool
This is Logging tool for Node.js Bot Platform. It based on Winston.
import loggerFactory from 'nbp-logger';
const logger = loggerFactory({
level: 'debug',
colorize: true
});
You can read more about logging levels on Winston's documentation page.
logger.info('Some info here');
logger.debug('Debug info');
logger.error('Error here');
Please, look at usage example.