title: How to log message while registering a ServiceProvide in Laravel?
body: <p>So I have a Laravel service provider and I would like to create a DEBUG log entry when it is applied:</p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Support\ServiceProvider;
  
  class MyServiceProvider extends ServiceProvider
  {
      public function register() {
          Log::debug('message'); //fails, Log facade alias isn't available yet
          $this-&gt;app['log']-&gt;debug('message'); //fails too
      }
  }
  </code></pre>
  
  <p>How can this be done?</p>