Uses of Interface
org.apache.logging.log4j.spi.LoggerContext
Packages that use LoggerContext
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Public API for Log4j 2.
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 private implementation classes.
Log4j 2 Context Selectors.
Log4j 2 adapter for Commons Logging.
Simple logging implementation.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
Classes (JSP tags) to enable logging in JSPs without using Java scripting.
Java JDK java.util.logging (JUL) bridge.
SLF4J support.
-
Uses of LoggerContext in org.apache.log4j
Fields in org.apache.log4j with type parameters of type LoggerContextModifier and TypeFieldDescriptionprivate static final WeakHashMap<LoggerContext, ConcurrentMap<String, Logger>> Hierarchy.CONTEXT_MAPMethods in org.apache.log4j that return LoggerContextModifier and TypeMethodDescription(package private) static LoggerContextHierarchy.getContext()(package private) LoggerContextHierarchy.getContext(ClassLoader classLoader) protected LoggerContextHierarchy.PrivateLoggerAdapter.getContext()static LoggerContextHierarchy.PrivateLogManager.getContext()(package private) static LoggerContextLogManager.getContext(ClassLoader classLoader) Gets a LoggerContext.Methods in org.apache.log4j with parameters of type LoggerContextModifier and TypeMethodDescription(package private) LoggerHierarchy.exists(String name, LoggerContext loggerContext) (package private) static LoggerHierarchy.getInstance(LoggerContext context, String name) (package private) static LoggerHierarchy.getInstance(LoggerContext context, String name, Hierarchy.PrivateLoggerAdapter factory) (package private) static LoggerHierarchy.getInstance(LoggerContext context, String name, LoggerFactory factory) (package private) static ConcurrentMap<String, Logger> Hierarchy.getLoggersMap(LoggerContext context) (package private) static LoggerHierarchy.getRootLogger(LoggerContext context) protected LoggerHierarchy.PrivateLoggerAdapter.newLogger(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 LoggerContextModifierConstructorDescriptionprotectedCategory(LoggerContext context, String name) Constructor used by Logger to specify a LoggerContext.(package private)Logger(LoggerContext context, String name) -
Uses of LoggerContext in org.apache.log4j.config
Constructors in org.apache.log4j.config with parameters of type LoggerContextModifierConstructorDescriptionPropertiesConfiguration(LoggerContext loggerContext, Properties properties) Constructs a new instance. -
Uses of LoggerContext in org.apache.log4j.legacy.core
Methods in org.apache.log4j.legacy.core that return LoggerContextModifier and TypeMethodDescriptionstatic LoggerContextCategoryUtil.getLoggerContext(Logger logger) Delegates toLogger.getContext()if appropriate.Methods in org.apache.log4j.legacy.core with parameters of type LoggerContextModifier and TypeMethodDescriptionstatic 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 LoggerContextModifier and TypeMethodDescriptionstatic LoggerContextLogManager.getContext()Returns the current LoggerContext.static LoggerContextLogManager.getContext(boolean currentContext) Returns a LoggerContext.static LoggerContextLogManager.getContext(ClassLoader loader, boolean currentContext) Returns a LoggerContext.static LoggerContextLogManager.getContext(ClassLoader loader, boolean currentContext, Object externalContext) Returns a LoggerContext.static LoggerContextLogManager.getContext(ClassLoader loader, boolean currentContext, Object externalContext, URI configLocation) Returns a LoggerContext.static LoggerContextLogManager.getContext(ClassLoader loader, boolean currentContext, Object externalContext, URI configLocation, String name) Returns a LoggerContext.static LoggerContextLogManager.getContext(ClassLoader loader, boolean currentContext, URI configLocation) Returns a LoggerContext.protected static LoggerContextLogManager.getContext(String fqcn, boolean currentContext) Returns a LoggerContextprotected static LoggerContextLogManager.getContext(String fqcn, ClassLoader loader, boolean currentContext) Returns a LoggerContextprotected static LoggerContextLogManager.getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation, String name) Returns a LoggerContextMethods in org.apache.logging.log4j with parameters of type LoggerContextModifier and TypeMethodDescriptionstatic 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 LoggerContextModifier and TypeClassDescriptionclassThe 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 LoggerContextModifier and TypeClassDescriptionclassLoggerContextthat createsAsyncLoggerobjects. -
Uses of LoggerContext in org.apache.logging.log4j.core.impl
Methods in org.apache.logging.log4j.core.impl with parameters of type LoggerContextModifier and TypeMethodDescriptionvoidLog4jContextFactory.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 LoggerContextModifier and TypeMethodDescriptionvoidClassLoaderContextSelector.contextShutdown(LoggerContext loggerContext) -
Uses of LoggerContext in org.apache.logging.log4j.jcl
Methods in org.apache.logging.log4j.jcl that return LoggerContextMethods in org.apache.logging.log4j.jcl with parameters of type LoggerContextModifier and TypeMethodDescriptionprotected org.apache.commons.logging.LogLogAdapter.newLogger(String name, LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.jpl
Methods in org.apache.logging.log4j.jpl that return LoggerContextMethods in org.apache.logging.log4j.jpl with parameters of type LoggerContextModifier and TypeMethodDescriptionprotected System.LoggerLog4jSystemLoggerAdapter.newLogger(String name, LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.jul
Methods in org.apache.logging.log4j.jul that return LoggerContextMethods in org.apache.logging.log4j.jul with parameters of type LoggerContextModifier and TypeMethodDescriptionprotected LoggerApiLoggerAdapter.newLogger(String name, LoggerContext context) protected LoggerCoreLoggerAdapter.newLogger(String name, LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.simple
Classes in org.apache.logging.log4j.simple that implement LoggerContextMethods in org.apache.logging.log4j.simple that return LoggerContextModifier and TypeMethodDescriptionSimpleLoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) SimpleLoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) Methods in org.apache.logging.log4j.simple with parameters of type LoggerContextModifier and TypeMethodDescriptionvoidSimpleLoggerContextFactory.removeContext(LoggerContext removeContext) -
Uses of LoggerContext in org.apache.logging.log4j.spi
Fields in org.apache.logging.log4j.spi declared as LoggerContextModifier and TypeFieldDescriptionstatic final LoggerContext[]LoggerContext.EMPTY_ARRAYEmpty array.Fields in org.apache.logging.log4j.spi with type parameters of type LoggerContextModifier and TypeFieldDescriptionprotected final Map<LoggerContext, ConcurrentMap<String, L>> AbstractLoggerAdapter.registryA map to store loggers for their given LoggerContexts.Methods in org.apache.logging.log4j.spi that return LoggerContextModifier and TypeMethodDescriptionprotected abstract LoggerContextAbstractLoggerAdapter.getContext()Gets theLoggerContextthat should be used to look up or create loggers.protected LoggerContextAbstractLoggerAdapter.getContext(Class<?> callerClass) Gets theLoggerContextassociated with the given caller class.LoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) Creates aLoggerContext.LoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) Creates aLoggerContext.Methods in org.apache.logging.log4j.spi that return types with arguments of type LoggerContextMethods in org.apache.logging.log4j.spi with parameters of type LoggerContextModifier and TypeMethodDescriptionvoidAbstractLoggerAdapter.contextShutdown(LoggerContext loggerContext) voidLoggerContextShutdownAware.contextShutdown(LoggerContext loggerContext) AbstractLoggerAdapter.getLoggersInContext(LoggerContext context) Gets or creates the ConcurrentMap of named loggers for a given LoggerContext.protected abstract LAbstractLoggerAdapter.newLogger(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 LoggerContextModifier and TypeClassDescription(package private) final classThis 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 LoggerContextModifier and TypeClassDescription(package private) classImplementation of Log4jLoggerContextSPI.Fields in org.apache.logging.log4j.tojul declared as LoggerContextModifier and TypeFieldDescriptionprivate static final LoggerContextJULLoggerContextFactory.contextMethods in org.apache.logging.log4j.tojul that return LoggerContextModifier and TypeMethodDescriptionJULLoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) JULLoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) Methods in org.apache.logging.log4j.tojul with parameters of type LoggerContextModifier and TypeMethodDescriptionvoidJULLoggerContextFactory.removeContext(LoggerContext ignored) -
Uses of LoggerContext in org.apache.logging.slf4j
Classes in org.apache.logging.slf4j that implement LoggerContextFields in org.apache.logging.slf4j declared as LoggerContextModifier and TypeFieldDescriptionprivate static final LoggerContextSLF4JLoggerContextFactory.contextMethods in org.apache.logging.slf4j that return LoggerContextModifier and TypeMethodDescriptionprotected LoggerContextLog4jLoggerFactory.getContext()SLF4JLoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext) SLF4JLoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name) private LoggerContextLog4jLoggerFactory.validateContext(LoggerContext context) Methods in org.apache.logging.slf4j with parameters of type LoggerContextModifier and TypeMethodDescriptionprotected org.slf4j.LoggerLog4jLoggerFactory.newLogger(String name, LoggerContext context) voidSLF4JLoggerContextFactory.removeContext(LoggerContext ignored) private LoggerContextLog4jLoggerFactory.validateContext(LoggerContext context)