fix: sentry logger transport typo
This commit is contained in:
parent
1f2d42d34a
commit
37c28691ff
@ -10,7 +10,7 @@ module.exports = {
|
|||||||
title: 'Sentry',
|
title: 'Sentry',
|
||||||
props: ['key'],
|
props: ['key'],
|
||||||
init (logger, conf) {
|
init (logger, conf) {
|
||||||
let SentryLogger = winston.transports.RollbarLogger = function (options) {
|
let SentryLogger = winston.transports.SentryLogger = function (options) {
|
||||||
this.name = 'sentryLogger'
|
this.name = 'sentryLogger'
|
||||||
this.level = options.level || 'warn'
|
this.level = options.level || 'warn'
|
||||||
this.raven = require('raven')
|
this.raven = require('raven')
|
||||||
|
Loading…
Reference in New Issue
Block a user