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.
Java JDK java.util.logging (JUL) bridge.
SLF4J support.
-
Uses of LoggerContext in org.apache.log4j
Constructors in org.apache.log4j with parameters of type LoggerContextModifierConstructorDescriptionprotectedCategory(LoggerContext context, String name) Constructor used by Logger to specify a LoggerContext. -
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.tojul
Methods 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 LoggerContextMethods 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) 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)