Skip to content

Instantly share code, notes, and snippets.

@CallMeEchoCodes
Last active June 18, 2022 23:30
Show Gist options
  • Save CallMeEchoCodes/893b5e814a8a7c531d4805d3de5c7a37 to your computer and use it in GitHub Desktop.
Save CallMeEchoCodes/893b5e814a8a7c531d4805d3de5c7a37 to your computer and use it in GitHub Desktop.
const LoggerClass = require('../index');
const Logger = new LoggerClass({ production: false });
Logger.log("Hello World", "DEBUG");
Logger.log("Hello World", "SUCCESS");
Logger.log("Hello World", "INFO");
Logger.log("Hello World", "WARN");
Logger.log("Hello World", "ERROR");
Logger.log("Hello World", "FATAL");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment