public class DefaultAsyncQueueFullPolicy extends java.lang.Object implements AsyncQueueFullPolicy
| Constructor and Description |
|---|
DefaultAsyncQueueFullPolicy() |
| Modifier and Type | Method and Description |
|---|---|
EventRoute |
getRoute(long backgroundThreadId,
Level level)
Returns the appropriate route for the current log event, given the specified parameters.
|
public EventRoute getRoute(long backgroundThreadId, Level level)
AsyncQueueFullPolicygetRoute in interface AsyncQueueFullPolicybackgroundThreadId - the thread ID of the background thread. Can be compared with the current thread's ID.level - the level of the log event