Skip to content

Logging for Node.js Bot Platform based on Winston

Notifications You must be signed in to change notification settings

evilai/nbp-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Logging for Node.js Bot Platform based on Winston

Resources

Stars

Watchers

Forks

Packages

No packages published