Package | Description |
---|---|
org.jboss.logmanager |
Modifier and Type | Class and Description |
---|---|
class |
CallerClassLoaderLogContextSelector
A log context selector which chooses a log context based on the caller's classloader.
|
class |
ClassLoaderLogContextSelector
A log context selector which chooses a log context based on the caller's classloader.
|
class |
ContextClassLoaderLogContextSelector
A log context selector which chooses a log context based on the thread context classloader.
|
class |
ThreadLocalLogContextSelector
A log context selector which stores the chosen log context in a thread-local.
|
Modifier and Type | Field and Description |
---|---|
static LogContextSelector |
LogContext.DEFAULT_LOG_CONTEXT_SELECTOR
The default log context selector, which always returns the system log context.
|
Modifier and Type | Method and Description |
---|---|
static LogContextSelector |
LogContext.getLogContextSelector()
Returns the currently set log context selector.
|
LogContextSelector |
LogContextSelectorService.getSelector()
Get the selector to install.
|
Modifier and Type | Method and Description |
---|---|
static void |
LogContext.setLogContextSelector(LogContextSelector newSelector)
Set a new log context selector.
|
void |
LogContextSelectorService.setSelector(LogContextSelector selector)
Set the selector to install.
|
Constructor and Description |
---|
CallerClassLoaderLogContextSelector(LogContextSelector defaultSelector)
Construct a new instance.
|
CallerClassLoaderLogContextSelector(LogContextSelector defaultSelector,
boolean checkParentClassLoaders)
Construct a new instance.
|
ClassLoaderLogContextSelector(LogContextSelector defaultSelector)
Construct a new instance.
|
ClassLoaderLogContextSelector(LogContextSelector defaultSelector,
boolean checkParentClassLoaders)
Construct a new instance.
|
ContextClassLoaderLogContextSelector(LogContextSelector defaultSelector)
Construct a new instance.
|
ThreadLocalLogContextSelector(LogContextSelector delegate)
Construct a new instance.
|
ThreadLocalLogContextSelector(Object securityKey,
LogContextSelector delegate)
Construct a new instance.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.