net.sf.panoptes.module.log4j
Class LogFilter
java.lang.Object
|
+--net.sf.panoptes.module.log4j.LogFilter
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
- public class LogFilter
- extends java.lang.Object
- implements org.apache.commons.collections.Predicate
- Author:
- Dag Liodden
version 0.1
Constructor Summary |
LogFilter(java.lang.String host,
java.lang.String prefix,
org.apache.log4j.Level level)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogFilter
public LogFilter(java.lang.String host,
java.lang.String prefix,
org.apache.log4j.Level level)
evaluate
public boolean evaluate(java.lang.Object input)
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
getHost
public java.lang.String getHost()
- Returns:
getPrefix
public java.lang.String getPrefix()
- Returns:
getLevel
public org.apache.log4j.Level getLevel()
- Returns:
setLevel
public void setLevel(org.apache.log4j.Level level)
- Parameters:
level
-
setPrefix
public void setPrefix(java.lang.String string)
- Parameters:
string
-
Copyright © 2003 . All Rights Reserved.