hy-logger
v1.0.2
Published
``` const logger = require('h-logger')({service: 'myService', path: 'logs', disableTimestamp: false}) logger.info('message', 'text' || object) logger.info('message', 'text' || object) ```
Downloads
2
Readme
custom daily rotate logger
const logger = require('h-logger')({service: 'myService', path: 'logs', disableTimestamp: false})
logger.info('message', 'text' || object)
logger.info('message', 'text' || object)