| Interface | Description |
|---|---|
| InternalLogger |
The appender is expected to provide the writer with an instance of this
interface, used for logging status and error messages.
|
| ThreadFactory |
Creates and starts a new thread for running the LogWriter.
|
| WriterFactory<C,S> |
Defines a function to create a
LogWriter. |
| Class | Description |
|---|---|
| DefaultThreadFactory |
The standard
ThreadFactory: launches a daemon thread to run normal
writers, runs synchronous writers inline. |
| MessageQueue |
A thread-safe message queue that keeps track of the current number of entries
and optionally discards messages after its size reaches a given threshold.
|
| RetryManager | Deprecated
use
|
| RetryManager2 |
Invokes a function, retrying with a delay until specified time, with optional
exponential (2x) backoff.
|
| Enum | Description |
|---|---|
| MessageQueue.DiscardAction |
Controls how messages are discarded once the threshold is reached.
|
| Exception | Description |
|---|---|
| RetryManager2.TimeoutException |
This exception is thrown by the RetryManager on timeout.
|
Copyright © 2023. All rights reserved.