fix: local logger
This commit is contained in:
@@ -87,7 +87,9 @@ export function createLogger({ name }: { name: string }): ILogger {
|
|||||||
format = winston.format.combine(
|
format = winston.format.combine(
|
||||||
errorFormatter(),
|
errorFormatter(),
|
||||||
redactSensitiveInfo(),
|
redactSensitiveInfo(),
|
||||||
winston.format.colorize(),
|
winston.format.colorize({
|
||||||
|
all: true,
|
||||||
|
}),
|
||||||
winston.format.printf((info) => {
|
winston.format.printf((info) => {
|
||||||
const { level, message, service, ...meta } = info;
|
const { level, message, service, ...meta } = info;
|
||||||
const metaStr =
|
const metaStr =
|
||||||
|
|||||||
Reference in New Issue
Block a user