feat: loggers + search engines models

This commit is contained in:
Nicolas Giard
2018-09-01 15:15:44 -04:00
parent 9c6a4f6c20
commit 5919d14670
31 changed files with 433 additions and 40 deletions

View 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

View File

@@ -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'