You’d put the Throwable last, i.e. like logger.error(“Message {} {}”, “Foo”, “Bar”, throwable)
Cheers On 20 March 2017 at 15:28:49, chanwook park (chanwook....@gmail.com) wrote: > Hi, I always use slf4j gratefully. > > I have one question. > I need logger.error() with caused exception and varags argument. > > In conclusion, > I want to method signature for "logger.error(String, Throwable, Object...)". > > Could I do like that? > or Please let me know if better way. > > Thanks. > > Best Regards. > > -- > =============================================== > Chanwook Park > > Github :: https://github.com/chanwookpark > Blog :: http://chanwookpark.github.io > LinkedIn :: https://www.linkedin.com/in/chanwook-park-47304148 > =============================================== > _______________________________________________ > slf4j-user mailing list > slf4j-user@qos.ch > http://mailman.qos.ch/mailman/listinfo/slf4j-user _______________________________________________ slf4j-user mailing list slf4j-user@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-user