yeieslogger
v0.1.1
Published
A basic logger(for now) where show colors in the logs depending of the level.
Downloads
1
Maintainers
Readme
Js-basiclogger
A basic logger(for now) where show colors in the logs depending of the level.
Guide
Create a logger
const exampleLogger = new Logger("ExampleLogger");
Log with INFO level
exampleLogger.info("Info type log");
Log with ERROR level
exampleLogger.error("Error type log");
Log with LOG level
exampleLogger.log("Log type log");
Log with WARNING level
exampleLogger.warning("Warning type log");
Log with DEBUG level
exampleLogger.debug("Warning type log");