net.sf.logdistiller
Class LogDistillation.Group
java.lang.Object
net.sf.logdistiller.LogDistillation.Group
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- LogDistillation
public class LogDistillation.Group
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogDistillation.Group
public LogDistillation.Group(LogDistiller.Group definition,
LogDistillation.Category category)
getLogdistillation
public LogDistillation getLogdistillation()
getCategory
public LogDistillation.Category getCategory()
setSkip
public void setSkip(boolean skip)
isSkip
public boolean isSkip()
accept
public boolean accept(LogEvent le)
throws IOException
- Check if given LogEvent meet one of the conditions defined.
- Parameters:
le
- LogEvent the LogEvent to check
- Returns:
- boolean
true
if the LogEvent meets a condition
- Throws:
IOException
addLogEvent
protected void addLogEvent(LogEvent le,
Condition condition)
throws IOException
- Add a LogEvent to the current Group.
- Parameters:
le
- LogEventcondition
- the condition that matched the LogEvent
- Throws:
IOException
getDefinition
public LogDistiller.Group getDefinition()
getEventCount
public int getEventCount()
getSavedEventCount
public int getSavedEventCount()
getBytes
public long getBytes()
getLogFile
public File getLogFile()
getMaxSaveCount
public int getMaxSaveCount()
getMaxSaveBytes
public long getMaxSaveBytes()
getPlugins
public LogDistillation.Plugin[] getPlugins()
Copyright © 2004-2009. All Rights Reserved.