Move [WARN] to left side of origin

This commit is contained in:
powermaker450 2024-08-18 17:14:59 -04:00
parent 561e95c255
commit 227fd5f464

View file

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