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')
基于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')
npm i winston-loggers
6
0.1.3
MIT
7.09 kB
9