Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 510 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 510 Bytes

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:

demo