Skip to content

Commit d539fb0

Browse files
committed
style(logger): remove space
1 parent c759fb5 commit d539fb0

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/config/logger.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export class Logger {
7373
private jsonFormat: boolean;
7474
private logFilePath: string = "/";
7575
private timestampFormat: "iso" | "locale";
76-
private lastCategory?: string;
7776
private rotation: { enabled: boolean; maxSize: number; maxFiles: number };
7877
private errorHandling: { file: string; console: boolean };
7978
private externalLogStream?: (message: string) => void;
@@ -208,12 +207,7 @@ export class Logger {
208207
meta?: any
209208
): void {
210209
if (this.shouldLog(level)) {
211-
const formattedMessage = this.formatMessage(
212-
message,
213-
level,
214-
category,
215-
meta
216-
);
210+
const formattedMessage = this.formatMessage( message, level, category, meta );
217211

218212
if (this.externalLogStream) {
219213
this.externalLogStream(formattedMessage);

0 commit comments

Comments
 (0)