nautilustar-debug
v1.1.0
Published
Simple and pretty logger to NodeJS
Downloads
20
Readme
nautilustar-debug
Just another library for logging.
Usage
Basic usage
Importing
// from ts files
import log from 'nautilustar-debug';
// from js files
const { log } = require('nautilustar-debug');
Example
// example.ts
import log from 'nautilustar-debug';
log('log message');
log.debug('debug message');
log.info('info message');
log.warn('warn message');
log.success('success message');
log.error('error message');
Will print something like: