@craiqser/logger
v1.0.2
Published
Simple colored logger
Downloads
1
Readme
Logger
Simple logger
Install
npm i @craiqser/logger
Usage
import Logger from '@craiqser/logger';
const log = new Logger({
level: Logger.Level.Debug,
name: 'ModuleName'
});
log.debug('Message with debug level.');
log.info('Message with info level.');
log.warn('Message with warn level.');
log.error('Message with error level.');