feat: loggers + search engines models
This commit is contained in:
11
server/modules/logging/sentry/definition.yml
Normal file
11
server/modules/logging/sentry/definition.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
key: sentry
|
||||
title: Sentry
|
||||
description: Open-source error tracking that helps developers monitor and fix crashes in real time.
|
||||
author: requarks.io
|
||||
logo: https://static.requarks.io/logo/sentry.svg
|
||||
website: https://sentry.io/
|
||||
defaultLevel: warn
|
||||
props:
|
||||
key:
|
||||
type: String
|
||||
title: Key
|
@@ -6,9 +6,6 @@ const winston = require('winston')
|
||||
// ------------------------------------
|
||||
|
||||
module.exports = {
|
||||
key: 'sentry',
|
||||
title: 'Sentry',
|
||||
props: ['key'],
|
||||
init (logger, conf) {
|
||||
let SentryLogger = winston.transports.SentryLogger = function (options) {
|
||||
this.name = 'sentryLogger'
|
||||
|
Reference in New Issue
Block a user