v2.1.0 更新:
1、引入metona-mq-mini-pro消息队列,重构实时日志获取方式
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user