Change debug color to grey
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-common': patch
|
||||
---
|
||||
|
||||
Change debug log format to print as color grey
|
||||
@@ -34,7 +34,7 @@ const coloredTemplate = (info: TransformableInfo) => {
|
||||
export const coloredFormat = winston.format.combine(
|
||||
winston.format.timestamp(),
|
||||
winston.format.colorize({
|
||||
colors: { timestamp: 'dim', prefix: 'blue', field: 'cyan' },
|
||||
colors: { timestamp: 'dim', prefix: 'blue', field: 'cyan', debug: 'grey' },
|
||||
}),
|
||||
winston.format.printf(coloredTemplate),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user