1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- return array(
- /*
- |--------------------------------------------------------------------------
- | Ignored Error Levels
- |--------------------------------------------------------------------------
- |
- | Here you simply specify the error levels that should be ignored by the
- | Laravel error handler. These levels will still be logged; however, no
- | information about about them will be displayed.
- |
- */
- 'ignore' => array(),
- /*
- |--------------------------------------------------------------------------
- | Error Detail
- |--------------------------------------------------------------------------
- |
- | Detailed error messages contain information about the file in which an
- | error occurs, as well as a PHP stack trace containing the call stack.
- | You'll want them when you're trying to debug your application.
- |
- | If your application is in production, you'll want to turn off the error
- | details for enhanced security and user experience since the exception
- | stack trace could contain sensitive information.
- |
- */
- 'detail' => true,
- /*
- |--------------------------------------------------------------------------
- | Error Logging
- |--------------------------------------------------------------------------
- |
- | When error logging is enabled, the "logger" Closure defined below will
- | be called for every error in your application. You are free to log the
- | errors however you want. Enjoy the flexibility.
- |
- */
- 'log' => false,
- /*
- |--------------------------------------------------------------------------
- | Error Logger
- |--------------------------------------------------------------------------
- |
- | Because of the various ways of managing error logging, you get complete
- | flexibility to manage error logging as you see fit. This function will
- | be called anytime an error occurs within your application and error
- | logging is enabled.
- |
- | You may log the error message however you like; however, a simple log
- | solution has been setup for you which will log all error messages to
- | text files within the application storage directory.
- |
- */
- 'logger' => function($exception)
- {
- Log::exception($exception);
- },
- /*
- |--------------------------------------------------------------------------
- | PHP INI Display Errors Setting
- |--------------------------------------------------------------------------
- |
- | Here you may specify the display_errors setting of the PHP.ini file.
- | Typically you may keep this "Off", as Laravel will cleanly handle
- | the display of all errors.
- |
- | However, if you encounter an infamous white screen of death scenario,
- | turning this "On" may help you solve the problem by getting the
- | real error message being thrown by the application.
- |
- */
- 'display' => 'Off',
- );
|