tag:blogger.com,1999:blog-7625178889455096573.post375904943639532471..comments2022-12-18T23:14:05.457-06:00Comments on my kingdom for a smile :-): Introducing slf4j5 - logging, varargs, String.format, fasterRuss Jacksonhttp://www.blogger.com/profile/15521749913146166813noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7625178889455096573.post-3714892203603002062013-08-02T16:48:15.313-05:002013-08-02T16:48:15.313-05:00Thanks. Yeah, I sent it directly to them as well....Thanks. Yeah, I sent it directly to them as well. Unfortunately they didn't pick up/implement the string formatter.Russ Jacksonhttps://www.blogger.com/profile/15521749913146166813noreply@blogger.comtag:blogger.com,1999:blog-7625178889455096573.post-87620416917552494732013-08-02T12:21:42.685-05:002013-08-02T12:21:42.685-05:00Guess what!?
Your code was submitted in AUGUST 20...Guess what!?<br /><br />Your code was submitted in AUGUST 2012.<br /><br />SLF4J finally and painfully jumped to Java 1.5 requirements in SEPTEMBER 2012.<br /><br />I think that maybe, just maybe, your post pushed them over the edge.<br /><br />So, thanks!mnasserhttps://www.blogger.com/profile/08845421427487910904noreply@blogger.comtag:blogger.com,1999:blog-7625178889455096573.post-31803344166933341482012-09-02T08:41:19.483-05:002012-09-02T08:41:19.483-05:00Thanks Tom. Yes, I too thought it odd that slf4j ...Thanks Tom. Yes, I too thought it odd that slf4j does not have a Throwable signature with varags. Check out the latest code for slf4j5 now.Russ Jacksonhttps://www.blogger.com/profile/15521749913146166813noreply@blogger.comtag:blogger.com,1999:blog-7625178889455096573.post-56248136273320616562012-09-01T15:14:21.356-05:002012-09-01T15:14:21.356-05:00This looks great. I hate not being able to use var...This looks great. I hate not being able to use varargs with SLF4J and having to remember to use curly braces instead of %s. I'm wondering, though, have you considered making Throwable the first argument in case of exceptions like Dropwizard's Log wrapper<br />https://github.com/codahale/dropwizard/blob/master/dropwizard-core/src/main/java/com/yammer/dropwizard/logging/Log.java<br />or <br />JBoss Logging's Logger:<br />https://github.com/jboss-logging/jboss-logging/blob/master/src/main/java/org/jboss/logging/Logger.javaTomhttps://www.blogger.com/profile/06691559779321794827noreply@blogger.com