Skip to content

ps-logger is a production grade logger, basically it is used for logging info,warning,error,silly,verbose and debug statements

License

Notifications You must be signed in to change notification settings

sevev77/ps-logger

 
 

Repository files navigation

ps-logger

screenshot

  • ps-logger is a production grade logger, basically it is used for logging info,warning,error,silly,verbose,prompt and debug statements

usage examples:-

const logger=require('ps-logger');

logger.info("This is info")
logger.warn("This is warning");
logger.error("This is error");
logger.debug("This is debug");
logger.prompt("This is prompt");
logger.verbose("This is verbose");
logger.silly("This is silly");

disabling or enabling color

  • By default it is set to true,so you dont need to set it as true
logger.setColor(false);

About

ps-logger is a production grade logger, basically it is used for logging info,warning,error,silly,verbose and debug statements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%