jSQLLogMessage
extends jLogMessage
in package
class that handles a sql query for a logger.
Table of Contents
- $originalQuery : mixed
- $category : string
- $endTime : mixed
- $message : string
- $startTime : mixed
- $trace : mixed
- __construct() : mixed
- endQuery() : mixed
- getCategory() : string
- return the category of the message.
- getDao() : mixed
- getFormatedMessage() : string
- return the full message, formated for simple text output (it can contain informations other than the message itself).
- getMessage() : string
- getTime() : mixed
- getTrace() : mixed
- setRealQuery() : mixed
Properties
$originalQuery
public
mixed
$originalQuery
= ''
$category
protected
string
$category
the category of the message
$endTime
protected
mixed
$endTime
= 0
$message
protected
string
$message
the message
$startTime
protected
mixed
$startTime
= 0
$trace
protected
mixed
$trace
= array()
Methods
__construct()
public
__construct(mixed $message) : mixed
Parameters
- $message : mixed
Return values
mixed —endQuery()
public
endQuery() : mixed
Return values
mixed —getCategory()
return the category of the message.
public
getCategory() : string
Return values
string —category name
getDao()
public
getDao() : mixed
Return values
mixed —getFormatedMessage()
return the full message, formated for simple text output (it can contain informations other than the message itself).
public
getFormatedMessage() : string
Return values
string —the message
getMessage()
public
getMessage() : string
Return values
string —the message
getTime()
public
getTime() : mixed
Return values
mixed —getTrace()
public
getTrace() : mixed
Return values
mixed —setRealQuery()
public
setRealQuery(mixed $sql) : mixed
Parameters
- $sql : mixed