title: Custom slf4j logger interface
body: <p>I would like to be able to enable/disable logging on instance level of some Java classes during runtime.</p>
  
  <p>Obviously, I could have a class attribute "logEnabled" and then do</p>
  
  <pre><code>if (logEnabled) {   
    logger.debug("some info {}", someParameter);
  }
  </code></pre>
  
  <p>But for readability I would prefer to customize the slf4j interface so I could do:</p>
  
  <pre><code>logger.debug(logEnabled, "some info {}", someParameter);
  </code></pre>
  
  <p>Should I simply wrap the Logger class in a custom class or is there some better way to do this? Performance is critical for my application so I don't want to add any extra copying of parameters.</p>