<div class="gmail_quote">Hello everyone!<br>I&#39;ve only previously used commons-logging and Log4j, and I&#39;ve always kept in mind, that they both declare Logger&#39;s (or Log&#39;s) debug(), info(), etc. methods with Object arguments.</div>
<div class="gmail_quote">Of course, most common usage of logging is to write String messages, but it totally makes sense, that you are able to log whatever you want and let the configuration decide what to do with it.<br>

<br>This allows, for example, to build some auditing or monitoring systems and benefit from common and well-known configuration and LogEvent filtering mechanisms.<br><br>The question is, why SLF4J API throws away all this flexibility by allowing Logger to log only String messages in a strictly defined format? Even the MDC, which I suppose might be implemented as some sort of Map, allows only String values for some reason.</div>
<div class="gmail_quote">This also means that jcl-over-slf4j will work if and only if you work with Strings in all your appenders.<br>
</div><div class="gmail_quote"><br></div><div class="gmail_quote">I hope someone can explain this to me. And even then, I believe this should be one of the first things to cover in documentation?</div><br>