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

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

This commit is contained in:
DrakiaXYZ 2025-01-09 18:10:12 -08:00
parent c334855919
commit d2b83f64d8

View File

@ -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}`;
}),
),
}),
],