Built motion from commit 5b01f56.|0.0.106
[motion.git] / server / config / logger.js
index 90fe182..ed66cdd 100644 (file)
@@ -1 +1 @@
-var _0xee89=["\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(_0xee89[0]);var path=require(_0xee89[1]);var config=require(_0xee89[2]);winston[_0xee89[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xee89[5]].Console({level:_0xee89[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xee89[7]][_0xee89[6]]){debug[_0xee89[9]](winston[_0xee89[5]].File,{name:_0xee89[8],level:_0xee89[4],filename:config[_0xee89[7]][_0xee89[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xee89[5]].File({name:_0xee89[10],level:_0xee89[11],filename:config[_0xee89[7]][_0xee89[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xee89[5]].Console({level:_0xee89[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xee89[5]].File({name:_0xee89[12],level:_0xee89[13],filename:config[_0xee89[7]][_0xee89[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xee89[5]].Console({level:_0xee89[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xee89[5]].File({name:_0xee89[14],level:_0xee89[15],filename:config[_0xee89[7]][_0xee89[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xee89[5]].Console({level:_0xee89[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xf65cx9,_0xf65cxa){debug[_0xee89[4]](_0xf65cx9,_0xf65cxa)},info:function(_0xf65cx9,_0xf65cxa){info[_0xee89[11]](_0xf65cx9,_0xf65cxa)},warn:function(_0xf65cx9,_0xf65cxa){warn[_0xee89[13]](_0xf65cx9,_0xf65cxa)},error:function(_0xf65cx9,_0xf65cxa){error[_0xee89[15]](_0xf65cx9,_0xf65cxa)},log:function(_0xf65cxb,_0xf65cx9,_0xf65cxa){var _0xf65cxc=exports[_0xf65cxb];_0xf65cxc(_0xf65cx9,_0xf65cxa)}};module[_0xee89[16]]=loggers;module[_0xee89[16]][_0xee89[17]]={write:function(_0xf65cxd,_0xf65cxe){loggers[_0xee89[11]](_0xf65cxd)}}
\ No newline at end of file
+var _0xe257=["\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(_0xe257[0]);var path=require(_0xe257[1]);var config=require(_0xe257[2]);winston[_0xe257[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xe257[5]].Console({level:_0xe257[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xe257[7]][_0xe257[6]]){debug[_0xe257[9]](winston[_0xe257[5]].File,{name:_0xe257[8],level:_0xe257[4],filename:config[_0xe257[7]][_0xe257[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xe257[5]].File({name:_0xe257[10],level:_0xe257[11],filename:config[_0xe257[7]][_0xe257[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe257[5]].Console({level:_0xe257[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xe257[5]].File({name:_0xe257[12],level:_0xe257[13],filename:config[_0xe257[7]][_0xe257[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe257[5]].Console({level:_0xe257[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xe257[5]].File({name:_0xe257[14],level:_0xe257[15],filename:config[_0xe257[7]][_0xe257[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe257[5]].Console({level:_0xe257[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x8980x9,_0x8980xa){debug[_0xe257[4]](_0x8980x9,_0x8980xa)},info:function(_0x8980x9,_0x8980xa){info[_0xe257[11]](_0x8980x9,_0x8980xa)},warn:function(_0x8980x9,_0x8980xa){warn[_0xe257[13]](_0x8980x9,_0x8980xa)},error:function(_0x8980x9,_0x8980xa){error[_0xe257[15]](_0x8980x9,_0x8980xa)},log:function(_0x8980xb,_0x8980x9,_0x8980xa){var _0x8980xc=exports[_0x8980xb];_0x8980xc(_0x8980x9,_0x8980xa)}};module[_0xe257[16]]=loggers;module[_0xe257[16]][_0xe257[17]]={write:function(_0x8980xd,_0x8980xe){loggers[_0xe257[11]](_0x8980xd)}}
\ No newline at end of file