projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14be229
)
2003/12/29 03:47:19
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:38 +0000
(07:43 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:38 +0000
(07:43 +0000)
darcs-hash:
20040130074338
-2ba56-
8b056b8cbc1f2c6031391f794b540c5b3c6f4080
.gz
src/org/xwt/util/Log.java
patch
|
blob
|
history
diff --git
a/src/org/xwt/util/Log.java
b/src/org/xwt/util/Log.java
index
c7dfddb
..
bb690b2
100644
(file)
--- a/
src/org/xwt/util/Log.java
+++ b/
src/org/xwt/util/Log.java
@@
-84,6
+84,7
@@
public class Log {
while (classname.length() < (logDates ? 14 : 20)) classname = " " + classname;
classname = classname + (classname.trim().length() == 0 ? " " : ": ");
classname = color(GRAY, true, classname);
while (classname.length() < (logDates ? 14 : 20)) classname = " " + classname;
classname = classname + (classname.trim().length() == 0 ? " " : ": ");
classname = color(GRAY, true, classname);
+ classname = classname.replace('$', '.');
if (logDates) {
Date d = new Date();
if (logDates) {
Date d = new Date();
@@
-108,7
+109,7
@@
public class Log {
try {
String m = "";
while((s = br.readLine()) != null) m += s + "\n";
try {
String m = "";
while((s = br.readLine()) != null) m += s + "\n";
- log(o, m, level);
+ log(o, m.substring(0, m.length() - 1), level);
} catch (IOException e) {
System.err.println(color(RED, true, "Logger: exception thrown by ByteArrayInputStream -- this should not happen"));
}
} catch (IOException e) {
System.err.println(color(RED, true, "Logger: exception thrown by ByteArrayInputStream -- this should not happen"));
}