[slf4j-dev] [Bug 278] addition of new methods: Logger.debug(String format, Throwable t, Object... arguments)

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Fri Nov 2 18:16:31 CET 2012


http://bugzilla.slf4j.org/show_bug.cgi?id=278

--- Comment #2 from Karl Pietrzak <kap4020 at gmail.com> 2012-11-02 18:16:31 CET ---
@Ceki Gulcu:

That's awesome, thank you!  I didn't notice that because it's not in the
javadoc (http://www.slf4j.org/api/org/slf4j/Logger.html#info(java.lang.String,
java.lang.Object, java.lang.Object)).  Is it worth putting in a pull request
with updated javadocs?

Also, does what if you have two arguments for parametization? i.e.,

String s = "Hello world";
try {
  Integer i = Integer.valueOf(s);
} catch (NumberFormatException e) {
  logger.error("Failed to format {} for {}", s, "test", e);
}

-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list