1.0.15 • Published 4 years ago
maxthod-logger v1.0.15
To be use like this :
LOG_LEVEL=debug npm run yourprocess
choices are : error, warn, info, verbose, debug, silly
const { Looger } = require('maxthod-logger')
// OR calling init on the package
// will make global Logger variable
require('maxthod-logger').init()
// THEN
Logger.info()
// Based on winston logger