jLogDumpMessage
extends jLogMessage
in package
class that handles a dump of a php value, for a logger.
Tags
Table of Contents
- $category : string
- $label : string
- $message : string
- __construct() : mixed
- getCategory() : string
- return the category of the message.
- getFormatedMessage() : string
- return the full message, formated for simple text output (it can contain informations other than the message itself).
- getLabel() : mixed
- getMessage() : string
Properties
$category
protected
string
$category
the category of the message
Tags
$label
protected
string
$label
the additionnal label
Tags
$message
protected
string
$message
the message
Tags
Methods
__construct()
public
__construct(mixed $obj[, mixed $label = '' ][, mixed $category = 'default' ]) : mixed
Parameters
- $obj : mixed
- $label : mixed = ''
- $category : mixed = 'default'
Tags
Return values
mixed —getCategory()
return the category of the message.
public
getCategory() : string
Tags
Return values
string —category name
getFormatedMessage()
return the full message, formated for simple text output (it can contain informations other than the message itself).
public
getFormatedMessage() : string
Tags
Return values
string —the message
getLabel()
public
getLabel() : mixed
Tags
Return values
mixed —getMessage()
public
getMessage() : string
Tags
Return values
string —the message