Jelix 1.8.14-pre

jLogMessage
in package
implements jILogMessage

class that handles a simple message for a logger.

Tags

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'
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

getMessage()

public getMessage() : string
Tags
Return values
string

the message

Search results