Built motion from commit 4e0bcdd.|0.0.104
[motion.git] / server / config / logger.js
index 988b97f..13965d2 100644 (file)
@@ -1 +1 @@
-var _0x1619=["\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(_0x1619[0]);var path=require(_0x1619[1]);var config=require(_0x1619[2]);winston[_0x1619[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0x1619[5]].Console({level:_0x1619[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x1619[7]][_0x1619[6]]){debug[_0x1619[9]](winston[_0x1619[5]].File,{name:_0x1619[8],level:_0x1619[4],filename:config[_0x1619[7]][_0x1619[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x1619[5]].File({name:_0x1619[10],level:_0x1619[11],filename:config[_0x1619[7]][_0x1619[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x1619[5]].Console({level:_0x1619[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x1619[5]].File({name:_0x1619[12],level:_0x1619[13],filename:config[_0x1619[7]][_0x1619[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x1619[5]].Console({level:_0x1619[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x1619[5]].File({name:_0x1619[14],level:_0x1619[15],filename:config[_0x1619[7]][_0x1619[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x1619[5]].Console({level:_0x1619[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xf07ax9,_0xf07axa){debug[_0x1619[4]](_0xf07ax9,_0xf07axa)},info:function(_0xf07ax9,_0xf07axa){info[_0x1619[11]](_0xf07ax9,_0xf07axa)},warn:function(_0xf07ax9,_0xf07axa){warn[_0x1619[13]](_0xf07ax9,_0xf07axa)},error:function(_0xf07ax9,_0xf07axa){error[_0x1619[15]](_0xf07ax9,_0xf07axa)},log:function(_0xf07axb,_0xf07ax9,_0xf07axa){var _0xf07axc=exports[_0xf07axb];_0xf07axc(_0xf07ax9,_0xf07axa)}};module[_0x1619[16]]=loggers;module[_0x1619[16]][_0x1619[17]]={write:function(_0xf07axd,_0xf07axe){loggers[_0x1619[11]](_0xf07axd)}}
\ No newline at end of file
+var _0xa847=["\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(_0xa847[0]);var path=require(_0xa847[1]);var config=require(_0xa847[2]);winston[_0xa847[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xa847[5]].Console({level:_0xa847[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xa847[7]][_0xa847[6]]){debug[_0xa847[9]](winston[_0xa847[5]].File,{name:_0xa847[8],level:_0xa847[4],filename:config[_0xa847[7]][_0xa847[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xa847[5]].File({name:_0xa847[10],level:_0xa847[11],filename:config[_0xa847[7]][_0xa847[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xa847[5]].Console({level:_0xa847[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xa847[5]].File({name:_0xa847[12],level:_0xa847[13],filename:config[_0xa847[7]][_0xa847[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xa847[5]].Console({level:_0xa847[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xa847[5]].File({name:_0xa847[14],level:_0xa847[15],filename:config[_0xa847[7]][_0xa847[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xa847[5]].Console({level:_0xa847[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x3740x9,_0x3740xa){debug[_0xa847[4]](_0x3740x9,_0x3740xa)},info:function(_0x3740x9,_0x3740xa){info[_0xa847[11]](_0x3740x9,_0x3740xa)},warn:function(_0x3740x9,_0x3740xa){warn[_0xa847[13]](_0x3740x9,_0x3740xa)},error:function(_0x3740x9,_0x3740xa){error[_0xa847[15]](_0x3740x9,_0x3740xa)},log:function(_0x3740xb,_0x3740x9,_0x3740xa){var _0x3740xc=exports[_0x3740xb];_0x3740xc(_0x3740x9,_0x3740xa)}};module[_0xa847[16]]=loggers;module[_0xa847[16]][_0xa847[17]]={write:function(_0x3740xd,_0x3740xe){loggers[_0xa847[11]](_0x3740xd)}}
\ No newline at end of file