0.24.0.dev-rc2

This commit is contained in:
vorotamoroz
2024-10-17 09:57:42 +01:00
parent 89e23b1bf4
commit 095a3d20fb
13 changed files with 140 additions and 196 deletions

View File

@@ -131,7 +131,7 @@ export function injectModules<T extends ICoreModule>(target: T, modules: ICoreMo
export abstract class AbstractModule {
_log = (msg: any, level: LOG_LEVEL = LOG_LEVEL_INFO, key?: string) => {
if (typeof msg === "string" && level !== LOG_LEVEL_NOTICE) {
msg = `[${this.constructor.name}] ${msg}`;
msg = `[${this.constructor.name}]\u{200A} ${msg}`;
}
// console.log(msg);
Logger(msg, level, key);