winston-loggers
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

winston-loggers

基于winstonwinston-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')

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i winston-loggers

Weekly Downloads

6

Version

0.1.3

License

MIT

Unpacked Size

7.09 kB

Total Files

9

Last publish

Collaborators

  • bianlongting