this class is formatting an error message for a logger
| package |
jelix |
|---|
__construct(string $category, integer $code, string $message, string $file, integer $line, array $trace)
stringcategory of the message (error, warning...)
integererror code
stringerror message
stringfile path + file name where the error appeared
integerthe line where the error appeared
arraystack trace
getCategory() : string
stringcategory of the message (error, warning...)
getCode() : string
stringerror code
getFile() : string
stringfile path + file name where the error appeared
getFormatedMessage() : string
stringformated error message
getLine() : integer
integerthe line where the error appeared
getMessage() : string
stringerror message
getTrace() : array
arraythe stack trace
sanitizeParams( $params)
setFormat(string $format)
string
category :
file :
line :
trace :
code :
format :