Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
LogMessage Class Reference

Public Member Functions

 __construct ($message="", $context="", $part="", $level=0, $datetime=null, $extra=null)
 
 getMessage ()
 
 getContext ()
 
 getPart ()
 
 getLevel ()
 
 getExtra ()
 
 getDatetime ()
 
 setMessage ($message)
 
 setContext ($context)
 
 setPart ($part)
 
 setLevel ($level)
 
 setExtra ($extra)
 
 setDatetime ($datetime)
 
 incCount ()
 
 getCount ()
 
 equals (LogMessage $message)
 

Static Public Member Functions

static addMessage (&$messages, LogMessage $newMessage)
 

Private Attributes

 $message
 
 $context
 
 $part
 
 $level
 
 $extra
 
 $datetime
 
 $count =1
 

Detailed Description

Definition at line 5 of file LogMessage.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $message = "",
  $context = "",
  $part = "",
  $level = 0,
  $datetime = null,
  $extra = null 
)

Definition at line 15 of file LogMessage.php.

Member Function Documentation

◆ addMessage()

static addMessage ( $messages,
LogMessage  $newMessage 
)
static

Definition at line 121 of file LogMessage.php.

◆ equals()

equals ( LogMessage  $message)

Definition at line 117 of file LogMessage.php.

◆ getContext()

getContext ( )
Returns
mixed

Definition at line 33 of file LogMessage.php.

◆ getCount()

getCount ( )
Returns
mixed

Definition at line 113 of file LogMessage.php.

◆ getDatetime()

getDatetime ( )
Returns
mixed

Definition at line 61 of file LogMessage.php.

◆ getExtra()

getExtra ( )
Returns
mixed

Definition at line 54 of file LogMessage.php.

◆ getLevel()

getLevel ( )
Returns
mixed

Definition at line 47 of file LogMessage.php.

◆ getMessage()

getMessage ( )
Returns
mixed

Definition at line 26 of file LogMessage.php.

◆ getPart()

getPart ( )
Returns
mixed

Definition at line 40 of file LogMessage.php.

◆ incCount()

incCount ( )

Definition at line 107 of file LogMessage.php.

◆ setContext()

setContext (   $context)
Parameters
mixed$context

Definition at line 75 of file LogMessage.php.

◆ setDatetime()

setDatetime (   $datetime)
Parameters
mixed$datetime

Definition at line 103 of file LogMessage.php.

◆ setExtra()

setExtra (   $extra)
Parameters
mixed$extra

Definition at line 96 of file LogMessage.php.

◆ setLevel()

setLevel (   $level)
Parameters
mixed$level

Definition at line 89 of file LogMessage.php.

◆ setMessage()

setMessage (   $message)
Parameters
mixed$message

Definition at line 68 of file LogMessage.php.

◆ setPart()

setPart (   $part)
Parameters
mixed$part

Definition at line 82 of file LogMessage.php.

Field Documentation

◆ $context

$context
private

Definition at line 8 of file LogMessage.php.

◆ $count

$count =1
private

Definition at line 13 of file LogMessage.php.

◆ $datetime

$datetime
private

Definition at line 12 of file LogMessage.php.

◆ $extra

$extra
private

Definition at line 11 of file LogMessage.php.

◆ $level

$level
private

Definition at line 10 of file LogMessage.php.

◆ $message

$message
private

Definition at line 7 of file LogMessage.php.

◆ $part

$part
private

Definition at line 9 of file LogMessage.php.


The documentation for this class was generated from the following file: