title: How to disable displaying of application log messages on console while phpunit tests are running?
body: <p>I am writing tests for a Laravel application, specifically for a process which writes a lot of log messages on console.</p>
  
  <p>e.g. </p>
  
  <pre><code>Log::info('Process starts', [
      'process_name' =&gt; 'product_import',
      'data' =&gt; // a huge text containing json_encode of the given message object
  ]
  </code></pre>
  
  <p>When I run phpunit, I see all these annoying log messages on console. Is there a way to disable or somehow stop these log messages?</p>