public interface AsyncQueueFullPolicy
AsyncQueueFullPolicyFactory
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.
|
EventRoute getRoute(long backgroundThreadId, Level level)
backgroundThreadId
- the thread ID of the background thread. Can be compared with the current thread's ID.level
- the level of the log eventCopyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.