Remove extra spaces in front of logger tags
This commit is contained in:
parent
a33d69232a
commit
86c1c9993e
@ -373,7 +373,6 @@ export class Logger {
|
|||||||
// field2 (type)?: value
|
// field2 (type)?: value
|
||||||
this._formatter.tag(options.type.toUpperCase(), options.tagColor);
|
this._formatter.tag(options.type.toUpperCase(), options.tagColor);
|
||||||
if (this.name && this.nameColor) {
|
if (this.name && this.nameColor) {
|
||||||
this._formatter.push(" ");
|
|
||||||
this._formatter.tag(this.name.toUpperCase(), this.nameColor);
|
this._formatter.tag(this.name.toUpperCase(), this.nameColor);
|
||||||
}
|
}
|
||||||
this._formatter.push(options.message);
|
this._formatter.push(options.message);
|
||||||
|
@ -122,7 +122,6 @@ export interface Socket {
|
|||||||
emit(event: "end"): boolean;
|
emit(event: "end"): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export class ServerSocket extends events.EventEmitter implements Socket {
|
export class ServerSocket extends events.EventEmitter implements Socket {
|
||||||
|
|
||||||
public writable: boolean = true;
|
public writable: boolean = true;
|
||||||
|
Reference in New Issue
Block a user