FuseGuard Logo

fuseguard.components.loggers
Component CFLogLogger

loggers.BaseLogger
  |
  +--loggers.CFLogLogger

Logs to filesystem using the cflog tag.

Method Summary
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 setLogFileName(any file_name)
          Sets the log file name. Default value is foundeo_firewall, which will log to the CF server logs/foundeo_firewall.log

Methods inherited from loggers.BaseLogger
init, escapesMessage, logOnlyBlocked, setVerbose, setEscapeMessage, isVerbose, setLogOnlyBlocked, hasLogReader
 

Method Detail

getStorageDescription

public string getStorageDescription()
Returns a description of where the data is stored, eg datasource name.


isViewable

public boolean isViewable()
If the log is viewable such as a file or DB return true, if not (email, or IM) return false.


logRequest

public void logRequest(numeric level, [any filter], [variablename type="inspectRequest"], [string message=""], [string detail=""])
Parameters:
numeric level
[any filter] - a Filter object
[variablename type="inspectRequest"]
[string message=""]
[string detail=""]

setLogFileName

public void setLogFileName(any file_name)
Sets the log file name. Default value is foundeo_firewall, which will log to the CF server logs/foundeo_firewall.log

Parameters:
any file_name - No file extension is required.