At 08:57 AM 12/21/2005, Christian Stein wrote:
[EMAIL PROTECTED] 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/


_______________________________________________
dev mailing list
dev@slf4j.org
http://slf4j.org/mailman/listinfo/dev

Reply via email to