At 04:08 PM 10/19/2005, Curt Arnold wrote:

One of the reasons that we are still calling 1.3 an alpha is the API
is subject to change and an systematic review of all the API changes
between 1.2 and 1.3 will be undertaken before freezing the API.  I'm
not particularly fond of the particular way that formatting was
integrated in 1.3 and believe that using an independent logging
formatter class would result in equivalent performance and allow the
user to choose his formatter.  The JDK provides other formatters
other than MessageFormat and the current log4j 1.3 doesn't implement
all of MessageFormat.

For example:

logger.debug("some data {}", value);

written using an external formatter would look like:

MessageFormatter.debug(logger, "some data {}", value);

You don't seem to think that the last line is problematic.


--
Ceki Gülcü

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to