Built motion from commit 3594e56.|0.0.120
[motion.git] / server / config / logger.js
index 9e79c32..cb4fb31 100644 (file)
@@ -1 +1 @@
-var _0x536e=["\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(_0x536e[0]);var path=require(_0x536e[1]);var config=require(_0x536e[2]);winston[_0x536e[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0x536e[5]].Console({level:_0x536e[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x536e[7]][_0x536e[6]]){debug[_0x536e[9]](winston[_0x536e[5]].File,{name:_0x536e[8],level:_0x536e[4],filename:config[_0x536e[7]][_0x536e[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x536e[5]].File({name:_0x536e[10],level:_0x536e[11],filename:config[_0x536e[7]][_0x536e[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x536e[5]].Console({level:_0x536e[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x536e[5]].File({name:_0x536e[12],level:_0x536e[13],filename:config[_0x536e[7]][_0x536e[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x536e[5]].Console({level:_0x536e[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x536e[5]].File({name:_0x536e[14],level:_0x536e[15],filename:config[_0x536e[7]][_0x536e[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x536e[5]].Console({level:_0x536e[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xb0b0x9,_0xb0b0xa){debug[_0x536e[4]](_0xb0b0x9,_0xb0b0xa)},info:function(_0xb0b0x9,_0xb0b0xa){info[_0x536e[11]](_0xb0b0x9,_0xb0b0xa)},warn:function(_0xb0b0x9,_0xb0b0xa){warn[_0x536e[13]](_0xb0b0x9,_0xb0b0xa)},error:function(_0xb0b0x9,_0xb0b0xa){error[_0x536e[15]](_0xb0b0x9,_0xb0b0xa)},log:function(_0xb0b0xb,_0xb0b0x9,_0xb0b0xa){var _0xb0b0xc=exports[_0xb0b0xb];_0xb0b0xc(_0xb0b0x9,_0xb0b0xa)}};module[_0x536e[16]]= loggers;module[_0x536e[16]][_0x536e[17]]= {write:function(_0xb0b0xd,_0xb0b0xe){loggers[_0x536e[11]](_0xb0b0xd)}}
\ No newline at end of file
+var _0xd2b2=["\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(_0xd2b2[0]);var path=require(_0xd2b2[1]);var config=require(_0xd2b2[2]);winston[_0xd2b2[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0xd2b2[5]].Console({level:_0xd2b2[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xd2b2[7]][_0xd2b2[6]]){debug[_0xd2b2[9]](winston[_0xd2b2[5]].File,{name:_0xd2b2[8],level:_0xd2b2[4],filename:config[_0xd2b2[7]][_0xd2b2[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xd2b2[5]].File({name:_0xd2b2[10],level:_0xd2b2[11],filename:config[_0xd2b2[7]][_0xd2b2[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xd2b2[5]].Console({level:_0xd2b2[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xd2b2[5]].File({name:_0xd2b2[12],level:_0xd2b2[13],filename:config[_0xd2b2[7]][_0xd2b2[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xd2b2[5]].Console({level:_0xd2b2[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xd2b2[5]].File({name:_0xd2b2[14],level:_0xd2b2[15],filename:config[_0xd2b2[7]][_0xd2b2[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xd2b2[5]].Console({level:_0xd2b2[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x6a2dx9,_0x6a2dxa){debug[_0xd2b2[4]](_0x6a2dx9,_0x6a2dxa)},info:function(_0x6a2dx9,_0x6a2dxa){info[_0xd2b2[11]](_0x6a2dx9,_0x6a2dxa)},warn:function(_0x6a2dx9,_0x6a2dxa){warn[_0xd2b2[13]](_0x6a2dx9,_0x6a2dxa)},error:function(_0x6a2dx9,_0x6a2dxa){error[_0xd2b2[15]](_0x6a2dx9,_0x6a2dxa)},log:function(_0x6a2dxb,_0x6a2dx9,_0x6a2dxa){var _0x6a2dxc=exports[_0x6a2dxb];_0x6a2dxc(_0x6a2dx9,_0x6a2dxa)}};module[_0xd2b2[16]]= loggers;module[_0xd2b2[16]][_0xd2b2[17]]= {write:function(_0x6a2dxd,_0x6a2dxe){loggers[_0xd2b2[11]](_0x6a2dxd)}}
\ No newline at end of file