Log Class provided by System to manage log handlers.
| package |
SYSTEM\LOG |
|---|
__error_handler(integer $code, string $message, string $file, string $line, boolean $thrown = true) : boolean
integerErrorcode
stringError Message
stringError File
stringError File-Line
booleanWas the Error thrown?
booleanReturns true or false
__exception_handler(\Exception $E, boolean $thrown = true) : boolean
\ExceptionThrown Execption to be handled
booleanWas the Exception thrown?
booleanReturns true or false depending on thrown
__fatal_error_handler(string $bufferContent, boolean $thrown = true) : string
stringWebsite contens before sent to user
booleanWas the Error thrown?
stringReturns the buffercontent or an json error.
__shutdown_handler(boolean $thrown = true) : boolean
booleanWas the Error thrown?
booleanReturns true or false
call_handlers(\Exception $E, boolean $thrown = true) : boolean
\ExceptionThrown Execption to be handled
booleanWas the Exception thrown?
booleanReturns true or false.
registerHandler(\SYSTEM\LOG\class $handler) : null
\SYSTEM\LOG\classClassname of the handler to be registered
nullReturns null.
HANDLER_FUNC_CALL
handlers :