logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38125] - add Throwable to message pattern log methods
Date Wed, 04 Jan 2006 22:09:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38125>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38125





------- Additional Comments From carnold@apache.org  2006-01-04 23:09 -------
The Object[] or Object... forms were not desirable on the debug level since they still incur
an array creation  
cost in the typical case of debug not being enabled.  For the info and higher levels, they
may be tolerable 
since they would not be called nearly as frequently and those levels are commonly enabled.

I don't have a problem with parameterized messages, I think it is much cleaner if they are
on a different 
class and not Logger which would allow the user to choose which formatter to be used (MessageFormat
or 
the JDK 1.5's java.util.Formatter) and may allow some better options supporting JDK 1.5 varargs.
 I think 
the right time to discuss the issue is in the log4j 1.3 API review which would follow the
current 
compatibility push.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message