| org.jzonic.jlo.filter.LogFilter
All known Subclasses: org.jzonic.jlo.filter.TextFilter, org.jzonic.jlo.filter.RegExFilter,
LogFilter | public interface LogFilter (Code) | | This interface describes a LogFilter. Such a filter
can be used with a Logger or Channel or LogPipe.
If the given message that should be logged matches
the criterias the filter will return true and the
request will be send to the LogProcessor.
author: Andreas Mecky andreasmecky@yahoo.de |
Method Summary | |
public boolean | match(String message) This method will check if message matches. | public void | setParameters(Map parameter) This method is used by the XMLFileReader. |
match | public boolean match(String message)(Code) | | This method will check if message matches.
Parameters: message - the message as text true if there is a match |
setParameters | public void setParameters(Map parameter)(Code) | | This method is used by the XMLFileReader. All
tags
are put in the Map and the filter can grab out
all parameters it needs.
Parameters: parameter - a Map with key value pairs of names and values |
|
|