正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
@@ -6,7 +6,7 @@ var mergeDefaults = require('merge-defaults') | @@ -6,7 +6,7 @@ var mergeDefaults = require('merge-defaults') | ||
6 | var winston = require('winston') | 6 | var winston = require('winston') |
7 | var winstonMongoDB = require('winston-mongodb') | 7 | var winstonMongoDB = require('winston-mongodb') |
8 | var winstonHipchat = require('winston-hipchat') | 8 | var winstonHipchat = require('winston-hipchat') |
9 | -var winstonSlack = require('winston-slack') | 9 | +var slackWinston = require('slack-winston') |
10 | 10 | ||
11 | exports = module.exports = function(settings) { | 11 | exports = module.exports = function(settings) { |
12 | 12 | ||
@@ -52,7 +52,7 @@ exports = module.exports = function(settings) { | @@ -52,7 +52,7 @@ exports = module.exports = function(settings) { | ||
52 | 52 | ||
53 | if (settings.logger.slack) | 53 | if (settings.logger.slack) |
54 | transports.push( | 54 | transports.push( |
55 | - new winstonSlack.Slack(settings.slack) | 55 | + new slackWinston.Slack(settings.slack) |
56 | ) | 56 | ) |
57 | 57 | ||
58 | var logger = new winston.Logger({ | 58 | var logger = new winston.Logger({ |
@@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
42 | "winston": "git://github.com/niftylettuce/winston", | 42 | "winston": "git://github.com/niftylettuce/winston", |
43 | "winston-hipchat": "^0.1.1", | 43 | "winston-hipchat": "^0.1.1", |
44 | "winston-mongodb": "~0.4.3", | 44 | "winston-mongodb": "~0.4.3", |
45 | - "winston-slack": "^0.1.6" | 45 | + "slack-winston": "^0.0.1" |
46 | }, | 46 | }, |
47 | "devDependencies": { | 47 | "devDependencies": { |
48 | "chai": "^1.9.1", | 48 | "chai": "^1.9.1", |
请
注册
或
登录
后发表评论