0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Logform made a breaking change in 2.7.0, fix our call to printf to work with it (#1065)

This commit is contained in:
Chomp 2025-01-10 09:15:50 +00:00 committed by GitHub
commit dae617c0cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,9 @@ export abstract class AbstractWinstonLogger implements ILogger {
new transports.Console({ new transports.Console({
format: format.combine( format: format.combine(
format.colorize({ all: true, colors: { custom: textColor } }), format.colorize({ all: true, colors: { custom: textColor } }),
format.printf(({ message }) => message), format.printf(({ message }) => {
return `${message}`;
}),
), ),
}), }),
], ],