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); } }