<div>I love the project and am glad to see the new features added to logging in general.</div>
<div> </div>
<div>I am willing to write a patch for a feature but before I do I want to make sure it is something you would be interested in.</div>
<div> </div>
<div>There is no way to get a stack trace when using paramterized logging. The patch I want to add is that if the last parameter is a Throwable then it gets passed to the fitlerAndLog() method as a thorable (instead of throwable being null).
</div>
<div> </div>
<div>To explain in code. </div>
<div>log.debug( "Something happened parm1={} parm2={} parm3={}", 1, 2, 3, new Throwable() );</div>
<div> </div>
<div> </div>
<div>This would not cause the Throwable to be logged. So here are my questions</div>
<div> </div>
<div>- if I added the code to <font size="2">ch.qos.logback.classic.Logger is that something you are interested in?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">- lacking that any recommendations on how to get this feature built in.</font></div>
<div><font size="2"></font> </div>
<div><font size="2"></font> </div>
<div><font size="2">Looking forward to your comments and thanks for the great work on a great logging framework...</font></div>
<div><font size="2"></font> </div>
<div><font size="2">regards,</font></div>
<div><font size="2">Glen</font></div>
<div> </div>
<div> </div>