title: What's the best way to initialise a logger in a class?
body: <p>I've got two options to initialise a <code>Logger</code> within a class.</p>
  
  <p>The first way is providing an instance of the <code>Class&lt;?&gt;</code>:</p>
  
  <pre><code>logger = LoggerFactory.getLogger(SignUpController.class);
  </code></pre>
  
  <p>and the second one is passing a <code>String</code> identifier (the package and the class name):</p>
  
  <pre><code>logger = LoggerFactory.getLogger("controller.SignUpController");
  </code></pre>
  
  <p>The questions are:</p>
  
  <p>What's the best way to initialise a logger for a class?<br>
  What modifiers should be used with? (access modifiers, <code>static</code>, <code>final</code>)</p>