[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: DO NOT REPLY [Bug 27135] -
From: bugzilla () apache ! org
Date: 2004-02-29 16:20:57
Message-ID: 20040229162057.3806.qmail () nagoya ! betaversion ! org
[Download RAW message or body]
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27135>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27135
[logging] SimpleLog log method should defer writing for better reuse!
------- Additional Comments From arh14@cornell.edu 2004-02-29 16:20 -------
Hi guys. In answer to Robert, my original implementation was through
delegation, and this only worked because I previously arranged to override the
System.err stream with a custom stream, and then grab the byte[] chunks emitted
by SimpleLog in my custom stream implementation, and then write that to my
window. I thought this was more convoluted and less efficient than just being
able to snag the output dierctly at its source (and it also had the side-effect
of consuming System.err output produced by code other than SimpleLog).
I can always reuse through copy/paste, so make the decision you feel is best for
the package. I just wanted to note what I ran into.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic