diff --git a/www/log.html b/www/log.html index fa5d36150..ec20149ef 100644 --- a/www/log.html +++ b/www/log.html @@ -19,17 +19,30 @@ height: 100%; } - - - - table tbody td { font-size: 13px; vertical-align: top; } - + .info { + color: #0174DF; + } + + .debug { + color: #808080; + } + + .error { + color: #DF0101; + } + .trace { + color: #585858; + } + + .warn { + color: #FF9966; + } @@ -89,7 +102,7 @@ const msg = Object.keys(line).reduce((msg, key) => { return KEYS.indexOf(key) < 0 ? `${msg} ${key}=${line[key]}` : msg; }, line['message']); - return `${ts.toLocaleString()}${line['level']}${escapeHTML(msg)}`; + return `${ts.toLocaleString()}${escapeHTML(line['level'])}${escapeHTML(msg)}`; }).join(''); }