文件名称:winston-transport-sequelize:同步运输模块Winston
文件大小:23KB
文件格式:ZIP
更新时间:2024-05-21 09:13:33
JavaScript
温斯顿运输续集 为Winston安排运输 安装 npm install winston-transport-sequelize 例子 const winston = require ( 'winston' ) ; const WinstonTransportSequelize = require ( 'winston-transport-sequelize' ) ; const Sequelize = require ( 'sequelize' ) ; const sequelize = new Sequelize ( ) ; const options = { sequelize : sequelize , // sequelize instance [required] tableName : 'WinstonLog' , // default name meta : {
【文件预览】:
winston-transport-sequelize-master
----index.js(3KB)
----package.json(734B)
----test()
--------test.js(2KB)
--------readme.md(39B)
----LICENSE(1KB)
----package-lock.json(61KB)
----.gitignore(80B)
----README.md(1018B)