Move [WARN] to left side of origin
This commit is contained in:
parent
561e95c255
commit
227fd5f464
|
@ -20,14 +20,14 @@ export class Logger {
|
||||||
|
|
||||||
public warn(text: any, args?: any): void {
|
public warn(text: any, args?: any): void {
|
||||||
args
|
args
|
||||||
? console.warn(this._wrn + this._main + text, args)
|
? console.warn(this._main + this._wrn + text, args)
|
||||||
: console.warn(this._wrn + this._main + text);
|
: console.warn(this._main + this._wrn + text);
|
||||||
}
|
}
|
||||||
|
|
||||||
public error(text: any, args?: any): void {
|
public error(text: any, args?: any): void {
|
||||||
args
|
args
|
||||||
? console.error(this._err + this._main + text, args)
|
? console.error(this._main + this._err + text, args)
|
||||||
: console.error(this._err + this._main + text);
|
: console.error(this._main + this._err + text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue