All files / src logger.ts

0% Statements 0/5
100% Branches 0/0
100% Functions 0/0
0% Lines 0/5
1 2 3 4 5 6 7 8 9 10 11 12 13                         
import * as winston from 'winston';
import * as Sentry from 'winston-raven-sentry';
import {config} from './config';

export const logger = new winston.Logger({
	transports: [
		new Sentry({
			dsn: config.sentry.dsn,
			level: config.sentry.logLevel,
		}),
	],
});