loggers.BaseLogger
Method Summary | |
public any |
init([any firewallInstance])
|
public boolean |
escapesMessage()
Returns true if the log messages are escaped |
public array |
getConfigurables()
Returns configurable settings. |
public string |
getDescription()
Returns a description of how this logger works |
public string |
getName()
Returns the name of this logger |
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 |
isPurgeable()
Tells if the logger is purgeable by calling purgeLogs |
public boolean |
isVerbose()
Returns true if verbose logging is enabled. |
public boolean |
isViewable()
If the log is viewable such as a file or DB return true, if not (email, or IM) return false. |
public boolean |
logOnlyBlocked()
Returns true if only blocked events are logged |
public void |
logRequest(numeric level, [any filter], [variablename type="inspectRequest"], [string message=""], [string detail=""])
|
public void |
purgeLogs()
Purges or deletes logs older the the specified number of days |
public void |
setEscapeMessage([boolean escapeMessage])
Turns on or off log message escaping, beware that turning this off may not be a good idea. |
public void |
setLogOnlyBlocked([boolean logOnlyBlocks="false"])
When true logs only blocked events |
public void |
setVerbose(boolean verbose)
Tells the logger to be brief if set to false |
Method Detail |
public boolean escapesMessage()
public array getConfigurables()
public string getDescription()
public string getName()
public string getStorageDescription()
public boolean hasLogReader()
public any init([any firewallInstance])
[any firewallInstance]
public boolean isPurgeable()
public boolean isVerbose()
public boolean isViewable()
public boolean logOnlyBlocked()
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 purgeLogs()
public void setEscapeMessage([boolean escapeMessage])
[boolean escapeMessage]
public void setLogOnlyBlocked([boolean logOnlyBlocks="false"])
[boolean logOnlyBlocks="false"]
public void setVerbose(boolean verbose)
boolean verbose