mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding more documentation.
This commit is contained in:
parent
55623ace92
commit
e88cdc8a01
1 changed files with 12 additions and 0 deletions
|
@ -49,6 +49,18 @@
|
|||
* Finally, in your `app/config/bootstrap.php` you can configure use `set_exception_handler()`
|
||||
* to take total control over application exception handling.
|
||||
*
|
||||
* #### Logging exceptions
|
||||
*
|
||||
* You can log all the exceptions that are dealt with by ErrorHandler by setting `Exception.log` to true
|
||||
* in your core.php. Enabling this will log every exception to CakeLog and the configured loggers.
|
||||
*
|
||||
* ### PHP errors
|
||||
*
|
||||
* Error handler also provides the built in features for handling php errors (trigger_error).
|
||||
* While in debug mode, errors will be output to the screen using debugger. While in production mode,
|
||||
* errors will be logged to CakeLog. You can control which errors are logged by setting
|
||||
* `Error.level` in your core.php.
|
||||
*
|
||||
* @package cake
|
||||
* @subpackage cake.cake.libs
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue