提交 18766b14430d3812821658e885b063b42ccaf694

作者 Nick Baugh
1 个父辈 565380bd

Switched winston-slack to slack-winston

正在显示 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({
... ...
... ... @@ -42,7 +42,7 @@
42 42 "winston": "git://github.com/niftylettuce/winston",
43 43 "winston-hipchat": "^0.1.1",
44 44 "winston-mongodb": "~0.4.3",
45   - "winston-slack": "^0.1.6"
  45 + "slack-winston": "^0.0.1"
46 46 },
47 47 "devDependencies": {
48 48 "chai": "^1.9.1",
... ...
注册登录 后发表评论