Skip to content

Commit

Permalink
Added log_channel configuration to errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphschindler committed Aug 20, 2017
1 parent 64fe5ff commit dac53ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ If you would like to have complete control over how Monolog is configured for yo
});

return $app;


#### Alternate Monolog Name

By default, Monolog is instantiated with name that matches the current environment (such as `production` or `local`). To change this value, add the `log_channel` option to your `app.php` configuration file:

'log_channel' => env('APP_LOG_CHANNEL', 'my-app-name'),

<a name="the-exception-handler"></a>
## The Exception Handler
Expand Down

0 comments on commit dac53ed

Please sign in to comment.