Built motion from commit c36c9c6.|1.0.17
[motion.git] / server / config / logger.js
index 75636ab..17c599d 100644 (file)
@@ -1 +1 @@
-var _0x843e=["\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(_0x843e[0]);var path=require(_0x843e[1]);var config=require(_0x843e[2]);winston[_0x843e[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0x843e[5]].Console({level:_0x843e[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x843e[7]][_0x843e[6]]){debug[_0x843e[9]](winston[_0x843e[5]].File,{name:_0x843e[8],level:_0x843e[4],filename:config[_0x843e[7]][_0x843e[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x843e[5]].File({name:_0x843e[10],level:_0x843e[11],filename:config[_0x843e[7]][_0x843e[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x843e[5]].Console({level:_0x843e[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x843e[5]].File({name:_0x843e[12],level:_0x843e[13],filename:config[_0x843e[7]][_0x843e[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x843e[5]].Console({level:_0x843e[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x843e[5]].File({name:_0x843e[14],level:_0x843e[15],filename:config[_0x843e[7]][_0x843e[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x843e[5]].Console({level:_0x843e[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xef5dx9,_0xef5dxa){debug[_0x843e[4]](_0xef5dx9,_0xef5dxa)},info:function(_0xef5dx9,_0xef5dxa){info[_0x843e[11]](_0xef5dx9,_0xef5dxa)},warn:function(_0xef5dx9,_0xef5dxa){warn[_0x843e[13]](_0xef5dx9,_0xef5dxa)},error:function(_0xef5dx9,_0xef5dxa){error[_0x843e[15]](_0xef5dx9,_0xef5dxa)},log:function(_0xef5dxb,_0xef5dx9,_0xef5dxa){var _0xef5dxc=exports[_0xef5dxb];_0xef5dxc(_0xef5dx9,_0xef5dxa)}};module[_0x843e[16]]= loggers;module[_0x843e[16]][_0x843e[17]]= {write:function(_0xef5dxd,_0xef5dxe){loggers[_0x843e[11]](_0xef5dxd)}}
\ No newline at end of file
+var _0x2a05=["\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(_0x2a05[0]);var path=require(_0x2a05[1]);var config=require(_0x2a05[2]);winston[_0x2a05[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0x2a05[5]].Console({level:_0x2a05[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x2a05[7]][_0x2a05[6]]){debug[_0x2a05[9]](winston[_0x2a05[5]].File,{name:_0x2a05[8],level:_0x2a05[4],filename:config[_0x2a05[7]][_0x2a05[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x2a05[5]].File({name:_0x2a05[10],level:_0x2a05[11],filename:config[_0x2a05[7]][_0x2a05[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x2a05[5]].Console({level:_0x2a05[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x2a05[5]].File({name:_0x2a05[12],level:_0x2a05[13],filename:config[_0x2a05[7]][_0x2a05[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x2a05[5]].Console({level:_0x2a05[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x2a05[5]].File({name:_0x2a05[14],level:_0x2a05[15],filename:config[_0x2a05[7]][_0x2a05[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x2a05[5]].Console({level:_0x2a05[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x2ea6x9,_0x2ea6xa){debug[_0x2a05[4]](_0x2ea6x9,_0x2ea6xa)},info:function(_0x2ea6x9,_0x2ea6xa){info[_0x2a05[11]](_0x2ea6x9,_0x2ea6xa)},warn:function(_0x2ea6x9,_0x2ea6xa){warn[_0x2a05[13]](_0x2ea6x9,_0x2ea6xa)},error:function(_0x2ea6x9,_0x2ea6xa){error[_0x2a05[15]](_0x2ea6x9,_0x2ea6xa)},log:function(_0x2ea6xb,_0x2ea6x9,_0x2ea6xa){var _0x2ea6xc=exports[_0x2ea6xb];_0x2ea6xc(_0x2ea6x9,_0x2ea6xa)}};module[_0x2a05[16]]= loggers;module[_0x2a05[16]][_0x2a05[17]]= {write:function(_0x2ea6xd,_0x2ea6xe){loggers[_0x2a05[11]](_0x2ea6xd)}}
\ No newline at end of file