X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Futil%2FLog.java;h=de7fe8dbc9523f6caedb95787d6a50c88872a27f;hp=5d092160af7fad7091406088a819adbf7d0038f4;hb=f45bf5b8d4f76e5c847b8496a2ee7ef96c665077;hpb=4764d68982352b17914880f05e275895625f55eb diff --git a/src/org/ibex/util/Log.java b/src/org/ibex/util/Log.java index 5d09216..de7fe8d 100644 --- a/src/org/ibex/util/Log.java +++ b/src/org/ibex/util/Log.java @@ -134,10 +134,12 @@ public class Log { } catch (IOException e) { logstream.println(colorize(RED, true, "Logger: exception thrown by ByteArrayInputStream -- this should not happen")); } + lastClassName = ""; return; } String str = message.toString(); + if (str.indexOf('\n') != -1) lastClassName = ""; while(str.indexOf('\t') != -1) str = str.substring(0, str.indexOf('\t')) + " " + str.substring(str.indexOf('\t') + 1);