public class Log4jv2LoggerContextFactory extends Object implements org.apache.logging.log4j.spi.LoggerContextFactory
LoggerContext objects.
See http://logging.apache.org/log4j/2.x/manual/architecture.html
Even if there are scenarios where multiple contexts may be used, this factory
holds single, static Pax Logging-specific LoggerContext| Constructor and Description |
|---|
Log4jv2LoggerContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.logging.log4j.spi.LoggerContext |
getContext(String fqcn,
ClassLoader loader,
Object externalContext,
boolean currentContext) |
org.apache.logging.log4j.spi.LoggerContext |
getContext(String fqcn,
ClassLoader loader,
Object externalContext,
boolean currentContext,
URI configLocation,
String name) |
void |
removeContext(org.apache.logging.log4j.spi.LoggerContext removeContext) |
public org.apache.logging.log4j.spi.LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext)
getContext in interface org.apache.logging.log4j.spi.LoggerContextFactorypublic org.apache.logging.log4j.spi.LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name)
getContext in interface org.apache.logging.log4j.spi.LoggerContextFactorypublic void removeContext(org.apache.logging.log4j.spi.LoggerContext removeContext)
removeContext in interface org.apache.logging.log4j.spi.LoggerContextFactoryCopyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.