| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Priority | |
| private LogTarget[] | m_targets
Log targets in filter chain |
| Access | Constructor and Description |
|---|---|
| public | PriorityFilteringTarget(Priority
The priority used to filter priority, boolean see AbstractWrappingTarget closeWrappedTarget)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | close()
Overrides org. Implements org. |
| protected void | doProcessEvent(LogEvent
the log event event)Implements abstract org. |
| m_closeWrapped | back to summary |
|---|---|
| private final boolean m_closeWrapped | |
| m_priority | back to summary |
|---|---|
| private final Priority m_priority | |
| m_targets | back to summary |
|---|---|
| private LogTarget[] m_targets Log targets in filter chain | |
| PriorityFilteringTarget | back to summary |
|---|---|
public PriorityFilteringTarget(Priority priority, boolean closeWrappedTarget)
| |
| PriorityFilteringTarget | back to summary |
|---|---|
public PriorityFilteringTarget(Priority priority)
| |
| addTarget | back to summary |
|---|---|
| public void addTarget(final LogTarget target) Add a new target to output chain.
| |
| close | back to summary |
|---|---|
| public void close() Overrides org. Implements org. Doc from org. Shutdown target. Attempting to write to target after close() will cause errors to be logged. | |
| doProcessEvent | back to summary |
|---|---|
| protected void doProcessEvent(LogEvent event) throws Exception Implements abstract org. Doc from org. Process a log event, via formatting and outputting it. This should be overidden by subclasses. | |