From 07641d57ab5baa1954bf2340feab35196fea986e Mon Sep 17 00:00:00 2001 From: dceejay Date: Sat, 14 Feb 2015 12:14:06 +0000 Subject: [PATCH] recorrect debug logging level colour class names so sidebar is as-was. in light of new logging levels --- nodes/core/core/58-debug.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nodes/core/core/58-debug.html b/nodes/core/core/58-debug.html index 8a2921ddb..093bf1f76 100644 --- a/nodes/core/core/58-debug.html +++ b/nodes/core/core/58-debug.html @@ -194,8 +194,9 @@ msg.innerHTML = ''+ getTimestamp()+'['+name+']'+ ''; - // NOTE: relying on function error to have a "type" that all other msgs don't + // NOTE: relying on function error to have a "type" that all other msgs don't if (o.hasOwnProperty("type") && (o.type === "function")) { + msg.className = 'debug-message debug-message-level-20'; msg.innerHTML += '[function] : (error)'; } else { msg.innerHTML += ''+(o.topic?topic+' : ':'')+ @@ -284,11 +285,11 @@ border-left-color: #eee; border-right-color: #eee; } - .debug-message-level-warn { + .debug-message-level-30 { border-left-color: #ffdf9d; border-right-color: #ffdf9d; } - .debug-message-level-error { + .debug-message-level-20 { border-left-color: #f99; border-right-color: #f99; }