Simple NodeJs Logger
Installation
$ npm install @rxpm/logger
Usage
Create new logger instance
const myLogger = new Logger("MyLogger", { enable: true });
Use different loglevel methods
myLogger.info("App", "First info log");
$ npm install @rxpm/logger
Create new logger instance
const myLogger = new Logger("MyLogger", { enable: true });
Use different loglevel methods
myLogger.info("App", "First info log");
npm i @rxpm/logger
1
2.0.2
ISC
23.6 kB
18