0.0.1 • Published 8 years ago
nbp-logger v0.0.1
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.
0.0.1
8 years ago