Skip to content

Console decoration with colors and level restriction for node

License

Notifications You must be signed in to change notification settings

mohitmayank/consolekit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consolekit

Console decoration with colors and level restriction for node

install

npm install consolekit

use

start consolekit with level of logging required in following order

  • log - log everything
  • trace - log everything except console.log
  • info - ignore debug messges
  • warn - only warning and error
  • error - only error
  • none - don't log anything
require('consolekit')('log');

console.log('console.log');
console.trace('console.trace');
console.info('console.info');
console.warn('console.warn');
console.error('console.error');

consolekit

Contributors

About

Console decoration with colors and level restriction for node

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published