blob: d548bd539258d2209ed937fe5bc689edd8329d18 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Sun Dec 06 17:56:46 MST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LogManager (Apache Log4j API 2.5 API)</title>
<meta name="date" content="2015-12-06">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="LogManager (Apache Log4j API 2.5 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/LogManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/logging/log4j/LoggingException.html" title="class in org.apache.logging.log4j"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/logging/log4j/Marker.html" title="interface in org.apache.logging.log4j"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/logging/log4j/LogManager.html" target="_top">Frames</a></li>
<li><a href="LogManager.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.logging.log4j</div>
<h2 title="Class LogManager" class="title">Class LogManager</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.logging.log4j.LogManager</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.46">LogManager</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">The anchor point for the logging system. The most common usage of this class is to obtain a named <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j"><code>Logger</code></a>. The
method <a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger()"><code>getLogger()</code></a> is provided as the most convenient way to obtain a named Logger based on the calling
class name. This class also provides method for obtaining named Loggers that use
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#format(java.lang.String,%20java.lang.Object...)" title="class or interface in java.lang"><code>String.format(String, Object...)</code></a> style messages instead of the default type of parameterized messages. These
are obtained through the <a href="../../../../org/apache/logging/log4j/LogManager.html#getFormatterLogger(java.lang.Class)"><code>getFormatterLogger(Class)</code></a> family of methods. Other service provider methods are
given through the <a href="../../../../org/apache/logging/log4j/LogManager.html#getContext()"><code>getContext()</code></a> and <a href="../../../../org/apache/logging/log4j/LogManager.html#getFactory()"><code>getFactory()</code></a> family of methods; these methods are not normally
useful for typical usage of Log4j.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#FACTORY_PROPERTY_NAME">FACTORY_PROPERTY_NAME</a></strong></code>
<div class="block">Log4j property to set to the fully qualified class name of a custom implementation of
<a href="../../../../org/apache/logging/log4j/spi/LoggerContextFactory.html" title="interface in org.apache.logging.log4j.spi"><code>LoggerContextFactory</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#ROOT_LOGGER_NAME">ROOT_LOGGER_NAME</a></strong></code>
<div class="block">The name of the root Logger.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#LogManager()">LogManager</a></strong>()</code>
<div class="block">Prevents instantiation</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#exists(java.lang.String)">exists</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Detects if a Logger with the specified name exists.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext()">getContext</a></strong>()</code>
<div class="block">Returns the current LoggerContext.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(boolean)">getContext</a></strong>(boolean&nbsp;currentContext)</code>
<div class="block">Returns a LoggerContext.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(java.lang.ClassLoader,%20boolean)">getContext</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext)</code>
<div class="block">Returns a LoggerContext.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(java.lang.ClassLoader,%20boolean,%20java.lang.Object)">getContext</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;externalContext)</code>
<div class="block">Returns a LoggerContext.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(java.lang.ClassLoader,%20boolean,%20java.lang.Object,%20java.net.URI)">getContext</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;externalContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation)</code>
<div class="block">Returns a LoggerContext.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(java.lang.ClassLoader,%20boolean,%20java.lang.Object,%20java.net.URI,%20java.lang.String)">getContext</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;externalContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns a LoggerContext.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(java.lang.ClassLoader,%20boolean,%20java.net.URI)">getContext</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation)</code>
<div class="block">Returns a LoggerContext.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(java.lang.String,%20boolean)">getContext</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fqcn,
boolean&nbsp;currentContext)</code>
<div class="block">Returns a LoggerContext</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getContext(java.lang.String,%20java.lang.ClassLoader,%20boolean)">getContext</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fqcn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext)</code>
<div class="block">Returns a LoggerContext</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/spi/LoggerContextFactory.html" title="interface in org.apache.logging.log4j.spi">LoggerContextFactory</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getFactory()">getFactory</a></strong>()</code>
<div class="block">Returns the current LoggerContextFactory.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getFormatterLogger()">getFormatterLogger</a></strong>()</code>
<div class="block">Returns a formatter Logger using the fully qualified name of the calling Class as the Logger name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getFormatterLogger(java.lang.Class)">getFormatterLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a formatter Logger using the fully qualified name of the Class as the Logger name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getFormatterLogger(java.lang.Object)">getFormatterLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getFormatterLogger(java.lang.String)">getFormatterLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns a formatter Logger with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger()">getLogger</a></strong>()</code>
<div class="block">Returns a Logger with the name of the calling class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(java.lang.Class)">getLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a Logger using the fully qualified name of the Class as the Logger name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(java.lang.Class,%20org.apache.logging.log4j.message.MessageFactory)">getLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz,
<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</code>
<div class="block">Returns a Logger using the fully qualified name of the Class as the Logger name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(org.apache.logging.log4j.message.MessageFactory)">getLogger</a></strong>(<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</code>
<div class="block">Returns a Logger with the name of the calling class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(java.lang.Object)">getLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Returns a Logger using the fully qualified class name of the value as the Logger name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(java.lang.Object,%20org.apache.logging.log4j.message.MessageFactory)">getLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</code>
<div class="block">Returns a Logger using the fully qualified class name of the value as the Logger name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(java.lang.String)">getLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns a Logger with the specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(java.lang.String,%20org.apache.logging.log4j.message.MessageFactory)">getLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</code>
<div class="block">Returns a Logger with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getLogger(java.lang.String,%20java.lang.String)">getLogger</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fqcn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns a Logger with the specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#getRootLogger()">getRootLogger</a></strong>()</code>
<div class="block">Returns the root logger.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/logging/log4j/LogManager.html#setFactory(org.apache.logging.log4j.spi.LoggerContextFactory)">setFactory</a></strong>(<a href="../../../../org/apache/logging/log4j/spi/LoggerContextFactory.html" title="interface in org.apache.logging.log4j.spi">LoggerContextFactory</a>&nbsp;factory)</code>
<div class="block">Sets the current LoggerContextFactory to use.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="FACTORY_PROPERTY_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FACTORY_PROPERTY_NAME</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.52">FACTORY_PROPERTY_NAME</a></pre>
<div class="block">Log4j property to set to the fully qualified class name of a custom implementation of
<a href="../../../../org/apache/logging/log4j/spi/LoggerContextFactory.html" title="interface in org.apache.logging.log4j.spi"><code>LoggerContextFactory</code></a>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.logging.log4j.LogManager.FACTORY_PROPERTY_NAME">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ROOT_LOGGER_NAME">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ROOT_LOGGER_NAME</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.57">ROOT_LOGGER_NAME</a></pre>
<div class="block">The name of the root Logger.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.logging.log4j.LogManager.ROOT_LOGGER_NAME">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="LogManager()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LogManager</h4>
<pre>protected&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.129">LogManager</a>()</pre>
<div class="block">Prevents instantiation</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="exists(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.139">exists</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Detects if a Logger with the specified name exists. This is a convenience method for porting from version 1.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The Logger name to search for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the Logger exists, false otherwise.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html#hasLogger(java.lang.String)"><code>LoggerContext.hasLogger(String)</code></a></dd></dl>
</li>
</ul>
<a name="getContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.152">getContext</a>()</pre>
<div class="block">Returns the current LoggerContext.
<p>
WARNING - The LoggerContext returned by this method may not be the LoggerContext used to create a Logger for the
calling class.
</p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The current LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.165">getContext</a>(boolean&nbsp;currentContext)</pre>
<div class="block">Returns a LoggerContext.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(java.lang.ClassLoader, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.181">getContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext)</pre>
<div class="block">Returns a LoggerContext.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>loader</code> - The ClassLoader for the context. If null the context will attempt to determine the appropriate
ClassLoader.</dd><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(java.lang.ClassLoader, boolean, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.197">getContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;externalContext)</pre>
<div class="block">Returns a LoggerContext.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>loader</code> - The ClassLoader for the context. If null the context will attempt to determine the appropriate
ClassLoader.</dd><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd><dd><code>externalContext</code> - An external context (such as a ServletContext) to be associated with the LoggerContext.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(java.lang.ClassLoader, boolean, java.net.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.214">getContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation)</pre>
<div class="block">Returns a LoggerContext.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>loader</code> - The ClassLoader for the context. If null the context will attempt to determine the appropriate
ClassLoader.</dd><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd><dd><code>configLocation</code> - The URI for the configuration to use.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(java.lang.ClassLoader, boolean, java.lang.Object, java.net.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.232">getContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;externalContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation)</pre>
<div class="block">Returns a LoggerContext.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>loader</code> - The ClassLoader for the context. If null the context will attempt to determine the appropriate
ClassLoader.</dd><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd><dd><code>externalContext</code> - An external context (such as a ServletContext) to be associated with the LoggerContext.</dd><dd><code>configLocation</code> - The URI for the configuration to use.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(java.lang.ClassLoader, boolean, java.lang.Object, java.net.URI, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.251">getContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;externalContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns a LoggerContext.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>loader</code> - The ClassLoader for the context. If null the context will attempt to determine the appropriate
ClassLoader.</dd><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd><dd><code>externalContext</code> - An external context (such as a ServletContext) to be associated with the LoggerContext.</dd><dd><code>configLocation</code> - The URI for the configuration to use.</dd><dd><code>name</code> - The LoggerContext name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>protected static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.266">getContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fqcn,
boolean&nbsp;currentContext)</pre>
<div class="block">Returns a LoggerContext</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fqcn</code> - The fully qualified class name of the Class that this method is a member of.</dd><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getContext(java.lang.String, java.lang.ClassLoader, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>protected static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContext.html" title="interface in org.apache.logging.log4j.spi">LoggerContext</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.282">getContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fqcn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
boolean&nbsp;currentContext)</pre>
<div class="block">Returns a LoggerContext</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fqcn</code> - The fully qualified class name of the Class that this method is a member of.</dd><dd><code>loader</code> - The ClassLoader for the context. If null the context will attempt to determine the appropriate
ClassLoader.</dd><dd><code>currentContext</code> - if false the LoggerContext appropriate for the caller of this method is returned. For
example, in a web application if the caller is a class in WEB-INF/lib then one LoggerContext may be
returned and if the caller is a class in the container's classpath then a different LoggerContext may
be returned. If true then only a single LoggerContext will be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a LoggerContext.</dd></dl>
</li>
</ul>
<a name="getFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFactory</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/spi/LoggerContextFactory.html" title="interface in org.apache.logging.log4j.spi">LoggerContextFactory</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.292">getFactory</a>()</pre>
<div class="block">Returns the current LoggerContextFactory.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The LoggerContextFactory.</dd></dl>
</li>
</ul>
<a name="setFactory(org.apache.logging.log4j.spi.LoggerContextFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFactory</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.310">setFactory</a>(<a href="../../../../org/apache/logging/log4j/spi/LoggerContextFactory.html" title="interface in org.apache.logging.log4j.spi">LoggerContextFactory</a>&nbsp;factory)</pre>
<div class="block">Sets the current LoggerContextFactory to use. Normally, the appropriate LoggerContextFactory is created at
startup, but in certain environments, a LoggerContextFactory implementation may not be available at this point.
Thus, an alternative LoggerContextFactory can be set at runtime.
<p>
Note that any Logger or LoggerContext objects already created will still be valid, but they will no longer be
accessible through LogManager. Thus, <strong>it is a bad idea to use this method without a good reason</strong>!
Generally, this method should be used only during startup before any code starts caching Logger objects.
</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - the LoggerContextFactory to use.</dd></dl>
</li>
</ul>
<a name="getFormatterLogger()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormatterLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.324">getFormatterLogger</a>()</pre>
<div class="block">Returns a formatter Logger using the fully qualified name of the calling Class as the Logger name.
<p>
This logger lets you use a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html?is-external=true" title="class or interface in java.util"><code>Formatter</code></a> string in the message to format parameters.
</p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The Logger for the calling class.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if the calling class cannot be determined.</dd><dt><span class="strong">Since:</span></dt>
<dd>2.4</dd></dl>
</li>
</ul>
<a name="getFormatterLogger(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormatterLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.355">getFormatterLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</pre>
<div class="block">Returns a formatter Logger using the fully qualified name of the Class as the Logger name.
<p>
This logger let you use a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html?is-external=true" title="class or interface in java.util"><code>Formatter</code></a> string in the message to format parameters.
</p>
<p>
Short-hand for <code>getLogger(clazz, StringFormatterMessageFactory.INSTANCE)</code>
</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - The Class whose name should be used as the Logger name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger, created with a <a href="../../../../org/apache/logging/log4j/message/StringFormatterMessageFactory.html" title="class in org.apache.logging.log4j.message"><code>StringFormatterMessageFactory</code></a></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>clazz</code> is <code>null</code> and the calling class cannot be
determined.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/logging/log4j/Logger.html#fatal(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.fatal(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#fatal(java.lang.String,%20java.lang.Object...)"><code>Logger.fatal(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#error(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.error(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#error(java.lang.String,%20java.lang.Object...)"><code>Logger.error(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#warn(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.warn(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#warn(java.lang.String,%20java.lang.Object...)"><code>Logger.warn(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#info(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.info(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#info(java.lang.String,%20java.lang.Object...)"><code>Logger.info(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#debug(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.debug(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#debug(java.lang.String,%20java.lang.Object...)"><code>Logger.debug(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#trace(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.trace(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#trace(java.lang.String,%20java.lang.Object...)"><code>Logger.trace(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/message/StringFormatterMessageFactory.html" title="class in org.apache.logging.log4j.message"><code>StringFormatterMessageFactory</code></a></dd></dl>
</li>
</ul>
<a name="getFormatterLogger(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormatterLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.387">getFormatterLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
<div class="block">Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.
<p>
This logger let you use a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html?is-external=true" title="class or interface in java.util"><code>Formatter</code></a> string in the message to format parameters.
</p>
<p>
Short-hand for <code>getLogger(value, StringFormatterMessageFactory.INSTANCE)</code>
</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The value's whose class name should be used as the Logger name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger, created with a <a href="../../../../org/apache/logging/log4j/message/StringFormatterMessageFactory.html" title="class in org.apache.logging.log4j.message"><code>StringFormatterMessageFactory</code></a></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>value</code> is <code>null</code> and the calling class cannot be
determined.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/logging/log4j/Logger.html#fatal(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.fatal(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#fatal(java.lang.String,%20java.lang.Object...)"><code>Logger.fatal(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#error(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.error(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#error(java.lang.String,%20java.lang.Object...)"><code>Logger.error(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#warn(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.warn(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#warn(java.lang.String,%20java.lang.Object...)"><code>Logger.warn(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#info(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.info(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#info(java.lang.String,%20java.lang.Object...)"><code>Logger.info(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#debug(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.debug(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#debug(java.lang.String,%20java.lang.Object...)"><code>Logger.debug(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#trace(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.trace(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#trace(java.lang.String,%20java.lang.Object...)"><code>Logger.trace(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/message/StringFormatterMessageFactory.html" title="class in org.apache.logging.log4j.message"><code>StringFormatterMessageFactory</code></a></dd></dl>
</li>
</ul>
<a name="getFormatterLogger(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormatterLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.418">getFormatterLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns a formatter Logger with the specified name.
<p>
This logger let you use a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html?is-external=true" title="class or interface in java.util"><code>Formatter</code></a> string in the message to format parameters.
</p>
<p>
Short-hand for <code>getLogger(name, StringFormatterMessageFactory.INSTANCE)</code>
</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The logger name. If null it will default to the name of the calling class.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger, created with a <a href="../../../../org/apache/logging/log4j/message/StringFormatterMessageFactory.html" title="class in org.apache.logging.log4j.message"><code>StringFormatterMessageFactory</code></a></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>name</code> is <code>null</code> and the calling class cannot be determined.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/logging/log4j/Logger.html#fatal(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.fatal(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#fatal(java.lang.String,%20java.lang.Object...)"><code>Logger.fatal(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#error(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.error(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#error(java.lang.String,%20java.lang.Object...)"><code>Logger.error(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#warn(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.warn(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#warn(java.lang.String,%20java.lang.Object...)"><code>Logger.warn(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#info(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.info(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#info(java.lang.String,%20java.lang.Object...)"><code>Logger.info(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#debug(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.debug(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#debug(java.lang.String,%20java.lang.Object...)"><code>Logger.debug(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#trace(org.apache.logging.log4j.Marker,%20java.lang.String,%20java.lang.Object...)"><code>Logger.trace(Marker, String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/Logger.html#trace(java.lang.String,%20java.lang.Object...)"><code>Logger.trace(String, Object...)</code></a>,
<a href="../../../../org/apache/logging/log4j/message/StringFormatterMessageFactory.html" title="class in org.apache.logging.log4j.message"><code>StringFormatterMessageFactory</code></a></dd></dl>
</li>
</ul>
<a name="getLogger()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.440">getLogger</a>()</pre>
<div class="block">Returns a Logger with the name of the calling class.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The Logger for the calling class.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if the calling class cannot be determined.</dd></dl>
</li>
</ul>
<a name="getLogger(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.453">getLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</pre>
<div class="block">Returns a Logger using the fully qualified name of the Class as the Logger name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - The Class whose name should be used as the Logger name. If null it will default to the calling
class.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>clazz</code> is <code>null</code> and the calling class cannot be
determined.</dd></dl>
</li>
</ul>
<a name="getLogger(java.lang.Class, org.apache.logging.log4j.message.MessageFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.469">getLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz,
<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</pre>
<div class="block">Returns a Logger using the fully qualified name of the Class as the Logger name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - The Class whose name should be used as the Logger name. If null it will default to the calling
class.</dd><dd><code>messageFactory</code> - The message factory is used only when creating a logger, subsequent use does not change the
logger but will log a warning if mismatched.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>clazz</code> is <code>null</code> and the calling class cannot be
determined.</dd></dl>
</li>
</ul>
<a name="getLogger(org.apache.logging.log4j.message.MessageFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.482">getLogger</a>(<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</pre>
<div class="block">Returns a Logger with the name of the calling class.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>messageFactory</code> - The message factory is used only when creating a logger, subsequent use does not change the
logger but will log a warning if mismatched.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger for the calling class.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if the calling class cannot be determined.</dd></dl>
</li>
</ul>
<a name="getLogger(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.495">getLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
<div class="block">Returns a Logger using the fully qualified class name of the value as the Logger name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The value whose class name should be used as the Logger name. If null the name of the calling class
will be used as the logger name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>value</code> is <code>null</code> and the calling class cannot be
determined.</dd></dl>
</li>
</ul>
<a name="getLogger(java.lang.Object, org.apache.logging.log4j.message.MessageFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.510">getLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</pre>
<div class="block">Returns a Logger using the fully qualified class name of the value as the Logger name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The value whose class name should be used as the Logger name. If null the name of the calling class
will be used as the logger name.</dd><dd><code>messageFactory</code> - The message factory is used only when creating a logger, subsequent use does not change the
logger but will log a warning if mismatched.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>value</code> is <code>null</code> and the calling class cannot be
determined.</dd></dl>
</li>
</ul>
<a name="getLogger(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.521">getLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns a Logger with the specified name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The logger name. If null the name of the calling class will be used.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>name</code> is <code>null</code> and the calling class cannot be determined.</dd></dl>
</li>
</ul>
<a name="getLogger(java.lang.String, org.apache.logging.log4j.message.MessageFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.534">getLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../org/apache/logging/log4j/message/MessageFactory.html" title="interface in org.apache.logging.log4j.message">MessageFactory</a>&nbsp;messageFactory)</pre>
<div class="block">Returns a Logger with the specified name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The logger name. If null the name of the calling class will be used.</dd><dd><code>messageFactory</code> - The message factory is used only when creating a logger, subsequent use does not change the
logger but will log a warning if mismatched.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if <code>name</code> is <code>null</code> and the calling class cannot be determined.</dd></dl>
</li>
</ul>
<a name="getLogger(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>protected static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.546">getLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fqcn,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns a Logger with the specified name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fqcn</code> - The fully qualified class name of the class that this method is a member of.</dd><dd><code>name</code> - The logger name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Logger.</dd></dl>
</li>
</ul>
<a name="getRootLogger()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getRootLogger</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/logging/log4j/Logger.html" title="interface in org.apache.logging.log4j">Logger</a>&nbsp;<a href="../../../../src-html/org/apache/logging/log4j/LogManager.html#line.555">getRootLogger</a>()</pre>
<div class="block">Returns the root logger.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the root logger, named <a href="../../../../org/apache/logging/log4j/LogManager.html#ROOT_LOGGER_NAME"><code>ROOT_LOGGER_NAME</code></a>.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/LogManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/logging/log4j/LoggingException.html" title="class in org.apache.logging.log4j"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/logging/log4j/Marker.html" title="interface in org.apache.logging.log4j"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/logging/log4j/LogManager.html" target="_top">Frames</a></li>
<li><a href="LogManager.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><p align="center">Copyright &#169; 1999-2015 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.<br /> 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.</p></small></p>
</body>
</html>