What is misleading IMO is that the var arg API will NOT log the stack trace.

There is no way to log with a message template, args, and also an exception.

This bites me from time to time.

What I need is an API that looks like this:

Logger.debug(ex, "blah {} {}", arg1, arg2):

Gary
On Jan 29, 2016 1:28 PM, "Matt Sicker" <[email protected]> wrote:

> Like when you do logger.debug("{}", foo, ex). I know it's supported, but I
> can't find anywhere that this is mentioned.
>
> --
> Matt Sicker <[email protected]>
>

Reply via email to