org.apache.log.output
public abstract class AbstractWrappingTarget extends AbstractTarget
org.apache.log.util.Closeable
.
See Also: Closeable
Field Summary | |
---|---|
boolean | m_closeWrapped |
LogTarget | m_wrappedLogTarget |
Constructor Summary | |
---|---|
AbstractWrappingTarget(LogTarget logTarget, boolean closeWrappedTarget)
Creation of a new wrapping log target.
| |
AbstractWrappingTarget(LogTarget logTarget)
Creation of a new wrapping log target. |
Method Summary | |
---|---|
void | close() |
protected LogTarget | getLogTarget()
Return the target for subclasses |
Parameters: logTarget the underlying target closeWrappedTarget boolean flag indicating whether the wrapped log target
should be closed when this target is closed. Note: This flag has no
effect unless the underlying target implements org.apache.log.util.Closeable
.
See Also: Closeable
Parameters: logTarget the underlying target