Well, '{}' is "only supported" for performance considerations, current
formatting implementation outperforms String.format() at 10 times.
http://www.slf4j.org/faq.html#logging_performance
so it's unlikely to change
From: [email protected] [mailto:[email protected]] On Behalf Of
Chris Pratt
Sent: Tuesday, February 07, 2012 18:19 PM
To: User list for the slf4j project
Subject: Re: [slf4j-user] feature request: LOG.debugFormat("This is a number
%f", someFloat)
I think you should look at the Onyx project http://code.google.com/p/Anodyzed.
(*Chris *)
On Feb 7, 2012 7:47 AM, "Christoph Pickl"
<[email protected]<mailto:[email protected]>> wrote:
hi guys,
i came up with an idea:
you know this String.format("whatever") method? which behaves like C's formatf?
wouldn't it be nice to be able to use exactly this format string for logging?
until now, it only supports "{}" for argument replacement...
what do you think?
kr, and keep up the good work,
~christoph
_______________________________________________
slf4j-user mailing list
[email protected]<mailto:[email protected]>
http://mailman.qos.ch/mailman/listinfo/slf4j-user
_______________________________________________
slf4j-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-user