Class EquinoxLoggerContextFactory
java.lang.Object
com.github.marschall.log4j.equinox.EquinoxLoggerContextFactory
- All Implemented Interfaces:
LoggerContextFactory
Equinox specific
LoggerContextFactory
implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContext
(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) getContext
(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) boolean
void
removeContext
(LoggerContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.spi.LoggerContextFactory
hasContext, shutdown
-
Constructor Details
-
EquinoxLoggerContextFactory
public EquinoxLoggerContextFactory()Default constructor called by Log4j2
-
-
Method Details
-
getContext
public LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) - Specified by:
getContext
in interfaceLoggerContextFactory
-
getContext
public LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) - Specified by:
getContext
in interfaceLoggerContextFactory
-
isClassLoaderDependent
public boolean isClassLoaderDependent()- Specified by:
isClassLoaderDependent
in interfaceLoggerContextFactory
-
removeContext
- Specified by:
removeContext
in interfaceLoggerContextFactory
-