public class LogDistiller extends Object implements Serializable
LogDistillation
,
DOMConfigurator
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
LogDistiller.Category
Definition of a category, which will contain groups.
|
static class |
LogDistiller.Group
Definition of a group of events: events corresponding to its conditions will be collected in it.
|
static class |
LogDistiller.LogType
Definition of the log type used for this logdistiller configuration, with its parameters.
|
static class |
LogDistiller.Output
Definition of the global output.
|
static class |
LogDistiller.Plugin |
static class |
LogDistiller.Report
Definition of a report, with its publisher, formant and other params.
|
Constructor and Description |
---|
LogDistiller(String id,
String description,
LogDistiller.LogType logtype,
LogDistiller.Output output,
LogDistiller.Category[] categories,
LogDistiller.Group[] groups) |
LogDistiller(String id,
String description,
LogDistiller.LogType logtype,
LogDistiller.Output output,
LogDistiller.Category[] categories,
LogDistiller.Group[] groups,
boolean old) |
Modifier and Type | Method and Description |
---|---|
void |
addWarning(String msg) |
void |
buildCompatibilityLogType(String type)
To keep old rules configuration files running (without logtype element), create a LogType instance from the type
provided.
|
void |
checkLogtypeAttributes(LogType.Description description) |
LogDistiller.Category[] |
getCategories() |
String |
getDescription() |
LogDistiller.Group[] |
getGroups() |
String |
getId() |
LogDistiller.LogType |
getLogType() |
LogDistiller.Output |
getOutput() |
static String |
getVersion() |
List<String> |
getWarnings() |
boolean |
isOld()
is this LogDistiller read from an old configuration file (DTD older than 1.3)?
|
void |
updateRef()
Update the references from internal objects to their parent LogDistiller instance and other referenced object not
initialized at creation time.
|
public LogDistiller(String id, String description, LogDistiller.LogType logtype, LogDistiller.Output output, LogDistiller.Category[] categories, LogDistiller.Group[] groups, boolean old)
public LogDistiller(String id, String description, LogDistiller.LogType logtype, LogDistiller.Output output, LogDistiller.Category[] categories, LogDistiller.Group[] groups)
public void updateRef()
public String getDescription()
public LogDistiller.LogType getLogType()
public boolean isOld()
public void buildCompatibilityLogType(String type)
logevent.myParam
global parameter is inserted as myParam
.type
- String the log type to considerpublic LogDistiller.Output getOutput()
public LogDistiller.Category[] getCategories()
public LogDistiller.Group[] getGroups()
public List<String> getWarnings()
public void addWarning(String msg)
public void checkLogtypeAttributes(LogType.Description description)
public static String getVersion()
Copyright © 2004–2014. All rights reserved.