title: LoggerFactory cannot getLogger
body: <p>I'm currently implementing a Logger and I'm wondering why the code won't run.
  Most of the codes snipets are like these:</p>
  
  <pre><code>Logger log = LoggerFactory.getLogger(this.getClass());
  </code></pre>
  
  <p>My imported classes:</p>
  
  <pre><code>import org.osgi.framework.BundleContext;
  import org.osgi.framework.ServiceReference;
  import org.osgi.service.log.LogReaderService;
  import org.osgi.service.log.LogService;
  import org.osgi.service.log.Logger;
  import org.osgi.service.log.LoggerFactory;
  </code></pre>
  
  <p>But I can't seem to use getLogger. </p>
  
  <p>Why is that?</p>
  
  <p>Thanks in advance! <a href="https://i.stack.imgur.com/JdXqb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JdXqb.png" alt="No getLogger() classes are available"></a></p>