| Modifier and Type | Field and Description |
|---|---|
| private static final ErrorHandler | |
| private ErrorHandler | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| protected abstract void | |
| protected final ErrorHandler | |
| protected synchronized boolean | |
| protected synchronized void | |
| public synchronized void | processEvent(final LogEvent
the log event event)Implements org. |
| public synchronized void | setErrorHandler(final ErrorHandler
the errorHandler errorHandler)Implements org. |
| DEFAULT_ERROR_HANDLER | back to summary |
|---|---|
| private static final ErrorHandler DEFAULT_ERROR_HANDLER | |
| m_errorHandler | back to summary |
|---|---|
| private ErrorHandler m_errorHandler | |
| m_isOpen | back to summary |
|---|---|
| private boolean m_isOpen | |
| AbstractTarget | back to summary |
|---|---|
| public AbstractTarget() AbstractTarget constructor. | |
| AbstractTarget | back to summary |
|---|---|
| public AbstractTarget(final ErrorHandler errorHandler) AbstractTarget constructor.
| |
| close | back to summary |
|---|---|
| public synchronized void close() Implements org. Shutdown target. Attempting to write to target after close() will cause errors to be logged. | |
| doProcessEvent | back to summary |
|---|---|
| protected abstract void doProcessEvent(LogEvent event) throws Exception Process a log event, via formatting and outputting it. This should be overidden by subclasses. | |
| getErrorHandler | back to summary |
|---|---|
| protected final ErrorHandler getErrorHandler() Helper method to retrieve ErrorHandler for subclasses.
| |
| isOpen | back to summary |
|---|---|
| protected synchronized boolean isOpen() Return the open state of the target.
| |
| open | back to summary |
|---|---|
| protected synchronized void open() Startup log session. | |
| processEvent | back to summary |
|---|---|
| public synchronized void processEvent(final LogEvent event) Implements org. Process a log event, via formatting and outputting it.
| |
| setErrorHandler | back to summary |
|---|---|
| public synchronized void setErrorHandler(final ErrorHandler errorHandler) Implements org. Provide component with ErrorHandler.
| |