Package | Description |
---|---|
org.apache.logging.log4j |
Public API for Log4j 2.0.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleLoggerContext |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleLoggerContextFactory.removeContext(LoggerContext context) |
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
void |
LoggerContextFactory.removeContext(LoggerContext context)
Removes knowledge of a LoggerContext.
|
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.