Skip to content

Commit 6895a47

Browse files
解成博解成博
authored andcommitted
fix: make the color of the logger more highlighted
1 parent bf980c9 commit 6895a47

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/utils/src/logger.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ const bizNameColors = [
5252
'#2e8b57',
5353
];
5454
const bodyColors: Record<string, string> = {
55-
debug: '#666666',
56-
log: '#bbbbbb',
57-
info: '#ffffff',
58-
warn: '#bbbbbb',
59-
error: '#bbbbbb',
55+
debug: '#fadb14',
56+
log: '#8c8c8c',
57+
info: '#52c41a',
58+
warn: '#fa8c16',
59+
error: '#ff4d4f',
6060
};
6161
const levelMarks: Record<string, string> = {
6262
debug: 'debug',

0 commit comments

Comments
 (0)