Skip to content

a small and tiny loger util. easy to understand and use.

Notifications You must be signed in to change notification settings

jobsteven/tinyLoger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyLoger

a small and tiny loger util. easy to understand and use.

import Loger from 'tinyLoger';

// set output level(optional)
Loger.setLogLevel(Loger.ERROR);

// set output prefix(optional)
let loger = Loger.getLoger('login process: ');

// enjoy.

loger.info('login successfull.');

loger.error('login fails.');

loger.warn('usename is required.');

About

a small and tiny loger util. easy to understand and use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published