Skip to content

nautilustar/nautilustar-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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