Add application log level configuration

This config option ties in with changes in fbd6e77 that were tagged in
v5.2.35 of the framework.
This commit is contained in:
Michael Dyrynda 2016-06-04 09:58:04 +09:30
parent bee4dc1632
commit 7259c265e6
2 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,6 @@
APP_ENV=local APP_ENV=local
APP_DEBUG=true APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_KEY=SomeRandomString APP_KEY=SomeRandomString
APP_URL=http://localhost APP_URL=http://localhost

View File

@ -28,6 +28,20 @@
'debug' => env('APP_DEBUG', false), 'debug' => env('APP_DEBUG', false),
/*
|--------------------------------------------------------------------------
| Application Log Level
|--------------------------------------------------------------------------
|
| By default, Laravel will write all log messages to its log file. You
| can specify the minimum log level by setting this value to one of
| the logging levels defined in RFC 5424 and Laravel will log all
| messages greater than or equal to the configured log level.
|
*/
'log_level' => env('APP_LOG_LEVEL', 'debug'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Application URL | Application URL