Skip to content

Commit

Permalink
Change logging format
Browse files Browse the repository at this point in the history
  • Loading branch information
danial303065 authored and MichaelKim20 committed Jul 1, 2024
1 parent 59563ea commit 54b957c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/service/common/Logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as winston from "winston";
const { combine, timestamp, printf, colorize } = winston.format;
// tslint:disable-next-line:no-shadowed-variable
const customFormat = printf(({ level, timestamp, message }) => {
return `${timestamp} ${level} ${message}`;
return `${level.toUpperCase()} [${timestamp}] ${message}`;
});

export class Logger {
Expand Down

0 comments on commit 54b957c

Please sign in to comment.