title: How to use monolog from the class which inherit Controller class
body: <p>I am using monolog</p>
  
  <p>in class DefaultController extends Controller</p>
  
  <p>such as</p>
  
  <pre><code>    $logger = $this-&gt;get('logger');
      $logger-&gt;info('Get Started');
  </code></pre>
  
  <p>I can call this->get('logger') from the class which inherits Controller class.
  However I want to use logger from other class such as /Entity/User.php
  How can I make it?</p>
  
  <p>my reference is </p>
  
  <p><a href="http://symfony.com/doc/2.0/cookbook/logging/monolog.html" rel="nofollow">http://symfony.com/doc/2.0/cookbook/logging/monolog.html</a></p>