Uses of Interface
org.apache.logging.log4j.spi.LoggerContext
-
Packages that use LoggerContext Package Description org.apache.log4j Log4j 1.x compatibility layer.org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.legacy.core org.apache.logging.log4j Public API for Log4j 2.org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.impl Log4j 2 private implementation classes.org.apache.logging.log4j.core.selector Log4j 2 Context Selectors.org.apache.logging.log4j.jcl Log4j 2 adapter for Commons Logging.org.apache.logging.log4j.jpl org.apache.logging.log4j.jul org.apache.logging.log4j.simple Simple logging implementation.org.apache.logging.log4j.spi Internal interfaces and classes to be used by authors of logging implementations or for internal use by API classes.org.apache.logging.log4j.taglib Classes (JSP tags) to enable logging in JSPs without using Java scripting.org.apache.logging.log4j.tojul Java JDK java.util.logging (JUL) bridge.org.apache.logging.slf4j SLF4J support. -
-
Uses of LoggerContext in org.apache.log4j
Fields in org.apache.log4j with type parameters of type LoggerContext Modifier and Type Field Description private static java.util.WeakHashMap<LoggerContext,java.util.concurrent.ConcurrentMap<java.lang.String,Logger>>Hierarchy. CONTEXT_MAPMethods in org.apache.log4j that return LoggerContext Modifier and Type Method Description (package private) static LoggerContextHierarchy. getContext()(package private) LoggerContextHierarchy. getContext(java.lang.ClassLoader classLoader)protected LoggerContextHierarchy.PrivateLoggerAdapter. getContext()static LoggerContextHierarchy.PrivateLogManager. getContext()(package private) static LoggerContextLogManager. getContext(java.lang.ClassLoader classLoader)Gets a LoggerContext.Methods in org.apache.log4j with parameters of type LoggerContext Modifier and Type Method Description (package private) LoggerHierarchy. exists(java.lang.String name, LoggerContext loggerContext)private LoggerHierarchy. getInstance(LoggerContext context, java.lang.String name)private LoggerHierarchy. getInstance(LoggerContext context, java.lang.String name, Hierarchy.PrivateLoggerAdapter factory)private LoggerHierarchy. getInstance(LoggerContext context, java.lang.String name, LoggerFactory factory)(package private) static java.util.concurrent.ConcurrentMap<java.lang.String,Logger>Hierarchy. getLoggersMap(LoggerContext context)protected LoggerHierarchy.PrivateLoggerAdapter. newLogger(java.lang.String name, LoggerContext context)(package private) voidHierarchy. resetConfiguration(LoggerContext loggerContext)(package private) voidHierarchy. shutdown(LoggerContext context)Constructors in org.apache.log4j with parameters of type LoggerContext Constructor Description Category(LoggerContext context, java.lang.String name)Constructor used by Logger to specify a LoggerContext.Logger(LoggerContext context, java.lang.String name) -
Uses of LoggerContext in org.apache.log4j.config
Constructors in org.apache.log4j.config with parameters of type LoggerContext Constructor Description PropertiesConfiguration(LoggerContext loggerContext, java.util.Properties properties)Constructs a new instance. -
Uses of LoggerContext in org.apache.log4j.legacy.core
Methods in org.apache.log4j.legacy.core that return LoggerContext Modifier and Type Method Description static LoggerContextCategoryUtil. getLoggerContext(Logger logger)Delegates toLogger.getContext()if appropriate.Methods in org.apache.log4j.legacy.core with parameters of type LoggerContext Modifier and Type Method Description static voidContextUtil. reconfigure(LoggerContext loggerContext)Delegates toLoggerContext.reconfigure()if appropriate.static voidContextUtil. shutdown(LoggerContext loggerContext)Delegates toLoggerContext.close()if appropriate. -
Uses of LoggerContext in org.apache.logging.log4j
Methods in org.apache.logging.log4j that return LoggerContext Modifier and Type Method Description static LoggerContextLogManager. getContext()Returns the current LoggerContext.static LoggerContextLogManager. getContext(boolean currentContext)Returns a LoggerContext.static LoggerContextLogManager. getContext(java.lang.ClassLoader loader, boolean currentContext)Returns a LoggerContext.static LoggerContextLogManager. getContext(java.lang.ClassLoader loader, boolean currentContext, java.lang.Object externalContext)Returns a LoggerContext.static LoggerContextLogManager. getContext(java.lang.ClassLoader loader, boolean currentContext, java.lang.Object externalContext, java.net.URI configLocation)Returns a LoggerContext.static LoggerContextLogManager. getContext(java.lang.ClassLoader loader, boolean currentContext, java.lang.Object externalContext, java.net.URI configLocation, java.lang.String name)Returns a LoggerContext.static LoggerContextLogManager. getContext(java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)Returns a LoggerContext.protected static LoggerContextLogManager. getContext(java.lang.String fqcn, boolean currentContext)Returns a LoggerContextprotected static LoggerContextLogManager. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext)Returns a LoggerContextprotected static LoggerContextLogManager. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation, java.lang.String name)Returns a LoggerContextMethods in org.apache.logging.log4j with parameters of type LoggerContext Modifier and Type Method Description static voidLogManager. shutdown(LoggerContext context)Shutdown the logging system if the logging system supports it. -
Uses of LoggerContext in org.apache.logging.log4j.core
Classes in org.apache.logging.log4j.core that implement LoggerContext Modifier and Type Class Description classLoggerContextThe LoggerContext is the anchor for the logging system. -
Uses of LoggerContext in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LoggerContext Modifier and Type Class Description classAsyncLoggerContextLoggerContextthat createsAsyncLoggerobjects. -
Uses of LoggerContext in org.apache.logging.log4j.core.impl
Methods in org.apache.logging.log4j.core.impl with parameters of type LoggerContext Modifier and Type Method Description voidLog4jContextFactory. removeContext(LoggerContext context)Removes knowledge of a LoggerContext. -
Uses of LoggerContext in org.apache.logging.log4j.core.selector
Methods in org.apache.logging.log4j.core.selector with parameters of type LoggerContext Modifier and Type Method Description voidClassLoaderContextSelector. contextShutdown(LoggerContext loggerContext) -
Uses of LoggerContext in org.apache.logging.log4j.jcl
Methods in org.apache.logging.log4j.jcl that return LoggerContext Modifier and Type Method Description protected LoggerContextLogAdapter. getContext()Methods in org.apache.logging.log4j.jcl with parameters of type LoggerContext Modifier and Type Method Description protected org.apache.commons.logging.LogLogAdapter. newLogger(java.lang.String name, LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.jpl
Methods in org.apache.logging.log4j.jpl that return LoggerContext Modifier and Type Method Description protected LoggerContextLog4jSystemLoggerAdapter. getContext()Methods in org.apache.logging.log4j.jpl with parameters of type LoggerContext Modifier and Type Method Description protected java.lang.System.LoggerLog4jSystemLoggerAdapter. newLogger(java.lang.String name, LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.jul
Methods in org.apache.logging.log4j.jul that return LoggerContext Modifier and Type Method Description protected LoggerContextAbstractLoggerAdapter. getContext()Methods in org.apache.logging.log4j.jul with parameters of type LoggerContext Modifier and Type Method Description protected java.util.logging.LoggerApiLoggerAdapter. newLogger(java.lang.String name, LoggerContext context)protected java.util.logging.LoggerCoreLoggerAdapter. newLogger(java.lang.String name, LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.simple
Classes in org.apache.logging.log4j.simple that implement LoggerContext Modifier and Type Class Description classSimpleLoggerContextA simpleLoggerContextimplementation.Methods in org.apache.logging.log4j.simple that return LoggerContext Modifier and Type Method Description LoggerContextSimpleLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext)LoggerContextSimpleLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, java.net.URI configLocation, java.lang.String name)Methods in org.apache.logging.log4j.simple with parameters of type LoggerContext Modifier and Type Method Description voidSimpleLoggerContextFactory. removeContext(LoggerContext removeContext) -
Uses of LoggerContext in org.apache.logging.log4j.spi
Fields in org.apache.logging.log4j.spi declared as LoggerContext Modifier and Type Field Description static LoggerContext[]LoggerContext. EMPTY_ARRAYEmpty array.Fields in org.apache.logging.log4j.spi with type parameters of type LoggerContext Modifier and Type Field Description protected java.util.Map<LoggerContext,java.util.concurrent.ConcurrentMap<java.lang.String,L>>AbstractLoggerAdapter. registryA map to store loggers for their given LoggerContexts.Methods in org.apache.logging.log4j.spi that return LoggerContext Modifier and Type Method Description protected abstract LoggerContextAbstractLoggerAdapter. getContext()Gets theLoggerContextthat should be used to look up or create loggers.protected LoggerContextAbstractLoggerAdapter. getContext(java.lang.Class<?> callerClass)Gets theLoggerContextassociated with the given caller class.LoggerContextLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext)Creates aLoggerContext.LoggerContextLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, java.net.URI configLocation, java.lang.String name)Creates aLoggerContext.Methods in org.apache.logging.log4j.spi that return types with arguments of type LoggerContext Modifier and Type Method Description java.util.Set<LoggerContext>AbstractLoggerAdapter. getLoggerContexts()For unit testing.Methods in org.apache.logging.log4j.spi with parameters of type LoggerContext Modifier and Type Method Description voidAbstractLoggerAdapter. contextShutdown(LoggerContext loggerContext)voidLoggerContextShutdownAware. contextShutdown(LoggerContext loggerContext)java.util.concurrent.ConcurrentMap<java.lang.String,L>AbstractLoggerAdapter. getLoggersInContext(LoggerContext context)Gets or creates the ConcurrentMap of named loggers for a given LoggerContext.protected abstract LAbstractLoggerAdapter. newLogger(java.lang.String name, LoggerContext context)Creates a new named logger for a givenLoggerContext.voidLoggerContextFactory. removeContext(LoggerContext context)Removes knowledge of a LoggerContext. -
Uses of LoggerContext in org.apache.logging.log4j.taglib
Classes in org.apache.logging.log4j.taglib that implement LoggerContext Modifier and Type Class Description (package private) classLog4jTaglibLoggerContextThis bridge between the tag library and the Log4j API ensures that instances ofLog4jTaglibLoggerare appropriately held in memory and not constantly recreated. -
Uses of LoggerContext in org.apache.logging.log4j.tojul
Classes in org.apache.logging.log4j.tojul that implement LoggerContext Modifier and Type Class Description (package private) classJULLoggerContextImplementation of Log4jLoggerContextSPI.Fields in org.apache.logging.log4j.tojul declared as LoggerContext Modifier and Type Field Description private static LoggerContextJULLoggerContextFactory. contextMethods in org.apache.logging.log4j.tojul that return LoggerContext Modifier and Type Method Description LoggerContextJULLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext)LoggerContextJULLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, java.net.URI configLocation, java.lang.String name)Methods in org.apache.logging.log4j.tojul with parameters of type LoggerContext Modifier and Type Method Description voidJULLoggerContextFactory. removeContext(LoggerContext ignored) -
Uses of LoggerContext in org.apache.logging.slf4j
Classes in org.apache.logging.slf4j that implement LoggerContext Modifier and Type Class Description classSLF4JLoggerContextFields in org.apache.logging.slf4j declared as LoggerContext Modifier and Type Field Description private static LoggerContextSLF4JLoggerContextFactory. contextMethods in org.apache.logging.slf4j that return LoggerContext Modifier and Type Method Description protected LoggerContextLog4jLoggerFactory. getContext()LoggerContextSLF4JLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext)LoggerContextSLF4JLoggerContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, java.net.URI configLocation, java.lang.String name)private LoggerContextLog4jLoggerFactory. validateContext(LoggerContext context)Methods in org.apache.logging.slf4j with parameters of type LoggerContext Modifier and Type Method Description protected org.slf4j.LoggerLog4jLoggerFactory. newLogger(java.lang.String name, LoggerContext context)voidSLF4JLoggerContextFactory. removeContext(LoggerContext ignored)private LoggerContextLog4jLoggerFactory. validateContext(LoggerContext context)
-