Skip to content

Commit

Permalink
Logform made a breaking change in 2.7.0, fix our call to printf to wo…
Browse files Browse the repository at this point in the history
…rk with it
  • Loading branch information
DrakiaXYZ committed Jan 10, 2025
1 parent c334855 commit d2b83f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/src/utils/logging/AbstractWinstonLogger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ export abstract class AbstractWinstonLogger implements ILogger {
new transports.Console({
format: format.combine(
format.colorize({ all: true, colors: { custom: textColor } }),
format.printf(({ message }) => message),
format.printf(({ message }) => {
return `${message}`;
}),
),
}),
],
Expand Down

0 comments on commit d2b83f6

Please sign in to comment.