[slf4j-user] Message format - change from '{}' to '%s'

Martin Gilday martin.lists at imap.cc
Fri Nov 10 23:18:14 CET 2006


I assume he means like the java 5 System.out.printf.  This would be a
more complex than the current system, but you gain the power of being
able to format and reuse fields (as they are indexed) within your
logging statement.  This would take the varargs addition to the next
level.


----- Original message -----
From: "Ceki Gülcü" <listid at qos.ch>
To: "User list for the slf4j project" <user at slf4j.org>
Date: Fri, 10 Nov 2006 22:41:41 +0100
Subject: Re: [slf4j-user] Message format - change from '{}' to '%s'

At 02:44 PM 11/10/2006, you wrote:

>As SLF4J moves to Java 5, I would suggest you also change from using '{}' 
>to the formatted string style '%s' etc&#8230;

Hi Michael,

Would you care to expand on the question?

>Thanks,
>Michael

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for
Java.
http://logback.qos.ch

_______________________________________________
user mailing list
user at slf4j.org
http://www.slf4j.org/mailman/listinfo/user



More information about the slf4j-user mailing list