[slf4j-user] logger.error(String, Throwable, Object...) support??

Jörn Huxhorn jhuxhorn at googlemail.com
Mon Mar 20 16:27:55 CET 2017


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.god at 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 at qos.ch
> http://mailman.qos.ch/mailman/listinfo/slf4j-user



More information about the slf4j-user mailing list