|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.config.Configurator
public final class Configurator
Initializes and configure the Logging system.
| Method Summary | |
|---|---|
static LoggerContext |
initialize(ClassLoader loader,
ConfigurationFactory.ConfigurationSource source)
Initializes the Logging Context. |
static LoggerContext |
initialize(String name,
ClassLoader loader,
String configLocation)
Initializes the Logging Context. |
static LoggerContext |
initialize(String name,
ClassLoader loader,
URI configLocation)
Initializes the Logging Context. |
static void |
shutdown(LoggerContext ctx)
Shuts down the given logging context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LoggerContext initialize(String name,
ClassLoader loader,
String configLocation)
name - The Context name.loader - The ClassLoader for the Context (or null).configLocation - The configuration for the logging context.
public static LoggerContext initialize(String name,
ClassLoader loader,
URI configLocation)
name - The Context name.loader - The ClassLoader for the Context (or null).configLocation - The configuration for the logging context.
public static LoggerContext initialize(ClassLoader loader,
ConfigurationFactory.ConfigurationSource source)
loader - The ClassLoader for the Context (or null).source - The InputSource for the configuration.
public static void shutdown(LoggerContext ctx)
ctx - the logging context to shut down, may be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||