Uses of Interface
org.apache.logging.log4j.core.selector.ContextSelector
Packages that use ContextSelector
Package
Description
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 private implementation classes.
Log4j 2 JMX support.
Collection of OSGi-specific classes for bundles.
Log4j 2 Context Selectors.
-
Uses of ContextSelector in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement ContextSelectorModifier and TypeClassDescriptionclass
ContextSelector
that managesAsyncLoggerContext
instances.class
Returns either this Thread's context or the defaultAsyncLoggerContext
. -
Uses of ContextSelector in org.apache.logging.log4j.core.impl
Fields in org.apache.logging.log4j.core.impl declared as ContextSelectorMethods in org.apache.logging.log4j.core.impl that return ContextSelectorModifier and TypeMethodDescriptionprivate static ContextSelector
Log4jContextFactory.createContextSelector()
Log4jContextFactory.getSelector()
Returns the ContextSelector.Constructors in org.apache.logging.log4j.core.impl with parameters of type ContextSelectorModifierConstructorDescriptionLog4jContextFactory
(ContextSelector selector) Initializes this factory's ContextSelector with the specified selector.Log4jContextFactory
(ContextSelector selector, ShutdownCallbackRegistry shutdownCallbackRegistry) Constructs a Log4jContextFactory using the provided ContextSelector and ShutdownRegistrationStrategy. -
Uses of ContextSelector in org.apache.logging.log4j.core.jmx
Fields in org.apache.logging.log4j.core.jmx declared as ContextSelectorMethods in org.apache.logging.log4j.core.jmx that return ContextSelectorModifier and TypeMethodDescriptionprivate static ContextSelector
Server.getContextSelector()
Returns theContextSelector
of the currentLog4jContextFactory
.Methods in org.apache.logging.log4j.core.jmx with parameters of type ContextSelectorModifier and TypeMethodDescriptionprivate static void
Server.registerContextSelector
(String contextName, ContextSelector selector, MBeanServer mbs, Executor executor) Constructors in org.apache.logging.log4j.core.jmx with parameters of type ContextSelectorModifierConstructorDescriptionContextSelectorAdmin
(String contextName, ContextSelector selector) Constructs a newContextSelectorAdmin
. -
Uses of ContextSelector in org.apache.logging.log4j.core.osgi
Classes in org.apache.logging.log4j.core.osgi that implement ContextSelector -
Uses of ContextSelector in org.apache.logging.log4j.core.selector
Subinterfaces of ContextSelector in org.apache.logging.log4j.core.selectorModifier and TypeInterfaceDescriptioninterface
ContextSelectors that have a name.Classes in org.apache.logging.log4j.core.selector that implement ContextSelectorModifier and TypeClassDescriptionclass
Returns either this Thread's context or the default LoggerContext.class
This ContextSelector chooses a LoggerContext based upon the ClassLoader of the caller.class
This class can be used to define a custom logger repository.