Built motion from commit fd18f58.|0.0.129
[motion.git] / server / config / logger.js
index f940ecb..dc71fd8 100644 (file)
@@ -1 +1 @@
-var _0xe95b=["\x77\x69\x6E\x73\x74\x6F\x6E","\x70\x61\x74\x68","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x6D\x69\x74\x45\x72\x72\x73","\x64\x65\x62\x75\x67","\x74\x72\x61\x6E\x73\x70\x6F\x72\x74\x73","\x64\x65\x62\x75\x67\x54\x6F\x46\x69\x6C\x65","\x6C\x6F\x67\x67\x69\x6E\x67","\x64\x65\x62\x75\x67\x2D\x66\x69\x6C\x65","\x61\x64\x64","\x69\x6E\x66\x6F\x2D\x66\x69\x6C\x65","\x69\x6E\x66\x6F","\x77\x61\x72\x6E\x2D\x66\x69\x6C\x65","\x77\x61\x72\x6E","\x65\x72\x72\x6F\x72\x2D\x66\x69\x6C\x65","\x65\x72\x72\x6F\x72","\x65\x78\x70\x6F\x72\x74\x73","\x73\x74\x72\x65\x61\x6D"];var winston=require(_0xe95b[0]);var path=require(_0xe95b[1]);var config=require(_0xe95b[2]);winston[_0xe95b[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xe95b[5]].Console({level:_0xe95b[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xe95b[7]][_0xe95b[6]]){debug[_0xe95b[9]](winston[_0xe95b[5]].File,{name:_0xe95b[8],level:_0xe95b[4],filename:config[_0xe95b[7]][_0xe95b[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xe95b[5]].File({name:_0xe95b[10],level:_0xe95b[11],filename:config[_0xe95b[7]][_0xe95b[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe95b[5]].Console({level:_0xe95b[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xe95b[5]].File({name:_0xe95b[12],level:_0xe95b[13],filename:config[_0xe95b[7]][_0xe95b[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe95b[5]].Console({level:_0xe95b[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xe95b[5]].File({name:_0xe95b[14],level:_0xe95b[15],filename:config[_0xe95b[7]][_0xe95b[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe95b[5]].Console({level:_0xe95b[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x7827x9,_0x7827xa){debug[_0xe95b[4]](_0x7827x9,_0x7827xa)},info:function(_0x7827x9,_0x7827xa){info[_0xe95b[11]](_0x7827x9,_0x7827xa)},warn:function(_0x7827x9,_0x7827xa){warn[_0xe95b[13]](_0x7827x9,_0x7827xa)},error:function(_0x7827x9,_0x7827xa){error[_0xe95b[15]](_0x7827x9,_0x7827xa)},log:function(_0x7827xb,_0x7827x9,_0x7827xa){var _0x7827xc=exports[_0x7827xb];_0x7827xc(_0x7827x9,_0x7827xa);}};module[_0xe95b[16]]=loggers;module[_0xe95b[16]][_0xe95b[17]]={write:function(_0x7827xd,_0x7827xe){loggers[_0xe95b[11]](_0x7827xd)}};
\ No newline at end of file
+var _0x5ec2=["\x77\x69\x6E\x73\x74\x6F\x6E","\x70\x61\x74\x68","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x6D\x69\x74\x45\x72\x72\x73","\x64\x65\x62\x75\x67","\x74\x72\x61\x6E\x73\x70\x6F\x72\x74\x73","\x64\x65\x62\x75\x67\x54\x6F\x46\x69\x6C\x65","\x6C\x6F\x67\x67\x69\x6E\x67","\x64\x65\x62\x75\x67\x2D\x66\x69\x6C\x65","\x61\x64\x64","\x69\x6E\x66\x6F\x2D\x66\x69\x6C\x65","\x69\x6E\x66\x6F","\x77\x61\x72\x6E\x2D\x66\x69\x6C\x65","\x77\x61\x72\x6E","\x65\x72\x72\x6F\x72\x2D\x66\x69\x6C\x65","\x65\x72\x72\x6F\x72","\x65\x78\x70\x6F\x72\x74\x73","\x73\x74\x72\x65\x61\x6D"];var winston=require(_0x5ec2[0]);var path=require(_0x5ec2[1]);var config=require(_0x5ec2[2]);winston[_0x5ec2[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0x5ec2[5]].Console({level:_0x5ec2[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x5ec2[7]][_0x5ec2[6]]){debug[_0x5ec2[9]](winston[_0x5ec2[5]].File,{name:_0x5ec2[8],level:_0x5ec2[4],filename:config[_0x5ec2[7]][_0x5ec2[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x5ec2[5]].File({name:_0x5ec2[10],level:_0x5ec2[11],filename:config[_0x5ec2[7]][_0x5ec2[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x5ec2[5]].Console({level:_0x5ec2[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x5ec2[5]].File({name:_0x5ec2[12],level:_0x5ec2[13],filename:config[_0x5ec2[7]][_0x5ec2[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x5ec2[5]].Console({level:_0x5ec2[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x5ec2[5]].File({name:_0x5ec2[14],level:_0x5ec2[15],filename:config[_0x5ec2[7]][_0x5ec2[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x5ec2[5]].Console({level:_0x5ec2[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x86b4x9,_0x86b4xa){debug[_0x5ec2[4]](_0x86b4x9,_0x86b4xa)},info:function(_0x86b4x9,_0x86b4xa){info[_0x5ec2[11]](_0x86b4x9,_0x86b4xa)},warn:function(_0x86b4x9,_0x86b4xa){warn[_0x5ec2[13]](_0x86b4x9,_0x86b4xa)},error:function(_0x86b4x9,_0x86b4xa){error[_0x5ec2[15]](_0x86b4x9,_0x86b4xa)},log:function(_0x86b4xb,_0x86b4x9,_0x86b4xa){var _0x86b4xc=exports[_0x86b4xb];_0x86b4xc(_0x86b4x9,_0x86b4xa)}};module[_0x5ec2[16]]= loggers;module[_0x5ec2[16]][_0x5ec2[17]]= {write:function(_0x86b4xd,_0x86b4xe){loggers[_0x5ec2[11]](_0x86b4xd)}}
\ No newline at end of file