Skip to content

Commit 373f066

Browse files
committed
chore: remove log colors
1 parent a7fd7ae commit 373f066

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

bun.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/logger/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ export async function configureLogger() {
4949
level: 'ABBR',
5050
wordWrap: false,
5151
categorySeparator: ':',
52-
timestamp: () => dayjs().format('YYYY-MM-DD HH:mm:ss')
52+
messageColor: null,
53+
categoryColor: null,
54+
timestampColor: null,
55+
levelStyle: 'reset',
56+
messageStyle: 'reset',
57+
categoryStyle: 'reset',
58+
timestampStyle: 'reset',
59+
timestamp: (ts) => dayjs(ts).format('YYYY-MM-DD HH:mm:ss')
5360
})
5461
});
5562
composedSinks.push('console');

0 commit comments

Comments
 (0)