Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.logging.log4j.spi.LoggerContext

Packages that use LoggerContext
org.apache.logging.log4j | Public API for Log4j 2.
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.

Uses of LoggerContext in org.apache.logging.log4j

Methods in org.apache.logging.log4j that return LoggerContext
`static LoggerContext` | `LogManager.getContext()` Returns the current LoggerContext.
`static LoggerContext` | `LogManager.getContext(boolean currentContext)` Returns a LoggerContext.
`static LoggerContext` | `LogManager.getContext(ClassLoader loader, boolean currentContext)` Returns a LoggerContext.
`static LoggerContext` | `LogManager.getContext(ClassLoader loader, boolean currentContext, Object externalContext)` Returns a LoggerContext.
`static LoggerContext` | `LogManager.getContext(ClassLoader loader, boolean currentContext, Object externalContext, URI configLocation)` Returns a LoggerContext.
`static LoggerContext` | `LogManager.getContext(ClassLoader loader, boolean currentContext, Object externalContext, URI configLocation, String name)` Returns a LoggerContext.
`static LoggerContext` | `LogManager.getContext(ClassLoader loader, boolean currentContext, URI configLocation)` Returns a LoggerContext.
`protected static LoggerContext` | `LogManager.getContext(String fqcn, boolean currentContext)` Returns a LoggerContext
`protected static LoggerContext` | `LogManager.getContext(String fqcn, ClassLoader loader, boolean currentContext)` Returns a LoggerContext

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

Classes in org.apache.logging.log4j.simple that implement LoggerContext
`class` | `SimpleLoggerContext`

Methods in org.apache.logging.log4j.simple that return LoggerContext
`LoggerContext` | `SimpleLoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext)`
`LoggerContext` | `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 LoggerContext
`void` | `SimpleLoggerContextFactory.removeContext(LoggerContext context)`

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

Fields in org.apache.logging.log4j.spi with type parameters of type LoggerContext
`protected Map<LoggerContext,ConcurrentMap<String,L>>` | `AbstractLoggerAdapter.registry` A map to store loggers for their given LoggerContexts.

Methods in org.apache.logging.log4j.spi that return LoggerContext
`protected abstract LoggerContext` | `AbstractLoggerAdapter.getContext()` Gets the `LoggerContext` that should be used to look up or create loggers.
`protected LoggerContext` | `AbstractLoggerAdapter.getContext(Class<?> callerClass)` Gets the `LoggerContext` associated with the given caller class.
`LoggerContext` | `LoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext)` Creates a `LoggerContext`.
`LoggerContext` | `LoggerContextFactory.getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name)` Creates a `LoggerContext`.

Methods in org.apache.logging.log4j.spi with parameters of type LoggerContext
`ConcurrentMap<String,L>` | `AbstractLoggerAdapter.getLoggersInContext(LoggerContext context)` Gets or creates the ConcurrentMap of named loggers for a given LoggerContext.
`protected abstract L` | `AbstractLoggerAdapter.newLogger(String name, LoggerContext context)` Creates a new named logger for a given `LoggerContext`.
`void` | `LoggerContextFactory.removeContext(LoggerContext context)` Removes knowledge of a LoggerContext.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 1999-2015 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.