X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Futil%2FLog.java;fp=src%2Forg%2Fxwt%2Futil%2FLog.java;h=c7dfddbca0cf4d9ee80a8b203bc60d207526e293;hb=14be229c827cd4034184ea29d6653f6cbd969507;hp=37bfd5cb9532d6d8ee996d94a920128439bc22bf;hpb=cd2eada59986cb181dccd7716fc1c21a0cf4d379;p=org.ibex.core.git diff --git a/src/org/xwt/util/Log.java b/src/org/xwt/util/Log.java index 37bfd5c..c7dfddb 100644 --- a/src/org/xwt/util/Log.java +++ b/src/org/xwt/util/Log.java @@ -62,13 +62,13 @@ public class Log { if (firstMessage && !logDates) { firstMessage = false; System.err.println(color(GREEN, false, "===========================================================================")); - String incolor = color ? "in " + + diag(Log.class, "Logging enabled at " + new java.util.Date()); + if (color) diag(Log.class, "logging messages in " + color(BLUE, true, "c") + color(RED, true, "o") + color(CYAN, true, "l") + color(GREEN, true, "o") + - color(PURPLE, true, "r") + " " : ""; - diag(Log.class, "Logging enabled at " + new java.util.Date() + " " + incolor); + color(PURPLE, true, "r")); } String classname;