Jelix 1.7.18

jLogMessage
in package
implements jILogMessage

class that handles a simple message for a logger.

Interfaces, Classes and Traits

jILogMessage
interface for log message. A component which want to log a message can use an object implementing this interface.

Table of Contents

$category  : 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).
getMessage()  : string

Properties

Methods

__construct()

public __construct(mixed $message[, mixed $category = 'default' ]) : mixed
Parameters
$message : mixed
$category : mixed = 'default'
Return values
mixed

getCategory()

return the category of the message.

public getCategory() : string
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
Return values
string

the message

getMessage()

public getMessage() : string
Return values
string

the message

Search results