0.1.3 • Published 5 years ago
winston-loggers v0.1.3
winston-loggers
基于winston
和 winston-daily-rotate-file
的log包
install
npm i winston-loggers or yarn add winston-loggers
import Logger from 'winston-loggers'
const logger = new Logger.init({
filename: <file path>
})
logger.info('hello world')