I guess I should have included the URL, <a href="http://code.google.com/p/anodyzed">http://code.google.com/p/anodyzed</a><div> (*Chris*)<br><br><div class="gmail_quote">On Thu, Aug 2, 2012 at 8:24 AM, Chris Pratt <span dir="ltr"><<a href="mailto:thechrispratt@gmail.com" target="_blank">thechrispratt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You might want to check out Anodyzed Onyx, it adds a more powerful formatting capability over SLF4j (or most popular log engines). And I'm hoping to bind it even closer to SLF4j.<div>
<span class="HOEnZb"><font color="#888888"> (*Chris*)</font></span><div><div class="h5"><br><br><div class="gmail_quote">
On Thu, Aug 2, 2012 at 2:59 AM, Roman Muntyanu <span dir="ltr"><<a href="mailto:rmuntyan@softserveinc.com" target="_blank">rmuntyan@softserveinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>>> Furthermore I wonder what are the reasons that you don't use the Formatter-class of the JDK which has more possibilities.<br>
</div>Because of <a href="http://www.slf4j.org/faq.html#logging_performance" target="_blank">http://www.slf4j.org/faq.html#logging_performance</a><br>
<div><div><br>
-----Original Message-----<br>
From: <a href="mailto:slf4j-user-bounces@qos.ch" target="_blank">slf4j-user-bounces@qos.ch</a> [mailto:<a href="mailto:slf4j-user-bounces@qos.ch" target="_blank">slf4j-user-bounces@qos.ch</a>] On Behalf Of niels<br>
Sent: Thursday, August 02, 2012 12:55 PM<br>
To: <a href="mailto:slf4j-user@qos.ch" target="_blank">slf4j-user@qos.ch</a><br>
Subject: [slf4j-user] Questions about formattedMessage<br>
<br>
Hi<br>
I restart thinking about to create a fluid-log-facade for java. The idea is to write log.onError().aMessage("test") or log.onDebug().aParmameter("param").withValue(1). One idea is to have something like formattedMessage("A {} test", "small"). I see that slf4j has something similar.<br>
Unfortunately I found the the implementation not reliable enough. The problem is the following situation (I had in real-life last year, where a formatter was used): If you have formattedMessage("At {} the following error happens", "myMethod", e.getMessage()). So the devoloper has simply forget to add the {} at the messagepattern. Then the really important information is lost. Any change that the MessageFormatter will be changed, so that if L>argArray.length the additional array-information will simply added at the end?<br>
<br>
Furthermore I wonder what are the reasons that you don't use the Formatter-class of the JDK which has more possibilities.<br>
<br>
Best regards<br>
Niels<br>
_______________________________________________<br>
slf4j-user mailing list<br>
<a href="mailto:slf4j-user@qos.ch" target="_blank">slf4j-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/slf4j-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/slf4j-user</a><br>
_______________________________________________<br>
slf4j-user mailing list<br>
<a href="mailto:slf4j-user@qos.ch" target="_blank">slf4j-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/slf4j-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/slf4j-user</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>