[slf4j-dev] svn commit: r461 - slf4j/trunk/src/java/org/slf4j/impl

Ceki Gülcü listid at qos.ch
Wed Dec 21 09:49:02 CET 2005


At 08:57 AM 12/21/2005, Christian Stein wrote:
>ceki at slf4j.org wrote:
>>Author: ceki
>>Date: Tue Dec 20 20:10:43 2005
>>New Revision: 461
>>Modified:
>>    slf4j/trunk/src/java/org/slf4j/impl/MessageFormatter.java
>>Log:
>>- Added support for arguments passed in an array
>
>Nice! Finally! Juchu! (:

Thanks.

>>- Format methods taking 1 or 2 arguments now delegate to the format 
>>method that takes   in an array argument. This results in smaller code.
>
>...but in creation of an Object[], if you only need the 1 or 2 arg variant 
>and therefore
>in slight speed decrease - hey, that's fine with me!

Note that the cost incurred *after* the decision to log the message. The 
array creation will not have any measurable impact on performance.

>Cheers,
>Christian

-- 
Ceki Gülcü

   The complete log4j manual: http://www.qos.ch/log4j/
   Improve your Sudoku skills at http://www.sudoku-grok.com/





More information about the slf4j-dev mailing list