blob: a2a3b99a1c79eb8792eb5b88b686b71dd5691c42 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Apache log4cxx: Hierarchy Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname"><a href="http://logging.apache.org/log4cxx">Apache log4cxx</a>
&#160;<span id="projectnumber">Version 0.10.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classlog4cxx_1_1_hierarchy.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classlog4cxx_1_1_hierarchy-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Hierarchy Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
<a href="classlog4cxx_1_1_hierarchy.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Hierarchy:</div>
<div class="dyncontent">
<div class="center">
<img src="classlog4cxx_1_1_hierarchy.png" usemap="#Hierarchy_map" alt=""/>
<map id="Hierarchy_map" name="Hierarchy_map">
<area href="classlog4cxx_1_1spi_1_1_logger_repository.html" title="A LoggerRepository is used to create and retrieve Loggers. " alt="LoggerRepository" shape="rect" coords="0,56,112,80"/>
<area href="classlog4cxx_1_1helpers_1_1_object_impl.html" title="Implementation class for Object. " alt="ObjectImpl" shape="rect" coords="122,56,234,80"/>
<area href="classlog4cxx_1_1helpers_1_1_object.html" title="base class for java-like objects. " alt="Object" shape="rect" coords="0,0,112,24"/>
<area href="classlog4cxx_1_1helpers_1_1_object.html" title="base class for java-like objects. " alt="Object" shape="rect" coords="122,0,234,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa3a1845805c30320383a1202f81c731c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#aa3a1845805c30320383a1202f81c731c">Hierarchy</a> ()</td></tr>
<tr class="memdesc:aa3a1845805c30320383a1202f81c731c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new logger hierarchy. <a href="#aa3a1845805c30320383a1202f81c731c">More...</a><br /></td></tr>
<tr class="separator:aa3a1845805c30320383a1202f81c731c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0fda715d59b7e9ccf3ff8a818418083"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ac0fda715d59b7e9ccf3ff8a818418083">~Hierarchy</a> ()</td></tr>
<tr class="separator:ac0fda715d59b7e9ccf3ff8a818418083"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0198815940c2715c84b0e04828cf8dfa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a0198815940c2715c84b0e04828cf8dfa">addRef</a> () const </td></tr>
<tr class="separator:a0198815940c2715c84b0e04828cf8dfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55c31efee1904916b999395fa4d46a24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a55c31efee1904916b999395fa4d46a24">releaseRef</a> () const </td></tr>
<tr class="separator:a55c31efee1904916b999395fa4d46a24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83cc9e427184e7f39af6935e2565715a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a83cc9e427184e7f39af6935e2565715a">addHierarchyEventListener</a> (const spi::HierarchyEventListenerPtr &amp;listener)</td></tr>
<tr class="separator:a83cc9e427184e7f39af6935e2565715a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8bb3912a3ce86b15842e79d0b421204"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ac8bb3912a3ce86b15842e79d0b421204">clear</a> ()</td></tr>
<tr class="memdesc:ac8bb3912a3ce86b15842e79d0b421204"><td class="mdescLeft">&#160;</td><td class="mdescRight">This call will clear all logger definitions from the internal hashtable. <a href="#ac8bb3912a3ce86b15842e79d0b421204">More...</a><br /></td></tr>
<tr class="separator:ac8bb3912a3ce86b15842e79d0b421204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a569b371f0b747d048f78062eba8d79b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a569b371f0b747d048f78062eba8d79b9">emitNoAppenderWarning</a> (const <a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> &amp;logger)</td></tr>
<tr class="separator:a569b371f0b747d048f78062eba8d79b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7204cf9ea148398ddcd737678e5886d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a7204cf9ea148398ddcd737678e5886d0">exists</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;name)</td></tr>
<tr class="memdesc:a7204cf9ea148398ddcd737678e5886d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the named logger exists in the hierarchy. <a href="#a7204cf9ea148398ddcd737678e5886d0">More...</a><br /></td></tr>
<tr class="separator:a7204cf9ea148398ddcd737678e5886d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad868dcebe2b8e135985d6f5e57dd2387"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ad868dcebe2b8e135985d6f5e57dd2387">setThreshold</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;levelStr)</td></tr>
<tr class="memdesc:ad868dcebe2b8e135985d6f5e57dd2387"><td class="mdescLeft">&#160;</td><td class="mdescRight">The string form of <a class="el" href="classlog4cxx_1_1_hierarchy.html#a7b0e4dbd708b9efaf0f34cb8d597226a">setThreshold</a>. <a href="#ad868dcebe2b8e135985d6f5e57dd2387">More...</a><br /></td></tr>
<tr class="separator:ad868dcebe2b8e135985d6f5e57dd2387"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0e4dbd708b9efaf0f34cb8d597226a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a7b0e4dbd708b9efaf0f34cb8d597226a">setThreshold</a> (const <a class="el" href="namespacelog4cxx.html#ae5a3f62e1b8b965953cbddfda82c53b5">LevelPtr</a> &amp;l)</td></tr>
<tr class="memdesc:a7b0e4dbd708b9efaf0f34cb8d597226a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable logging for logging requests with level <code>l</code> or higher. <a href="#a7b0e4dbd708b9efaf0f34cb8d597226a">More...</a><br /></td></tr>
<tr class="separator:a7b0e4dbd708b9efaf0f34cb8d597226a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3de757d6c800a7fb2e91e522b3229742"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a3de757d6c800a7fb2e91e522b3229742">fireAddAppenderEvent</a> (const <a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> &amp;logger, const <a class="el" href="namespacelog4cxx.html#a825abdb8af807ab3153132d863803029">AppenderPtr</a> &amp;appender)</td></tr>
<tr class="separator:a3de757d6c800a7fb2e91e522b3229742"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2c7afda988de425239b507fb2ab353a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ad2c7afda988de425239b507fb2ab353a">fireRemoveAppenderEvent</a> (const <a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> &amp;logger, const <a class="el" href="namespacelog4cxx.html#a825abdb8af807ab3153132d863803029">AppenderPtr</a> &amp;appender)</td></tr>
<tr class="separator:ad2c7afda988de425239b507fb2ab353a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bc4b2a92a56c9b1a1ea3a271ae1e330"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#ae5a3f62e1b8b965953cbddfda82c53b5">LevelPtr</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a0bc4b2a92a56c9b1a1ea3a271ae1e330">getThreshold</a> () const </td></tr>
<tr class="memdesc:a0bc4b2a92a56c9b1a1ea3a271ae1e330"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="classlog4cxx_1_1_level.html" title="Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL. ">Level</a> representation of the <code>enable</code> state. <a href="#a0bc4b2a92a56c9b1a1ea3a271ae1e330">More...</a><br /></td></tr>
<tr class="separator:a0bc4b2a92a56c9b1a1ea3a271ae1e330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8afdd945a1581f8531c268e480ab0d86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a8afdd945a1581f8531c268e480ab0d86">getLogger</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;name)</td></tr>
<tr class="memdesc:a8afdd945a1581f8531c268e480ab0d86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a new logger instance named as the first parameter using the default factory. <a href="#a8afdd945a1581f8531c268e480ab0d86">More...</a><br /></td></tr>
<tr class="separator:a8afdd945a1581f8531c268e480ab0d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1a3bfe161fbfc71f7ec3dd46ecabf59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ae1a3bfe161fbfc71f7ec3dd46ecabf59">getLogger</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;name, const <a class="el" href="namespacelog4cxx_1_1spi.html#a50b911880982653d0d55ca130ad4a63a">spi::LoggerFactoryPtr</a> &amp;factory)</td></tr>
<tr class="memdesc:ae1a3bfe161fbfc71f7ec3dd46ecabf59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a new logger instance named as the first parameter using <code>factory</code>. <a href="#ae1a3bfe161fbfc71f7ec3dd46ecabf59">More...</a><br /></td></tr>
<tr class="separator:ae1a3bfe161fbfc71f7ec3dd46ecabf59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8db06f5b97f9cd630e1a7b8abe13f30b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#a3c20da83ead0a801c0c4e4c82a31181a">LoggerList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a8db06f5b97f9cd630e1a7b8abe13f30b">getCurrentLoggers</a> () const </td></tr>
<tr class="memdesc:a8db06f5b97f9cd630e1a7b8abe13f30b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all the currently defined loggers in this hierarchy as a LoggerList. <a href="#a8db06f5b97f9cd630e1a7b8abe13f30b">More...</a><br /></td></tr>
<tr class="separator:a8db06f5b97f9cd630e1a7b8abe13f30b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6360b51681a428e7b664f7d3cd0edb8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a6360b51681a428e7b664f7d3cd0edb8d">getRootLogger</a> () const </td></tr>
<tr class="memdesc:a6360b51681a428e7b664f7d3cd0edb8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the root of this hierarchy. <a href="#a6360b51681a428e7b664f7d3cd0edb8d">More...</a><br /></td></tr>
<tr class="separator:a6360b51681a428e7b664f7d3cd0edb8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6770230869c415de618d72aa4bf0187"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ae6770230869c415de618d72aa4bf0187">isDisabled</a> (int level) const </td></tr>
<tr class="memdesc:ae6770230869c415de618d72aa4bf0187"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will return <code>true</code> if this repository is disabled for <code>level</code> object passed as parameter and <code>false</code> otherwise. <a href="#ae6770230869c415de618d72aa4bf0187">More...</a><br /></td></tr>
<tr class="separator:ae6770230869c415de618d72aa4bf0187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9081872e9bdc07e4f5b1c28e86eafed7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a9081872e9bdc07e4f5b1c28e86eafed7">resetConfiguration</a> ()</td></tr>
<tr class="memdesc:a9081872e9bdc07e4f5b1c28e86eafed7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset all values contained in this hierarchy instance to their default. <a href="#a9081872e9bdc07e4f5b1c28e86eafed7">More...</a><br /></td></tr>
<tr class="separator:a9081872e9bdc07e4f5b1c28e86eafed7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7861ee1569802186a619778efc85af13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#a7861ee1569802186a619778efc85af13">shutdown</a> ()</td></tr>
<tr class="memdesc:a7861ee1569802186a619778efc85af13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used by subclasses to add a renderer to the hierarchy passed as parameter. <a href="#a7861ee1569802186a619778efc85af13">More...</a><br /></td></tr>
<tr class="separator:a7861ee1569802186a619778efc85af13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae83d15ae5dc58fcf661f92b6dfe8d11a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ae83d15ae5dc58fcf661f92b6dfe8d11a">isConfigured</a> ()</td></tr>
<tr class="separator:ae83d15ae5dc58fcf661f92b6dfe8d11a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad01ad09e8cca207486c1cc9a147fd881"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_hierarchy.html#ad01ad09e8cca207486c1cc9a147fd881">setConfigured</a> (bool configured)</td></tr>
<tr class="separator:ad01ad09e8cca207486c1cc9a147fd881"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1spi_1_1_logger_repository"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1spi_1_1_logger_repository')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html">LoggerRepository</a></td></tr>
<tr class="memitem:a74fb47d5bffca2bfff09504596299c48 inherit pub_methods_classlog4cxx_1_1spi_1_1_logger_repository"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a74fb47d5bffca2bfff09504596299c48">~LoggerRepository</a> ()</td></tr>
<tr class="separator:a74fb47d5bffca2bfff09504596299c48 inherit pub_methods_classlog4cxx_1_1spi_1_1_logger_repository"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5d95e42b7d013f87af6cf9b3b5dd62b inherit pub_methods_classlog4cxx_1_1spi_1_1_logger_repository"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#af5d95e42b7d013f87af6cf9b3b5dd62b">addHierarchyEventListener</a> (const HierarchyEventListenerPtr &amp;listener)=0</td></tr>
<tr class="memdesc:af5d95e42b7d013f87af6cf9b3b5dd62b inherit pub_methods_classlog4cxx_1_1spi_1_1_logger_repository"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a <a class="el" href="classlog4cxx_1_1spi_1_1_hierarchy_event_listener.html">HierarchyEventListener</a> event to the repository. <a href="#af5d95e42b7d013f87af6cf9b3b5dd62b">More...</a><br /></td></tr>
<tr class="separator:af5d95e42b7d013f87af6cf9b3b5dd62b inherit pub_methods_classlog4cxx_1_1spi_1_1_logger_repository"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object.html">Object</a></td></tr>
<tr class="memitem:ae7b62e37794f297c0cede40ed0e84fcd inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">helpers::Class</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#ae7b62e37794f297c0cede40ed0e84fcd">getClass</a> () const </td></tr>
<tr class="separator:ae7b62e37794f297c0cede40ed0e84fcd inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5">~Object</a> ()</td></tr>
<tr class="separator:ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab1bb19059c1de23f8a35cdbc0b6a5c inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a0ab1bb19059c1de23f8a35cdbc0b6a5c">instanceof</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a0ab1bb19059c1de23f8a35cdbc0b6a5c inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04b3422e17b0a882538bbc99833ab9df inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a04b3422e17b0a882538bbc99833ab9df">cast</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a04b3422e17b0a882538bbc99833ab9df inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1_object_impl')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html">ObjectImpl</a></td></tr>
<tr class="memitem:a5e6e9fc30dc1f098fee72d516ea0bad0 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a5e6e9fc30dc1f098fee72d516ea0bad0">ObjectImpl</a> ()</td></tr>
<tr class="separator:a5e6e9fc30dc1f098fee72d516ea0bad0 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb974728bb3cb991285140c1aa57eed7 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#abb974728bb3cb991285140c1aa57eed7">~ObjectImpl</a> ()</td></tr>
<tr class="separator:abb974728bb3cb991285140c1aa57eed7 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classlog4cxx_1_1helpers_1_1_object')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object.html">Object</a></td></tr>
<tr class="memitem:a0bdbda4effe8938c1aca6d4397e5a39d inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">helpers::Class</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a0bdbda4effe8938c1aca6d4397e5a39d">getStaticClass</a> ()</td></tr>
<tr class="separator:a0bdbda4effe8938c1aca6d4397e5a39d inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50ec9288d0b7e3140dee8e24ee74a212 inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classlog4cxx_1_1helpers_1_1_class_registration.html">log4cxx::helpers::ClassRegistration</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a50ec9288d0b7e3140dee8e24ee74a212">registerClass</a> ()</td></tr>
<tr class="separator:a50ec9288d0b7e3140dee8e24ee74a212 inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html">ObjectImpl</a></td></tr>
<tr class="memitem:a88f2ae00c84f3f309965e6588ed158d4 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">unsigned int volatile&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a88f2ae00c84f3f309965e6588ed158d4">ref</a></td></tr>
<tr class="separator:a88f2ae00c84f3f309965e6588ed158d4 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy. </p>
<p><em>The casual user does not have to deal with this class directly.</em></p>
<p>The structure of the logger hierarchy is maintained by the <a class="el" href="classlog4cxx_1_1_hierarchy.html#a8afdd945a1581f8531c268e480ab0d86" title="Return a new logger instance named as the first parameter using the default factory. ">getLogger</a> method. The hierarchy is such that children link to their parent but parents do not have any pointers to their children. Moreover, loggers can be instantiated in any order, in particular descendant before ancestor.</p>
<p>In case a descendant is created before a particular ancestor, then it creates a provision node for the ancestor and adds itself to the provision node. Other descendants of the same ancestor add themselves to the previously created provision node. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa3a1845805c30320383a1202f81c731c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlog4cxx_1_1_hierarchy.html">Hierarchy</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new logger hierarchy. </p>
</div>
</div>
<a class="anchor" id="ac0fda715d59b7e9ccf3ff8a818418083"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">~<a class="el" href="classlog4cxx_1_1_hierarchy.html">Hierarchy</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a83cc9e427184e7f39af6935e2565715a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void addHierarchyEventListener </td>
<td>(</td>
<td class="paramtype">const spi::HierarchyEventListenerPtr &amp;&#160;</td>
<td class="paramname"><em>listener</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a0198815940c2715c84b0e04828cf8dfa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void addRef </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a0198815940c2715c84b0e04828cf8dfa">ObjectImpl</a>.</p>
</div>
</div>
<a class="anchor" id="ac8bb3912a3ce86b15842e79d0b421204"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void clear </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This call will clear all logger definitions from the internal hashtable. </p>
<p>Invoking this method will irrevocably mess up the logger hierarchy.</p>
<p>You should <em>really</em> know what you are doing before invoking this method. </p>
</div>
</div>
<a class="anchor" id="a569b371f0b747d048f78062eba8d79b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void emitNoAppenderWarning </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> &amp;&#160;</td>
<td class="paramname"><em>logger</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#ab645697a704de65438e03a2c6db9e824">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a7204cf9ea148398ddcd737678e5886d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> exists </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the named logger exists in the hierarchy. </p>
<p>If so return its reference, otherwise returns <code>null</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the logger to search for. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a4fa6ca63b28ba12443bed7a1084920dd">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a3de757d6c800a7fb2e91e522b3229742"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void fireAddAppenderEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> &amp;&#160;</td>
<td class="paramname"><em>logger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#a825abdb8af807ab3153132d863803029">AppenderPtr</a> &amp;&#160;</td>
<td class="paramname"><em>appender</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a79f2f99aeb1e0d627f6309bd215fef0b">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="ad2c7afda988de425239b507fb2ab353a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void fireRemoveAppenderEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> &amp;&#160;</td>
<td class="paramname"><em>logger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#a825abdb8af807ab3153132d863803029">AppenderPtr</a> &amp;&#160;</td>
<td class="paramname"><em>appender</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8db06f5b97f9cd630e1a7b8abe13f30b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacelog4cxx.html#a3c20da83ead0a801c0c4e4c82a31181a">LoggerList</a> getCurrentLoggers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns all the currently defined loggers in this hierarchy as a LoggerList. </p>
<p>The root logger is <em>not</em> included in the returned LoggerList. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#ab1cd93c679ba0e5e5a85066e7184e22a">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a8afdd945a1581f8531c268e480ab0d86"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> getLogger </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a new logger instance named as the first parameter using the default factory. </p>
<p>If a logger of that name already exists, then it will be returned. Otherwise, a new logger will be instantiated and then linked with its existing ancestors as well as children.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the logger to retrieve. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a9c57bc493dd3488a37bc7214397655d0">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="ae1a3bfe161fbfc71f7ec3dd46ecabf59"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> getLogger </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx_1_1spi.html#a50b911880982653d0d55ca130ad4a63a">spi::LoggerFactoryPtr</a> &amp;&#160;</td>
<td class="paramname"><em>factory</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a new logger instance named as the first parameter using <code>factory</code>. </p>
<p>If a logger of that name already exists, then it will be returned. Otherwise, a new logger will be instantiated by the <code>factory</code> parameter and linked with its existing ancestors as well as children.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the logger to retrieve. </td></tr>
<tr><td class="paramname">factory</td><td>The factory that will make the new logger instance. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#ab1d1c9a45b0555504b0b49ac5b40c228">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a6360b51681a428e7b664f7d3cd0edb8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacelog4cxx.html#a59eb1cd441fdcbcc0f5479ec03f962ea">LoggerPtr</a> getRootLogger </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the root of this hierarchy. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a2037d8b585392e5c9a9a101e0a9e8be1">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a0bc4b2a92a56c9b1a1ea3a271ae1e330"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacelog4cxx.html#ae5a3f62e1b8b965953cbddfda82c53b5">LevelPtr</a>&amp; getThreshold </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a <a class="el" href="classlog4cxx_1_1_level.html" title="Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL. ">Level</a> representation of the <code>enable</code> state. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a363cabfa96d933f6fee60580b2977049">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="ae83d15ae5dc58fcf661f92b6dfe8d11a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool isConfigured </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a74ee52af71ff0e0b9efd1acd86b16164">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="ae6770230869c415de618d72aa4bf0187"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool isDisabled </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>level</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method will return <code>true</code> if this repository is disabled for <code>level</code> object passed as parameter and <code>false</code> otherwise. </p>
<p>See also the <a class="el" href="classlog4cxx_1_1_hierarchy.html#a7b0e4dbd708b9efaf0f34cb8d597226a">setThreshold</a> method. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#ac632403f6d301e286d79f37fe4d34b9f">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a55c31efee1904916b999395fa4d46a24"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void releaseRef </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a55c31efee1904916b999395fa4d46a24">ObjectImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a9081872e9bdc07e4f5b1c28e86eafed7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void resetConfiguration </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reset all values contained in this hierarchy instance to their default. </p>
<p>This removes all appenders from all categories, sets the level of all non-root categories to <code>null</code>, sets their additivity flag to <code>true</code> and sets the level of the root logger to DEBUG. Moreover, message disabling is set its default "off" value.</p>
<p>Existing categories are not removed. They are just reset.</p>
<p>This method should be used sparingly and with care as it will block all logging until it is completed.</p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a653a2cdfcf377792cee27c264ff541d6">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="ad01ad09e8cca207486c1cc9a147fd881"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void setConfigured </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>configured</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#aeb9c15bd158089d96ea972da63e3a622">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="ad868dcebe2b8e135985d6f5e57dd2387"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void setThreshold </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>levelStr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The string form of <a class="el" href="classlog4cxx_1_1_hierarchy.html#a7b0e4dbd708b9efaf0f34cb8d597226a">setThreshold</a>. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#aec6c487b28218e60bb199af63b8bd588">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a7b0e4dbd708b9efaf0f34cb8d597226a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void setThreshold </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ae5a3f62e1b8b965953cbddfda82c53b5">LevelPtr</a> &amp;&#160;</td>
<td class="paramname"><em>l</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Enable logging for logging requests with level <code>l</code> or higher. </p>
<p>By default all levels are enabled. </p><pre class="fragment"> @param l The minimum level for which logging requests are sent to
</pre><p> their appenders. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#acf85d1a16a0a6d419ca59e817b68ba79">LoggerRepository</a>.</p>
</div>
</div>
<a class="anchor" id="a7861ee1569802186a619778efc85af13"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void shutdown </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used by subclasses to add a renderer to the hierarchy passed as parameter. </p>
<p>Shutting down a hierarchy will <em>safely</em> close and remove all appenders in all categories including the root logger.</p>
<p>Some appenders such as <a class="el" href="classlog4cxx_1_1net_1_1_socket_appender.html">SocketAppender</a> and <a class="el" href="classlog4cxx_1_1_async_appender.html" title="The AsyncAppender lets users log events asynchronously. ">AsyncAppender</a> need to be closed before the application exists. Otherwise, pending logging events might be lost.</p>
<p>The <code>shutdown</code> method is careful to close nested appenders before closing regular appenders. This is allows configurations where a regular appender is attached to a logger and again to a nested appender. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html#a618e8560b89583a7ce8212d95a000c87">LoggerRepository</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="hierarchy_8h.html">hierarchy.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
</body>
</html>