Package cool.scx.logging.spi.log4j
Class ScxLog4jLoggerContextFactory
java.lang.Object
cool.scx.logging.spi.log4j.ScxLog4jLoggerContextFactory
- All Implemented Interfaces:
org.apache.logging.log4j.spi.LoggerContextFactory
public final class ScxLog4jLoggerContextFactory
extends Object
implements org.apache.logging.log4j.spi.LoggerContextFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.logging.log4j.spi.LoggerContextgetContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) org.apache.logging.log4j.spi.LoggerContextgetContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) voidremoveContext(org.apache.logging.log4j.spi.LoggerContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.logging.log4j.spi.LoggerContextFactory
hasContext, isClassLoaderDependent, shutdown
-
Constructor Details
-
ScxLog4jLoggerContextFactory
public ScxLog4jLoggerContextFactory()
-
-
Method Details
-
getContext
public org.apache.logging.log4j.spi.LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) - Specified by:
getContextin interfaceorg.apache.logging.log4j.spi.LoggerContextFactory
-
getContext
public org.apache.logging.log4j.spi.LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) - Specified by:
getContextin interfaceorg.apache.logging.log4j.spi.LoggerContextFactory
-
removeContext
public void removeContext(org.apache.logging.log4j.spi.LoggerContext context) - Specified by:
removeContextin interfaceorg.apache.logging.log4j.spi.LoggerContextFactory
-