add (line 55)
Add a new entry to the log
void
add
(string $text, string $type)
-
string
$text: The information to log
-
string
$type: The type of entry (see the constants: COMMAND, RESPONSE, ERROR, NORMAL)
addFailedRecipient (line 34)
Add a failed recipient to the list
void
addFailedRecipient
(string $address)
-
string
$address: The address of the recipient
clear (line 63)
Empty the log contents
void
clear
()
disable (line 25)
Disable logging
void
disable
()
dump (line 59)
Dump the contents of the log to the browser
void
dump
()
enable (line 21)
Enable logging
void
enable
()
getFailedRecipients (line 39)
Get the list of failed recipients
array
getFailedRecipients
()
getMaxSize (line 49)
Get the current maximum allowed log size
int
getMaxSize
()
isEnabled (line 29)
Check if logging is enabled
void
isEnabled
()
setMaxSize (line 44)
Set the maximum size of this log (zero is no limit)
void
setMaxSize
(int $size)
-
int
$size: The maximum entries