Skip to content

noodleswww/nclogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clogger

NPM

logger your project es6

install

npm install nclogger

using

import logger from 'clogger/src/logger-complied';

logger.log('log');
logger.info('info');

// only for debug
logger.debug('debug');

logger.warn('warn');
logger.error('error');

// mock error
var err = new Error();
err.name = 'errName';
err.data = 'errData';
logger.error(err);

About

logger in your project, combine colors line

Resources

License

Stars

Watchers

Forks

Packages

No packages published