title: How to inject logger using Google Guice
body: <p>Usually I define logger like this: </p>
  
  <pre><code>private static final Logger logger = LoggerFactory.getLogger(MyClass.class); 
  </code></pre>
  
  <p>But when using <code>@Inject</code> we must use non-static and non-final field, like:</p>
  
  <pre><code>@Inject
  private Logger logger;
  </code></pre>
  
  <p>i.e. logger will be created in each instance of this class, also logger is mutable. May be exist some way to make logger static? Also how I can bind logger to certain class (I use send the class object when creating logger object from factory <code>LoggerFactory.getLogger(MyClass.class);</code>, how to create logger in same way using injecting ? )?</p>