Uses of Class
org.apache.logging.log4j.core.LoggerContext

Packages that use LoggerContext
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.config Configuration of Log4j 2. 
org.apache.logging.log4j.core.impl Log4j 2 private implementation classes. 
org.apache.logging.log4j.core.jmx Log4j 2 JMX support. 
org.apache.logging.log4j.core.osgi Collection of OSGi-specific classes for bundles. 
org.apache.logging.log4j.core.selector Log4j 2 Context Selectors. 
 

Uses of LoggerContext in org.apache.logging.log4j.core
 

Methods in org.apache.logging.log4j.core that return LoggerContext
 LoggerContext Logger.getContext()
          Returns the LoggerContext this Logger is associated with.
 

Methods in org.apache.logging.log4j.core with parameters of type LoggerContext
protected  Logger LoggerContext.newInstance(LoggerContext ctx, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
           
 

Constructors in org.apache.logging.log4j.core with parameters of type LoggerContext
Logger(LoggerContext context, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
          The constructor.
 

Uses of LoggerContext in org.apache.logging.log4j.core.async
 

Subclasses of LoggerContext in org.apache.logging.log4j.core.async
 class AsyncLoggerContext
          LoggerContext that creates AsyncLogger objects.
 

Methods in org.apache.logging.log4j.core.async that return LoggerContext
 LoggerContext AsyncLoggerContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext)
           
 LoggerContext AsyncLoggerContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation)
           
 

Methods in org.apache.logging.log4j.core.async that return types with arguments of type LoggerContext
 List<LoggerContext> AsyncLoggerContextSelector.getLoggerContexts()
           
 

Methods in org.apache.logging.log4j.core.async with parameters of type LoggerContext
protected  Logger AsyncLoggerContext.newInstance(LoggerContext ctx, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
           
 void AsyncLoggerContextSelector.removeContext(LoggerContext context)
           
 

Constructors in org.apache.logging.log4j.core.async with parameters of type LoggerContext
AsyncLogger(LoggerContext context, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
          Constructs an AsyncLogger with the specified context, name and message factory.
 

Uses of LoggerContext in org.apache.logging.log4j.core.config
 

Methods in org.apache.logging.log4j.core.config that return LoggerContext
static LoggerContext Configurator.initialize(ClassLoader loader, ConfigurationSource source)
          Initializes the Logging Context.
static LoggerContext Configurator.initialize(ClassLoader loader, ConfigurationSource source, Object externalContext)
          Initializes the Logging Context.
static LoggerContext Configurator.initialize(String name, ClassLoader loader, String configLocation)
          Initializes the Logging Context.
static LoggerContext Configurator.initialize(String name, ClassLoader loader, String configLocation, Object externalContext)
          Initializes the Logging Context.
static LoggerContext Configurator.initialize(String name, ClassLoader loader, URI configLocation)
          Initializes the Logging Context.
static LoggerContext Configurator.initialize(String name, ClassLoader loader, URI configLocation, Object externalContext)
          Initializes the Logging Context.
static LoggerContext Configurator.initialize(String name, String configLocation)
          Initializes the Logging Context.
 

Methods in org.apache.logging.log4j.core.config with parameters of type LoggerContext
static void Configurator.shutdown(LoggerContext ctx)
          Shuts down the given logging context.
 

Uses of LoggerContext in org.apache.logging.log4j.core.impl
 

Fields in org.apache.logging.log4j.core.impl with type parameters of type LoggerContext
static ThreadLocal<LoggerContext> ContextAnchor.THREAD_CONTEXT
          Anchor for the LoggerContext for the current Thread.
 

Methods in org.apache.logging.log4j.core.impl that return LoggerContext
 LoggerContext Log4jContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext)
          Loads the LoggerContext using the ContextSelector.
 LoggerContext Log4jContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, ConfigurationSource source)
          Loads the LoggerContext using the ContextSelector.
 LoggerContext Log4jContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name)
          Loads the LoggerContext using the ContextSelector.
 

Uses of LoggerContext in org.apache.logging.log4j.core.jmx
 

Constructors in org.apache.logging.log4j.core.jmx with parameters of type LoggerContext
LoggerConfigAdmin(LoggerContext loggerContext, LoggerConfig loggerConfig)
          Constructs a new LoggerConfigAdmin with the specified LoggerContext and logger config.
LoggerContextAdmin(LoggerContext loggerContext, Executor executor)
          Constructs a new LoggerContextAdmin with the Executor to be used for sending Notification s asynchronously to listeners.
 

Uses of LoggerContext in org.apache.logging.log4j.core.osgi
 

Methods in org.apache.logging.log4j.core.osgi that return LoggerContext
 LoggerContext BundleContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation)
           
 

Uses of LoggerContext in org.apache.logging.log4j.core.selector
 

Fields in org.apache.logging.log4j.core.selector with type parameters of type LoggerContext
protected static ConcurrentMap<String,AtomicReference<WeakReference<LoggerContext>>> ClassLoaderContextSelector.CONTEXT_MAP
           
 

Methods in org.apache.logging.log4j.core.selector that return LoggerContext
 LoggerContext JndiContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext)
           
 LoggerContext ContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext)
          Returns the LoggerContext.
 LoggerContext ClassLoaderContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext)
           
 LoggerContext BasicContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext)
           
 LoggerContext JndiContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation)
           
 LoggerContext ContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation)
          Returns the LoggerContext.
 LoggerContext ClassLoaderContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation)
           
 LoggerContext BasicContextSelector.getContext(String fqcn, ClassLoader loader, boolean currentContext, URI configLocation)
           
protected  LoggerContext ClassLoaderContextSelector.getDefault()
           
 LoggerContext NamedContextSelector.locateContext(String name, Object externalContext, URI configLocation)
          Locate the LoggerContext with the specified name.
 LoggerContext JndiContextSelector.locateContext(String name, Object externalContext, URI configLocation)
           
 LoggerContext BasicContextSelector.locateContext(String name, String configLocation)
           
 LoggerContext NamedContextSelector.removeContext(String name)
          Locate the LoggerContext with the specified name using the default configuration.
 LoggerContext JndiContextSelector.removeContext(String name)
           
 

Methods in org.apache.logging.log4j.core.selector that return types with arguments of type LoggerContext
 List<LoggerContext> JndiContextSelector.getLoggerContexts()
           
 List<LoggerContext> ContextSelector.getLoggerContexts()
          Returns a List of all the available LoggerContexts.
 List<LoggerContext> ClassLoaderContextSelector.getLoggerContexts()
           
 List<LoggerContext> BasicContextSelector.getLoggerContexts()
           
 

Methods in org.apache.logging.log4j.core.selector with parameters of type LoggerContext
 void JndiContextSelector.removeContext(LoggerContext context)
           
 void ContextSelector.removeContext(LoggerContext context)
          Remove any references to the LoggerContext.
 void ClassLoaderContextSelector.removeContext(LoggerContext context)
           
 void BasicContextSelector.removeContext(LoggerContext context)
           
 



Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.