title: SLF4J in distributable library, how to obtain Logger
body: <p>I want to distribute a lib relying on the <code>SLF4J</code> logger interface. What is the best practice way to obtain the logger which integrate nicely into any other project? Sorry for the unstructured question style, I'm still trying to figure out how all this stuff is glued together.</p>
  
  <p>In other projects I always use this piece of code, because I want to obtain a custom logger:</p>
  
  <pre><code>private final static Logger LOGGER = LoggerFactory.getILoggerFactory().getLogger(NAME_OF_APP);
  </code></pre>
  
  <p>If I create the class <code>org.slf4j.impl.StaticLoggerBinder</code> and have it some other lib, does the therein defined factory get used even if I just call  <code>LoggerFactory.getLogger(NAME_OF_APP)</code> or is some default slf4j factory used?</p>
  
  <p>I want the user to be able to use his own factory and logger, so which way is to perfere, and most of all why?</p>