fix(Logger) mapped methods

This commit is contained in:
gh0sTedBuddy
2024-03-27 16:54:17 +00:00
parent 84b26d04b7
commit b6503f1831

View File

@@ -7,7 +7,7 @@ function Logger (data, type = 'debug') {
} }
for(const k of LOGGING_TYPES) { for(const k of LOGGING_TYPES) {
Logger.prototype[k] = function() { Logger[k] = function() {
Logger(arguments, k); Logger(arguments, k);
} }
} }