Open panrafal opened 11 years ago
$handler->addErrorCallback() will add a callback that will be fired just right after logging the error.
It might be used to use additional loggers, or to display a nice error page for non-development users.
Returning anything from the callback will immediately stop processing the script (no error display).
The callback is of form:
callback( $code, $message, $errLine, $errFile, $ex )
$handler->addErrorCallback() will add a callback that will be fired just right after logging the error.
It might be used to use additional loggers, or to display a nice error page for non-development users.
Returning anything from the callback will immediately stop processing the script (no error display).
The callback is of form: