dyno-bot/patreon-service-master/build/logger.js
2020-09-12 19:08:48 +01:00

14 lines
430 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const winston = require("winston");
const Sentry = require("winston-raven-sentry");
const config_1 = require("./config");
exports.logger = new winston.Logger({
transports: [
new Sentry({
dsn: config_1.config.sentry.dsn,
level: config_1.config.sentry.logLevel,
}),
],
});
//# sourceMappingURL=logger.js.map