loggers.BaseLogger | +--loggers.CFMailLogger
Method Summary | |
public void |
addRecipient([string email])
Add an email address to send to |
public array |
getConfigurables()
Returns configurable settings. |
public string |
getStorageDescription()
Returns a description of where the data is stored, eg datasource name. |
public boolean |
isViewable()
If the log is viewable such as a file or DB return true, if not (email, or IM) return false. |
public void |
logRequest(numeric level, [any filter], [variablename type="inspectRequest"], [string message=""], [string detail=""])
|
public void |
setFromAddress(string email)
|
public void |
setRecipientList(string emailList)
A list of email addresses to send logs to |
public void |
setSMTPServer(string smtpServer, [string smtpUsername=""], [string smtpPassword=""])
Set the SMTP Server username, and password |
Methods inherited from loggers.BaseLogger |
logOnlyBlocked,
init,
hasLogReader,
setLogOnlyBlocked,
setEscapeMessage,
getDescription,
escapesMessage,
getName,
isPurgeable,
setVerbose,
isVerbose,
purgeLogs
|
Method Detail |
public void addRecipient([string email])
[string email]
public array getConfigurables()
public string getStorageDescription()
public boolean isViewable()
public void logRequest(numeric level, [any filter], [variablename type="inspectRequest"], [string message=""], [string detail=""])
numeric level
[any filter]
- a Filter object[variablename type="inspectRequest"]
[string message=""]
[string detail=""]
public void setFromAddress(string email)
string email
public void setRecipientList(string emailList)
string emailList
public void setSMTPServer(string smtpServer, [string smtpUsername=""], [string smtpPassword=""])
string smtpServer
- Host Name or IP Address of SMTP Server[string smtpUsername=""]
- User Name for SMTP Server[string smtpPassword=""]
- Password for SMTP Server