0.1.2 • Published 6 years ago

simpler-logger v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Features

  • Better console.logs
  • Logging on files
  • No need to remove logger from code, just change the level of log

Levels

  • Fatal => File and Console
  • Critical => File and Console
  • Warning => File and Console
  • Success => Console
  • Info => Console
  • Debug => Console

How to work with:

var sLogger = require('simpler-logger');
sLogger.level('debug');

// BUILD FOR LOGGIN WHILE DEVELOPMENT
sLogger.debug("Text to log", object);

//BUILD FOR LOGGIN ON CONSOLES
sLogger.info("Text to log", object);

//BUILD FOR LOGGIN ON CONSOLES AND TEXT FILES INFORMATION
sLogger.warning("Text to log");

/BUILD FOR LOGGIN ON CONSOLES AND TEXT FILES CRITICAL INFORMATION sLogger.critical("Text to log");

/BUILD FOR LOGGIN ON CONSOLES AND TEXT FILES FATAL DATA
sLogger.fatal("Text to log");
0.1.2

6 years ago

0.1.1

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago