|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LoggerContext | |
---|---|
org.apache.logging.log4j.core | Implementation of Log4j 2.0. |
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.0. |
org.apache.logging.log4j.core.impl | Log4j 2.0 private implementation classes. |
org.apache.logging.log4j.core.jmx | Log4j 2.0 JMX support. |
org.apache.logging.log4j.core.selector | Log4j 2.0 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)
|
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,
ConfigurationFactory.ConfigurationSource source)
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,
URI 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,
boolean currentContext)
Load the LoggerContext using the ContextSelector. |
LoggerContext |
Log4jContextFactory.getContext(String fqcn,
ClassLoader loader,
boolean currentContext,
URI configLocation)
Load 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 | |
---|---|
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.selector |
---|
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)
|
LoggerContext |
BasicContextSelector.locateContext(String name,
String configLocation)
|
LoggerContext |
NamedContextSelector.locateContext(String name,
URI configLocation)
Locate the LoggerContext with the specified name. |
LoggerContext |
JNDIContextSelector.locateContext(String name,
URI 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 |
ClassLoaderContextSelector.removeContext(LoggerContext context)
|
void |
BasicContextSelector.removeContext(LoggerContext context)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1999-2013 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.