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)
AsyncQueueFullPolicy
getRoute
in interface AsyncQueueFullPolicy
backgroundThreadId
- the thread ID of the background thread. Can be compared with the current thread's ID.level
- the level of the log event