loggers.BaseLogger | +--loggers.DBLogger
Method Summary | |
public any |
init([any firewallInstance])
|
public string |
getDatasourceName()
Returns the name of the datasource passed into setDatasource |
public string |
getDatasourceType()
Returns the database type passed into setDatasource |
public BaseLogReader |
getLogReader()
I return the log reader |
public string |
getStorageDescription()
Returns a description of where the data is stored, eg datasource name. |
public boolean |
hasLogReader()
If this logger has an associated log reader, return true |
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 |
setDatasource(any datasource, [any username=""], [any password=""], [any dbtype=""])
Sets the datasource name. |
Methods inherited from loggers.BaseLogger |
escapesMessage,
logOnlyBlocked,
setVerbose,
setEscapeMessage,
isVerbose,
setLogOnlyBlocked
|
Method Detail |
public string getDatasourceName()
public string getDatasourceType()
public BaseLogReader getLogReader()
public string getStorageDescription()
public boolean hasLogReader()
public any init([any firewallInstance])
[any firewallInstance]
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 setDatasource(any datasource, [any username=""], [any password=""], [any dbtype=""])
any datasource
- The name of a valid datasource[any username=""]
- Optional, the datasource username[any password=""]
- Optional, the datasource password[any dbtype=""]
- mysql, sqlserver, or derby