<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>In your app code call the logger like this:</div><div><br></div><div>log.info("Employee: {}", myEmployee);</div><div><br></div><div>Then in the formatter, call event.getArgumentArray() - <a href="http://logback.qos.ch/xref/ch/qos/logback/classic/spi/LoggingEvent.html#143">http://logback.qos.ch/xref/ch/qos/logback/classic/spi/LoggingEvent.html#143</a></div><div><br></div><div>Then look at each arg and check if it is an Employee. <br><br>David</div><div><br></div></body></html>