The Logger class/interface.
Located in /Swift/Log.php (line 16)
| Class | Description |
|---|---|
| Swift_Log_DefaultLog | The Default Logger class |
Add a new entry to the log
Add a failed recipient to the list
Empty the log contents
Dump the contents of the log to the browser.
Get the list of failed recipients
Get the current log level.
Get the current maximum allowed log size
Check if the log level includes the one given.
Check if logging is enabled.
Set the log level to one of the constants provided.
Set the maximum size of this log (zero is no limit)
COMMAND
= ">>"
(line 21)
A command type entry
ERROR
= "!!"
(line 29)
An error type entry
LOG_ERRORS
= 1
(line 41)
Only errors are logged.
LOG_EVERYTHING
= 4
(line 53)
Runtime info + SMTP instructions + failures + errors.
LOG_FAILURES
= 2
(line 45)
Errors + sending failures.
LOG_NETWORK
= 3
(line 49)
All SMTP instructions + failures + errors.
LOG_NOTHING
= 0
(line 37)
Logging is off.
NORMAL
= "++"
(line 33)
A standard entry
RESPONSE
= "<<"
(line 25)
A response type entry
Documentation generated on Wed, 26 Mar 2008 20:33:08 +1100 by phpDocumentor 1.3.1