[slf4j-user] Overloads taking both format arguments and Throwable

Alexey Romanov alexey.v.romanov at gmail.com
Tue May 15 09:10:16 CEST 2012


Why doesn't Logger have overloads of logging methods which take both
Object arguments to replace {} and an exception? I.e.
Logger.error(String, Object, Throwable), Logger.error(String, Object,
Object, Throwable), Logger.error(String, Object[], Throwable)? It
seems to me there should be no problem with overload resolution.

Yours, Alexey Romanov


More information about the slf4j-user mailing list