feat: loggers + search engines models
This commit is contained in:
12
server/modules/logging/bugsnag/definition.yml
Normal file
12
server/modules/logging/bugsnag/definition.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
key: bugsnag
|
||||
title: Bugsnag
|
||||
description: Bugsnag monitors apps for errors that impact customers & reports all diagnostic data.
|
||||
author: requarks.io
|
||||
logo: https://static.requarks.io/logo/bugsnag.svg
|
||||
website: https://www.bugsnag.com/
|
||||
defaultLevel: warn
|
||||
props:
|
||||
key:
|
||||
type: String
|
||||
title: Key
|
||||
hint: Bugsnag Project Notifier key
|
@@ -7,9 +7,6 @@ const _ = require('lodash')
|
||||
// ------------------------------------
|
||||
|
||||
module.exports = {
|
||||
key: 'bugsnag',
|
||||
title: 'Bugsnag',
|
||||
props: ['key'],
|
||||
init (logger, conf) {
|
||||
let BugsnagLogger = winston.transports.BugsnagLogger = function (options) {
|
||||
this.name = 'bugsnagLogger'
|
||||
|
Reference in New Issue
Block a user