Built motion from commit 65070aa.|0.0.108
[motion.git] / server / config / logger.js
index 7e198b8..c7c5d43 100644 (file)
@@ -1 +1 @@
-var _0xe8e6=["\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(_0xe8e6[0]);var path=require(_0xe8e6[1]);var config=require(_0xe8e6[2]);winston[_0xe8e6[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xe8e6[5]].Console({level:_0xe8e6[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xe8e6[7]][_0xe8e6[6]]){debug[_0xe8e6[9]](winston[_0xe8e6[5]].File,{name:_0xe8e6[8],level:_0xe8e6[4],filename:config[_0xe8e6[7]][_0xe8e6[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xe8e6[5]].File({name:_0xe8e6[10],level:_0xe8e6[11],filename:config[_0xe8e6[7]][_0xe8e6[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe8e6[5]].Console({level:_0xe8e6[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xe8e6[5]].File({name:_0xe8e6[12],level:_0xe8e6[13],filename:config[_0xe8e6[7]][_0xe8e6[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe8e6[5]].Console({level:_0xe8e6[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xe8e6[5]].File({name:_0xe8e6[14],level:_0xe8e6[15],filename:config[_0xe8e6[7]][_0xe8e6[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe8e6[5]].Console({level:_0xe8e6[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xb729x9,_0xb729xa){debug[_0xe8e6[4]](_0xb729x9,_0xb729xa)},info:function(_0xb729x9,_0xb729xa){info[_0xe8e6[11]](_0xb729x9,_0xb729xa)},warn:function(_0xb729x9,_0xb729xa){warn[_0xe8e6[13]](_0xb729x9,_0xb729xa)},error:function(_0xb729x9,_0xb729xa){error[_0xe8e6[15]](_0xb729x9,_0xb729xa)},log:function(_0xb729xb,_0xb729x9,_0xb729xa){var _0xb729xc=exports[_0xb729xb];_0xb729xc(_0xb729x9,_0xb729xa);}};module[_0xe8e6[16]]=loggers;module[_0xe8e6[16]][_0xe8e6[17]]={write:function(_0xb729xd,_0xb729xe){loggers[_0xe8e6[11]](_0xb729xd)}};
\ No newline at end of file
+var _0x852c=["\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(_0x852c[0]);var path=require(_0x852c[1]);var config=require(_0x852c[2]);winston[_0x852c[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0x852c[5]].Console({level:_0x852c[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x852c[7]][_0x852c[6]]){debug[_0x852c[9]](winston[_0x852c[5]].File,{name:_0x852c[8],level:_0x852c[4],filename:config[_0x852c[7]][_0x852c[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x852c[5]].File({name:_0x852c[10],level:_0x852c[11],filename:config[_0x852c[7]][_0x852c[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x852c[5]].Console({level:_0x852c[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x852c[5]].File({name:_0x852c[12],level:_0x852c[13],filename:config[_0x852c[7]][_0x852c[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x852c[5]].Console({level:_0x852c[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x852c[5]].File({name:_0x852c[14],level:_0x852c[15],filename:config[_0x852c[7]][_0x852c[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x852c[5]].Console({level:_0x852c[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xb2e9x9,_0xb2e9xa){debug[_0x852c[4]](_0xb2e9x9,_0xb2e9xa)},info:function(_0xb2e9x9,_0xb2e9xa){info[_0x852c[11]](_0xb2e9x9,_0xb2e9xa)},warn:function(_0xb2e9x9,_0xb2e9xa){warn[_0x852c[13]](_0xb2e9x9,_0xb2e9xa)},error:function(_0xb2e9x9,_0xb2e9xa){error[_0x852c[15]](_0xb2e9x9,_0xb2e9xa)},log:function(_0xb2e9xb,_0xb2e9x9,_0xb2e9xa){var _0xb2e9xc=exports[_0xb2e9xb];_0xb2e9xc(_0xb2e9x9,_0xb2e9xa)}};module[_0x852c[16]]=loggers;module[_0x852c[16]][_0x852c[17]]={write:function(_0xb2e9xd,_0xb2e9xe){loggers[_0x852c[11]](_0xb2e9xd)}}
\ No newline at end of file