Change debug color to grey

This commit is contained in:
Adam Harvey
2021-02-24 14:00:09 -05:00
parent e93d7048a3
commit 8adb48df4c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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),
);