feat: loggers + search engines models
This commit is contained in:
11
server/modules/logging/rollbar/definition.yml
Normal file
11
server/modules/logging/rollbar/definition.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
key: rollbar
|
||||
title: Rollbar
|
||||
description: Rollbar provides real-time error alerting & debugging tools for developers.
|
||||
author: requarks.io
|
||||
logo: https://static.requarks.io/logo/rollbar.svg
|
||||
website: https://rollbar.com/
|
||||
defaultLevel: warn
|
||||
props:
|
||||
key:
|
||||
type: String
|
||||
title: Key
|
@@ -7,9 +7,6 @@ const _ = require('lodash')
|
||||
// ------------------------------------
|
||||
|
||||
module.exports = {
|
||||
key: 'rollbar',
|
||||
title: 'Rollbar',
|
||||
props: ['key'],
|
||||
init (logger, conf) {
|
||||
let RollbarLogger = winston.transports.RollbarLogger = function (options) {
|
||||
this.name = 'rollbarLogger'
|
||||
|
Reference in New Issue
Block a user