mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:38:13 +00:00
fix(logger): colorize
This commit is contained in:
parent
8633ec3735
commit
1c3b5c1645
@ -26,7 +26,7 @@ export const getFormat = (format?: LoggerOptions['format']) => {
|
||||
logFormat = winston.format.combine(stripColorFormat, winston.format.json({ deterministic: false }));
|
||||
break;
|
||||
default:
|
||||
return winston.format.combine(stripColorFormat, format as winston.Logform.Format);
|
||||
return winston.format.combine(format as winston.Logform.Format);
|
||||
}
|
||||
return winston.format.combine(sortFormat, logFormat);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user