Skip to content

Phara0h/wog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wog

Just a wittle wogger with no dependencies

Install

npm install wog --save

Init

//these are the default values 
const wog = require('wog')({ 
    enable: true, 
    colors: true, 
    level: 'meme',
    logger: console,
    jsonoutput: false
});

Usage

//these are the default values 
  wog.info('Its ight');
  wog.warn('Oh noes its a warnning!');
  wog.error('Yikes!');
  wog.fatal('f');
  wog.debug('Why?');
  wog.trace('there you are', {meme:'city'});
  wog.wtf('i give up');
  wog.meme('I summon thee');