Fixing logging.
This commit is contained in:
parent
0e00edf27c
commit
bf0377898f
|
@ -1,7 +1,10 @@
|
||||||
var config = require('config');
|
var config = require('config');
|
||||||
var winston = require('winston');
|
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({
|
var logger = new winston.Logger({
|
||||||
transports: [
|
transports: [
|
||||||
new winston.transports.Console({
|
new winston.transports.Console({
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"config": "^1.24.0",
|
"config": "^1.24.0",
|
||||||
"discord.js": "^10.0.1",
|
"discord.js": "^10.0.1",
|
||||||
|
"ip": "^1.1.5",
|
||||||
"logdna": "^1.2.3",
|
"logdna": "^1.2.3",
|
||||||
"request": "^2.79.0",
|
"request": "^2.79.0",
|
||||||
"winston": "^2.3.0"
|
"winston": "^2.3.0"
|
||||||
|
|
Loading…
Reference in New Issue