增加 log 图标样式

This commit is contained in:
whyour committed 2024-10-13 21:24:17 +08:00
1 parent 71dd82f74e
commit 4244502949
7 files changed
+25 -9

No files matched your search

+4 -4
View File
@@ -4,10 +4,10 @@ import config from '../config';
import path from 'path';
const levelMap: Record<string, string> = {
info: '🔵',
warn: '🟡',
error: '🔴',
debug: '🔶'
info: '\ue6f5',
warn: '\ue880',
error: '\ue602',
debug: '\ue67f'
}
const customFormat = winston.format.combine(