Files
2023-06-20 10:33:32 +08:00

1 line
656 B
JavaScript

!function(o,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=o.document?t(o,!0):function(o){if(!o.document)throw new Error("Logger requires a window with a document");return t(o)}:t(o)}("undefined"!=typeof window?window:this,(function(o,t){function e(o){this.module=o}return e.prototype.log=function(o){},e.prototype.logError=function(o){},e.prototype.logInfo=function(o){},e.prototype.logDebug=function(o){},e.prototype.currentTimeStr=function(){var o=new Date(Date.now());return o.getFullYear()+"-"+(o.getMonth()+1)+"-"+o.getDate()+" "+o.getHours()+":"+o.getMinutes()+":"+o.getSeconds()+":"+o.getMilliseconds()},o.Logger=e,e}));