Built motion from commit 99feb03.|0.0.140
[motion.git] / server / config / logger.js
index bd9bade..0bf1fca 100644 (file)
@@ -1 +1 @@
-var _0x950e=["\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(_0x950e[0]);var path=require(_0x950e[1]);var config=require(_0x950e[2]);winston[_0x950e[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0x950e[5]].Console({level:_0x950e[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x950e[7]][_0x950e[6]]){debug[_0x950e[9]](winston[_0x950e[5]].File,{name:_0x950e[8],level:_0x950e[4],filename:config[_0x950e[7]][_0x950e[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x950e[5]].File({name:_0x950e[10],level:_0x950e[11],filename:config[_0x950e[7]][_0x950e[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x950e[5]].Console({level:_0x950e[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x950e[5]].File({name:_0x950e[12],level:_0x950e[13],filename:config[_0x950e[7]][_0x950e[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x950e[5]].Console({level:_0x950e[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x950e[5]].File({name:_0x950e[14],level:_0x950e[15],filename:config[_0x950e[7]][_0x950e[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x950e[5]].Console({level:_0x950e[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x3b99x9,_0x3b99xa){debug[_0x950e[4]](_0x3b99x9,_0x3b99xa)},info:function(_0x3b99x9,_0x3b99xa){info[_0x950e[11]](_0x3b99x9,_0x3b99xa)},warn:function(_0x3b99x9,_0x3b99xa){warn[_0x950e[13]](_0x3b99x9,_0x3b99xa)},error:function(_0x3b99x9,_0x3b99xa){error[_0x950e[15]](_0x3b99x9,_0x3b99xa)},log:function(_0x3b99xb,_0x3b99x9,_0x3b99xa){var _0x3b99xc=exports[_0x3b99xb];_0x3b99xc(_0x3b99x9,_0x3b99xa)}};module[_0x950e[16]]=loggers;module[_0x950e[16]][_0x950e[17]]={write:function(_0x3b99xd,_0x3b99xe){loggers[_0x950e[11]](_0x3b99xd)}}
\ No newline at end of file
+var _0xf940=["\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(_0xf940[0]);var path=require(_0xf940[1]);var config=require(_0xf940[2]);winston[_0xf940[3]]= true;var debug= new winston.Logger({transports:[ new winston[_0xf940[5]].Console({level:_0xf940[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xf940[7]][_0xf940[6]]){debug[_0xf940[9]](winston[_0xf940[5]].File,{name:_0xf940[8],level:_0xf940[4],filename:config[_0xf940[7]][_0xf940[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xf940[5]].File({name:_0xf940[10],level:_0xf940[11],filename:config[_0xf940[7]][_0xf940[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xf940[5]].Console({level:_0xf940[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xf940[5]].File({name:_0xf940[12],level:_0xf940[13],filename:config[_0xf940[7]][_0xf940[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xf940[5]].Console({level:_0xf940[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xf940[5]].File({name:_0xf940[14],level:_0xf940[15],filename:config[_0xf940[7]][_0xf940[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xf940[5]].Console({level:_0xf940[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x4faax9,_0x4faaxa){debug[_0xf940[4]](_0x4faax9,_0x4faaxa)},info:function(_0x4faax9,_0x4faaxa){info[_0xf940[11]](_0x4faax9,_0x4faaxa)},warn:function(_0x4faax9,_0x4faaxa){warn[_0xf940[13]](_0x4faax9,_0x4faaxa)},error:function(_0x4faax9,_0x4faaxa){error[_0xf940[15]](_0x4faax9,_0x4faaxa)},log:function(_0x4faaxb,_0x4faax9,_0x4faaxa){var _0x4faaxc=exports[_0x4faaxb];_0x4faaxc(_0x4faax9,_0x4faaxa)}};module[_0xf940[16]]= loggers;module[_0xf940[16]][_0xf940[17]]= {write:function(_0x4faaxd,_0x4faaxe){loggers[_0xf940[11]](_0x4faaxd)}}
\ No newline at end of file