Built motion from commit ab2cbc7.|0.0.98
[motion.git] / server / config / logger.js
index 522925c..b9ad98f 100644 (file)
@@ -1 +1 @@
-var _0xe2d1=["\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(_0xe2d1[0]);var path=require(_0xe2d1[1]);var config=require(_0xe2d1[2]);winston[_0xe2d1[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xe2d1[5]].Console({level:_0xe2d1[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xe2d1[7]][_0xe2d1[6]]){debug[_0xe2d1[9]](winston[_0xe2d1[5]].File,{name:_0xe2d1[8],level:_0xe2d1[4],filename:config[_0xe2d1[7]][_0xe2d1[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xe2d1[5]].File({name:_0xe2d1[10],level:_0xe2d1[11],filename:config[_0xe2d1[7]][_0xe2d1[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe2d1[5]].Console({level:_0xe2d1[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xe2d1[5]].File({name:_0xe2d1[12],level:_0xe2d1[13],filename:config[_0xe2d1[7]][_0xe2d1[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe2d1[5]].Console({level:_0xe2d1[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xe2d1[5]].File({name:_0xe2d1[14],level:_0xe2d1[15],filename:config[_0xe2d1[7]][_0xe2d1[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe2d1[5]].Console({level:_0xe2d1[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xdb6ax9,_0xdb6axa){debug[_0xe2d1[4]](_0xdb6ax9,_0xdb6axa)},info:function(_0xdb6ax9,_0xdb6axa){info[_0xe2d1[11]](_0xdb6ax9,_0xdb6axa)},warn:function(_0xdb6ax9,_0xdb6axa){warn[_0xe2d1[13]](_0xdb6ax9,_0xdb6axa)},error:function(_0xdb6ax9,_0xdb6axa){error[_0xe2d1[15]](_0xdb6ax9,_0xdb6axa)},log:function(_0xdb6axb,_0xdb6ax9,_0xdb6axa){var _0xdb6axc=exports[_0xdb6axb];_0xdb6axc(_0xdb6ax9,_0xdb6axa)}};module[_0xe2d1[16]]=loggers;module[_0xe2d1[16]][_0xe2d1[17]]={write:function(_0xdb6axd,_0xdb6axe){loggers[_0xe2d1[11]](_0xdb6axd)}}
\ No newline at end of file
+var _0x662e=["\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(_0x662e[0]);var path=require(_0x662e[1]);var config=require(_0x662e[2]);winston[_0x662e[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0x662e[5]].Console({level:_0x662e[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x662e[7]][_0x662e[6]]){debug[_0x662e[9]](winston[_0x662e[5]].File,{name:_0x662e[8],level:_0x662e[4],filename:config[_0x662e[7]][_0x662e[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x662e[5]].File({name:_0x662e[10],level:_0x662e[11],filename:config[_0x662e[7]][_0x662e[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x662e[5]].Console({level:_0x662e[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x662e[5]].File({name:_0x662e[12],level:_0x662e[13],filename:config[_0x662e[7]][_0x662e[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x662e[5]].Console({level:_0x662e[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x662e[5]].File({name:_0x662e[14],level:_0x662e[15],filename:config[_0x662e[7]][_0x662e[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x662e[5]].Console({level:_0x662e[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xa32bx9,_0xa32bxa){debug[_0x662e[4]](_0xa32bx9,_0xa32bxa)},info:function(_0xa32bx9,_0xa32bxa){info[_0x662e[11]](_0xa32bx9,_0xa32bxa)},warn:function(_0xa32bx9,_0xa32bxa){warn[_0x662e[13]](_0xa32bx9,_0xa32bxa)},error:function(_0xa32bx9,_0xa32bxa){error[_0x662e[15]](_0xa32bx9,_0xa32bxa)},log:function(_0xa32bxb,_0xa32bx9,_0xa32bxa){var _0xa32bxc=exports[_0xa32bxb];_0xa32bxc(_0xa32bx9,_0xa32bxa)}};module[_0x662e[16]]=loggers;module[_0x662e[16]][_0x662e[17]]={write:function(_0xa32bxd,_0xa32bxe){loggers[_0x662e[11]](_0xa32bxd)}}
\ No newline at end of file