title: Catch using of Monolog\Logger methods
body: <p>I need to add some action, when application runs one of Monolog\Logger methods (info, error, warning etc.) and do some custom code.</p>
  
  <p>for example:</p>
  
  <pre><code>$this-&gt;logger-&gt;error('Some error');
  </code></pre>
  
  <p>should do error output - basic action for Monolog\Logger, but after that send error text via API ...</p>