Fixing logging.

This commit is contained in:
chris062689 2017-03-14 23:59:40 -04:00
parent 0e00edf27c
commit bf0377898f
2 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,10 @@
var config = require('config');
var winston = require('winston');
winston.emitErrs = true;
var logdna = require('logdna');
var ip = require('ip');
var os = require("os");
winston.emitErrs = true;
var logger = new winston.Logger({
transports: [
new winston.transports.Console({

View file

@ -14,6 +14,7 @@
"dependencies": {
"config": "^1.24.0",
"discord.js": "^10.0.1",
"ip": "^1.1.5",
"logdna": "^1.2.3",
"request": "^2.79.0",
"winston": "^2.3.0"