Substituting parameters in log message and add a Throwable in Log4j 2 : <p>I am trying to log an exception, and would like to include another variable's value in the log message. Is there a Logger API that does this? </p>

<pre><code>logger.error("Logging in user {} with birthday {}", user.getName(), user.getBirthdayCalendar(), exception);
</code></pre>
