v2.1.0 更新:

1、引入metona-mq-mini-pro消息队列,重构实时日志获取方式
This commit is contained in:
2025-07-23 23:26:56 +08:00
parent bb99e48275
commit e17e31edfd
7 changed files with 40 additions and 27 deletions

View File

@@ -309,7 +309,7 @@ class LogMonitorAdaptive {
debug: '#9c27b0', info: '#2196f3', warn: '#ff9800',
error: '#f44336', success: '#4caf50', system: '#00bcd4'
};
lvlSpan.style.color = colors[entry.level] || colors.info;
lvlSpan.style.color = colors[entry.level.toLowerCase()] || colors.info;
lvlSpan.style.minWidth = '70px';
lvlSpan.style.fontWeight = 'bold';
line.appendChild(lvlSpan);