public class SimpleContextSelector extends Object implements org.apache.logging.log4j.core.selector.ContextSelector
ContextSelector which always returns the same MuleLoggerContext created through a
MuleLog4jContextFactory.
Log separation will always be disabled on the returned context.
| Constructor and Description |
|---|
SimpleContextSelector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.logging.log4j.core.LoggerContext |
getContext(String fqcn,
ClassLoader loader,
boolean currentContext) |
org.apache.logging.log4j.core.LoggerContext |
getContext(String fqcn,
ClassLoader loader,
boolean currentContext,
URI configLocation) |
List<org.apache.logging.log4j.core.LoggerContext> |
getLoggerContexts() |
void |
removeContext(org.apache.logging.log4j.core.LoggerContext context) |
public org.apache.logging.log4j.core.LoggerContext getContext(String fqcn, ClassLoader loader, boolean currentContext)
getContext in interface org.apache.logging.log4j.core.selector.ContextSelectorpublic org.apache.logging.log4j.core.LoggerContext getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation)
getContext in interface org.apache.logging.log4j.core.selector.ContextSelectorpublic List<org.apache.logging.log4j.core.LoggerContext> getLoggerContexts()
getLoggerContexts in interface org.apache.logging.log4j.core.selector.ContextSelectorpublic void removeContext(org.apache.logging.log4j.core.LoggerContext context)
removeContext in interface org.apache.logging.log4j.core.selector.ContextSelectorCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.