public class LogDistillation.Group extends Object implements Serializable
Constructor and Description |
---|
LogDistillation.Group(LogDistiller.Group definition,
LogDistillation.Category category) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(LogEvent le)
Check if given LogEvent meet one of the conditions defined.
|
protected void |
addLogEvent(LogEvent le,
Condition condition)
Add a LogEvent to the current Group.
|
long |
getBytes() |
LogDistillation.Category |
getCategory() |
LogDistiller.Group |
getDefinition() |
int |
getEventCount() |
LogDistillation |
getLogdistillation() |
File |
getLogFile() |
long |
getMaxSaveBytes() |
int |
getMaxSaveCount() |
LogDistillation.Plugin[] |
getPlugins() |
int |
getSavedEventCount() |
boolean |
isSkip() |
void |
setSkip(boolean skip) |
public LogDistillation.Group(LogDistiller.Group definition, LogDistillation.Category category)
public LogDistillation getLogdistillation()
public LogDistillation.Category getCategory()
public void setSkip(boolean skip)
public boolean isSkip()
public boolean accept(LogEvent le) throws IOException
le
- LogEvent the LogEvent to checktrue
if the LogEvent meets a conditionIOException
protected void addLogEvent(LogEvent le, Condition condition) throws IOException
le
- LogEventcondition
- the condition that matched the LogEventIOException
public LogDistiller.Group getDefinition()
public int getEventCount()
public int getSavedEventCount()
public long getBytes()
public File getLogFile()
public int getMaxSaveCount()
public long getMaxSaveBytes()
public LogDistillation.Plugin[] getPlugins()
Copyright © 2004–2014. All rights reserved.