Built motion from commit c56b56e.|0.0.125
[motion.git] / server / config / logger.js
index c2301b3..efe701b 100644 (file)
@@ -1 +1 @@
-var _0x6a8a=["\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(_0x6a8a[0]);var path=require(_0x6a8a[1]);var config=require(_0x6a8a[2]);winston[_0x6a8a[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0x6a8a[5]].Console({level:_0x6a8a[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x6a8a[7]][_0x6a8a[6]]){debug[_0x6a8a[9]](winston[_0x6a8a[5]].File,{name:_0x6a8a[8],level:_0x6a8a[4],filename:config[_0x6a8a[7]][_0x6a8a[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x6a8a[5]].File({name:_0x6a8a[10],level:_0x6a8a[11],filename:config[_0x6a8a[7]][_0x6a8a[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x6a8a[5]].Console({level:_0x6a8a[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x6a8a[5]].File({name:_0x6a8a[12],level:_0x6a8a[13],filename:config[_0x6a8a[7]][_0x6a8a[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x6a8a[5]].Console({level:_0x6a8a[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x6a8a[5]].File({name:_0x6a8a[14],level:_0x6a8a[15],filename:config[_0x6a8a[7]][_0x6a8a[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x6a8a[5]].Console({level:_0x6a8a[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xfc8bx9,_0xfc8bxa){debug[_0x6a8a[4]](_0xfc8bx9,_0xfc8bxa)},info:function(_0xfc8bx9,_0xfc8bxa){info[_0x6a8a[11]](_0xfc8bx9,_0xfc8bxa)},warn:function(_0xfc8bx9,_0xfc8bxa){warn[_0x6a8a[13]](_0xfc8bx9,_0xfc8bxa)},error:function(_0xfc8bx9,_0xfc8bxa){error[_0x6a8a[15]](_0xfc8bx9,_0xfc8bxa)},log:function(_0xfc8bxb,_0xfc8bx9,_0xfc8bxa){var _0xfc8bxc=exports[_0xfc8bxb];_0xfc8bxc(_0xfc8bx9,_0xfc8bxa)}};module[_0x6a8a[16]]= loggers;module[_0x6a8a[16]][_0x6a8a[17]]= {write:function(_0xfc8bxd,_0xfc8bxe){loggers[_0x6a8a[11]](_0xfc8bxd)}}
\ No newline at end of file
+var _0x79bf=["\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(_0x79bf[0]);var path=require(_0x79bf[1]);var config=require(_0x79bf[2]);winston[_0x79bf[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0x79bf[5]].Console({level:_0x79bf[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x79bf[7]][_0x79bf[6]]){debug[_0x79bf[9]](winston[_0x79bf[5]].File,{name:_0x79bf[8],level:_0x79bf[4],filename:config[_0x79bf[7]][_0x79bf[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x79bf[5]].File({name:_0x79bf[10],level:_0x79bf[11],filename:config[_0x79bf[7]][_0x79bf[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x79bf[5]].Console({level:_0x79bf[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x79bf[5]].File({name:_0x79bf[12],level:_0x79bf[13],filename:config[_0x79bf[7]][_0x79bf[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x79bf[5]].Console({level:_0x79bf[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x79bf[5]].File({name:_0x79bf[14],level:_0x79bf[15],filename:config[_0x79bf[7]][_0x79bf[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x79bf[5]].Console({level:_0x79bf[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xbc0fx9,_0xbc0fxa){debug[_0x79bf[4]](_0xbc0fx9,_0xbc0fxa)},info:function(_0xbc0fx9,_0xbc0fxa){info[_0x79bf[11]](_0xbc0fx9,_0xbc0fxa)},warn:function(_0xbc0fx9,_0xbc0fxa){warn[_0x79bf[13]](_0xbc0fx9,_0xbc0fxa)},error:function(_0xbc0fx9,_0xbc0fxa){error[_0x79bf[15]](_0xbc0fx9,_0xbc0fxa)},log:function(_0xbc0fxb,_0xbc0fx9,_0xbc0fxa){var _0xbc0fxc=exports[_0xbc0fxb];_0xbc0fxc(_0xbc0fx9,_0xbc0fxa)}};module[_0x79bf[16]]= loggers;module[_0x79bf[16]][_0x79bf[17]]= {write:function(_0xbc0fxd,_0xbc0fxe){loggers[_0x79bf[11]](_0xbc0fxd)}}
\ No newline at end of file