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 TypeClassDescriptionclassContextSelectorthat managesAsyncLoggerContextinstances.classReturns 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 ContextSelectorLog4jContextFactory.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 ContextSelectorServer.getContextSelector()Returns theContextSelectorof the currentLog4jContextFactory.Methods in org.apache.logging.log4j.core.jmx with parameters of type ContextSelectorModifier and TypeMethodDescriptionprivate static voidServer.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 TypeInterfaceDescriptioninterfaceContextSelectors that have a name.Classes in org.apache.logging.log4j.core.selector that implement ContextSelectorModifier and TypeClassDescriptionclassReturns either this Thread's context or the default LoggerContext.classThis ContextSelector chooses a LoggerContext based upon the ClassLoader of the caller.classThis class can be used to define a custom logger repository.