<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I'm currently using slf4j-api v1.7.25.</div><div><br></div><div>The javadoc for "Logger.error(String format, Object arg1, Object arg2)" and "Logger.error(String format, Object... arguments)" does not mention anything about what happens if any of the parameters are Throwable objects.</div><div><br></div><div>However, <a href="https://www.baeldung.com/slf4j-log-exceptions">https://www.baeldung.com/slf4j-log-exceptions</a> shows an example of passing an exception object as the last parameter, after the string format parameters, showing that it will properly log the exception just as if the "(String, Throwable)" method was called.</div><div><br></div><div>I know that the Logger class itself is an interface, but if it's the aim of the library that every implementation of this interface will have the same behavior in any particular aspect, then that behavior should be documented in the javadoc for the interface.</div><div><br></div><div>I see that this behavior isn't even documented in the small "slf4j manual" page.<br></div></div></div></div></div>