From 227fd5f464ac8f5845f6d4bf00d40feb8f369092 Mon Sep 17 00:00:00 2001 From: powermaker450 Date: Sun, 18 Aug 2024 17:14:59 -0400 Subject: [PATCH] Move [WARN] to left side of origin --- src/utils/logger.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/logger.ts b/src/utils/logger.ts index 8f54159..d6fd477 100644 --- a/src/utils/logger.ts +++ b/src/utils/logger.ts @@ -20,14 +20,14 @@ export class Logger { public warn(text: any, args?: any): void { args - ? console.warn(this._wrn + this._main + text, args) - : console.warn(this._wrn + this._main + text); + ? console.warn(this._main + this._wrn + text, args) + : console.warn(this._main + this._wrn + text); } public error(text: any, args?: any): void { args - ? console.error(this._err + this._main + text, args) - : console.error(this._err + this._main + text); + ? console.error(this._main + this._err + text, args) + : console.error(this._main + this._err + text); } }