正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
... | ... | @@ -6,7 +6,7 @@ var mergeDefaults = require('merge-defaults') |
6 | 6 | var winston = require('winston') |
7 | 7 | var winstonMongoDB = require('winston-mongodb') |
8 | 8 | var winstonHipchat = require('winston-hipchat') |
9 | -var winstonSlack = require('winston-slack') | |
9 | +var slackWinston = require('slack-winston') | |
10 | 10 | |
11 | 11 | exports = module.exports = function(settings) { |
12 | 12 | |
... | ... | @@ -52,7 +52,7 @@ exports = module.exports = function(settings) { |
52 | 52 | |
53 | 53 | if (settings.logger.slack) |
54 | 54 | transports.push( |
55 | - new winstonSlack.Slack(settings.slack) | |
55 | + new slackWinston.Slack(settings.slack) | |
56 | 56 | ) |
57 | 57 | |
58 | 58 | var logger = new winston.Logger({ | ... | ... |
请
注册
或
登录
后发表评论