jSQLLogMessage
extends jLogMessage
in package
class that handles a sql query for a logger.
Tags
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
= ''
Tags
$category
protected
string
$category
the category of the message
Tags
$endTime
protected
mixed
$endTime
= 0
Tags
$message
protected
string
$message
the message
Tags
$startTime
protected
mixed
$startTime
= 0
Tags
$trace
protected
mixed
$trace
= array()
Tags
Methods
__construct()
public
__construct(mixed $message) : mixed
Parameters
- $message : mixed
Tags
Return values
mixed —endQuery()
public
endQuery() : mixed
Tags
Return values
mixed —getCategory()
return the category of the message.
public
getCategory() : string
Tags
Return values
string —category name
getDao()
public
getDao() : mixed
Tags
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
Tags
Return values
string —the message
getMessage()
public
getMessage() : string
Tags
Return values
string —the message
getTime()
public
getTime() : mixed
Tags
Return values
mixed —getTrace()
public
getTrace() : mixed
Tags
Return values
mixed —setRealQuery()
public
setRealQuery(mixed $sql) : mixed
Parameters
- $sql : mixed