1.0.1 • Published 4 years ago
@bizvu/logger v1.0.1
Logger
Uniform logging with Winston
Install
npm i @bizvu/logger
Usage
const logger = require('@bizvu/logger')(__filename)
logger.error(string)
logger.warn(string)
logger.info(string)
logger.http(string)
logger.verbose(string)
logger.debug(string)
logger.silly(string)
Configuration
Default log level is 'info'. To change the log level, set an environment variable LOG_LEVEL with the desired level of logging.