[8.x] Logs deprecations instead of treating them as exceptions (#5711)

* Logs deprecations instead of treating them as exceptions

* formatting

Co-authored-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Nuno Maduro
2021-10-19 14:42:24 +01:00
committed by GitHub
parent 196a27593b
commit 1980ca13ea
3 changed files with 16 additions and 2 deletions

View File

@@ -19,6 +19,19 @@ return [
'default' => env('LOG_CHANNEL', 'stack'),
/*
|--------------------------------------------------------------------------
| Deprecations Log Channel
|--------------------------------------------------------------------------
|
| This option controls the log channel that should be used to log warnings
| regarding deprecated PHP and library features. This allows you to get
| your application ready for upcoming major versions of dependencies.
|
*/
'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
/*
|--------------------------------------------------------------------------
| Log Channels