const _0x3db804=_0x4d37;function _0x496f(){const _0x5d39ed=['red','cyan','7hYKPxX','535960KvYStl','1619720oTbGxs','yellow','addColors','17247069eHDwUK','40321176lxeMIE','format','json','transports','5202552cHybvU','console','YYYY-M-DD','33zMHWaq','333505aeCNnL','green','winston-daily-rotate-file','colorize','printf','Console','10m','createLogger','879378lnpFWn','35bbihcR','combine','33jiIidj','../util/dateTime','4dxdPlI'];_0x496f=function(){return _0x5d39ed;};return _0x496f();}(function(_0x2d9945,_0x1fe878){const _0x36ecef=_0x4d37,_0x16f80a=_0x2d9945();while(!![]){try{const _0x37880a=parseInt(_0x36ecef(0x19c))/0x1*(-parseInt(_0x36ecef(0x1a9))/0x2)+parseInt(_0x36ecef(0x1a7))/0x3*(-parseInt(_0x36ecef(0x1ad))/0x4)+-parseInt(_0x36ecef(0x1a5))/0x5*(parseInt(_0x36ecef(0x1a4))/0x6)+-parseInt(_0x36ecef(0x1ac))/0x7*(parseInt(_0x36ecef(0x198))/0x8)+parseInt(_0x36ecef(0x1b1))/0x9+-parseInt(_0x36ecef(0x1ae))/0xa*(parseInt(_0x36ecef(0x19b))/0xb)+parseInt(_0x36ecef(0x1b2))/0xc;if(_0x37880a===_0x1fe878)break;else _0x16f80a['push'](_0x16f80a['shift']());}catch(_0x928479){_0x16f80a['push'](_0x16f80a['shift']());}}}(_0x496f,0xeda33));function _0x4d37(_0x2182db,_0x3b2f7b){const _0x496f0f=_0x496f();return _0x4d37=function(_0x4d3713,_0x553e96){_0x4d3713=_0x4d3713-0x196;let _0x5c18af=_0x496f0f[_0x4d3713];return _0x5c18af;},_0x4d37(_0x2182db,_0x3b2f7b);}const winston=require('winston'),dailyRotateFile=require(_0x3db804(0x19e)),appRoot=require('app-root-path'),dateTime=require(_0x3db804(0x1a8));winston[_0x3db804(0x1b0)]({'debug':_0x3db804(0x19d),'error':_0x3db804(0x1aa),'info':_0x3db804(0x1ab),'warn':_0x3db804(0x1af)});const logFormat=winston[_0x3db804(0x1b3)][_0x3db804(0x1a0)](({level:_0x147dc9,message:_0xeb113d})=>{const _0x49585f=dateTime['genDateTime']()['time'];return'['+_0x49585f+']\x20'+_0x147dc9+':\x20'+_0xeb113d;});let transports={'console':new winston[(_0x3db804(0x197))][(_0x3db804(0x1a1))]({'format':winston['format'][_0x3db804(0x1a6)](winston['format'][_0x3db804(0x19f)](),logFormat)}),'file':new dailyRotateFile({'dirname':appRoot+'/logs','filename':'server-status-%DATE%.log','datePattern':_0x3db804(0x19a),'maxSize':_0x3db804(0x1a2),'maxFiles':0xa,'format':logFormat})},logger=winston[_0x3db804(0x1a3)]({'level':'silly','format':winston['format'][_0x3db804(0x196)]({'space':0x1}),'transports':[transports['file'],transports[_0x3db804(0x199)]]});module['exports']=logger;