public static
|
#
register( )
Registers the class as php-error/exception handler.
Registers the class as php-error/exception handler.
|
|
public static
|
#
unregister( )
Unregisters the logger instance as php-error/exception handler.
Unregisters the logger instance as php-error/exception handler.
|
|
public static
|
#
handleException( Throwable|Exception $exception )
Handles the given Exception.
Handles the given Exception.
Parameters
- $exception
- The Exception to handle
|
|
public static
|
#
handleError( integer $errno, string $errstr, string $errfile, integer $errline )
Handles a error message.
Parameters
- $errno
- The error code to handle
- $errstr
- The error message
- $errfile
- The file in which the error occured
- $errline
- The line of the file in which the error occured
Throws
ErrorException ErrorException
|
|
public static
|
#
shutdown( )
Shutdown-handler which is called at the very end of the request.
Shutdown-handler which is called at the very end of the request.
|
|
public static
string
|
#
getErrorType( integer $errno )
Get a human readable string representing the given php error code.
Get a human readable string representing the given php error code.
Parameters
- $errno
- a php error code, e.g. E_ERROR
Returns
string string
|
|