Built motion from commit dec9cf4.|0.0.134
[motion.git] / server / config / logger.js
index e2b5df5..c03665a 100644 (file)
@@ -1 +1 @@
-var _0xb14f=["\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(_0xb14f[0]);var path=require(_0xb14f[1]);var config=require(_0xb14f[2]);winston[_0xb14f[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xb14f[5]].Console({level:_0xb14f[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xb14f[7]][_0xb14f[6]]){debug[_0xb14f[9]](winston[_0xb14f[5]].File,{name:_0xb14f[8],level:_0xb14f[4],filename:config[_0xb14f[7]][_0xb14f[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xb14f[5]].File({name:_0xb14f[10],level:_0xb14f[11],filename:config[_0xb14f[7]][_0xb14f[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xb14f[5]].Console({level:_0xb14f[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xb14f[5]].File({name:_0xb14f[12],level:_0xb14f[13],filename:config[_0xb14f[7]][_0xb14f[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xb14f[5]].Console({level:_0xb14f[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xb14f[5]].File({name:_0xb14f[14],level:_0xb14f[15],filename:config[_0xb14f[7]][_0xb14f[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xb14f[5]].Console({level:_0xb14f[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x1cdfx9,_0x1cdfxa){debug[_0xb14f[4]](_0x1cdfx9,_0x1cdfxa)},info:function(_0x1cdfx9,_0x1cdfxa){info[_0xb14f[11]](_0x1cdfx9,_0x1cdfxa)},warn:function(_0x1cdfx9,_0x1cdfxa){warn[_0xb14f[13]](_0x1cdfx9,_0x1cdfxa)},error:function(_0x1cdfx9,_0x1cdfxa){error[_0xb14f[15]](_0x1cdfx9,_0x1cdfxa)},log:function(_0x1cdfxb,_0x1cdfx9,_0x1cdfxa){var _0x1cdfxc=exports[_0x1cdfxb];_0x1cdfxc(_0x1cdfx9,_0x1cdfxa)}};module[_0xb14f[16]]=loggers;module[_0xb14f[16]][_0xb14f[17]]={write:function(_0x1cdfxd,_0x1cdfxe){loggers[_0xb14f[11]](_0x1cdfxd)}}
\ No newline at end of file
+var _0x1746=["\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(_0x1746[0]);var path=require(_0x1746[1]);var config=require(_0x1746[2]);winston[_0x1746[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0x1746[5]].Console({level:_0x1746[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x1746[7]][_0x1746[6]]){debug[_0x1746[9]](winston[_0x1746[5]].File,{name:_0x1746[8],level:_0x1746[4],filename:config[_0x1746[7]][_0x1746[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x1746[5]].File({name:_0x1746[10],level:_0x1746[11],filename:config[_0x1746[7]][_0x1746[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x1746[5]].Console({level:_0x1746[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x1746[5]].File({name:_0x1746[12],level:_0x1746[13],filename:config[_0x1746[7]][_0x1746[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x1746[5]].Console({level:_0x1746[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x1746[5]].File({name:_0x1746[14],level:_0x1746[15],filename:config[_0x1746[7]][_0x1746[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x1746[5]].Console({level:_0x1746[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xa05fx9,_0xa05fxa){debug[_0x1746[4]](_0xa05fx9,_0xa05fxa)},info:function(_0xa05fx9,_0xa05fxa){info[_0x1746[11]](_0xa05fx9,_0xa05fxa)},warn:function(_0xa05fx9,_0xa05fxa){warn[_0x1746[13]](_0xa05fx9,_0xa05fxa)},error:function(_0xa05fx9,_0xa05fxa){error[_0x1746[15]](_0xa05fx9,_0xa05fxa)},log:function(_0xa05fxb,_0xa05fx9,_0xa05fxa){var _0xa05fxc=exports[_0xa05fxb];_0xa05fxc(_0xa05fx9,_0xa05fxa)}};module[_0x1746[16]]= loggers;module[_0x1746[16]][_0x1746[17]]= {write:function(_0xa05fxd,_0xa05fxe){loggers[_0x1746[11]](_0xa05fxd)}}
\ No newline at end of file