Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > ef445f0ce4be1c28e0c51502e9156d24 > files > 249

log4cxx-devel-0.10.0-10.fc15.x86_64.rpm

<!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"/>
<title>Apache log4cxx: LogManager Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Apache log4cxx&#160;<span id="projectnumber">Version 0.10.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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>
    </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>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classlog4cxx_1_1_log_manager.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>LogManager Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="log4cxx::LogManager" -->
<p>Use the <code><a class="el" href="classlog4cxx_1_1_log_manager.html" title="Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository...">LogManager</a></code> class to retreive <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instances or to operate on the current <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html">LoggerRepository</a>.  
<a href="#_details">More...</a></p>

<p><a href="classlog4cxx_1_1_log_manager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a2fbad9a2b0b8d9d6fc30a0ddbdd755b2">setRepositorySelector</a> (spi::RepositorySelectorPtr selector, void *guard)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <code>LoggerFactory</code> but only if the correct <em>guard</em> is passed as parameter.  <a href="#a2fbad9a2b0b8d9d6fc30a0ddbdd755b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerRepositoryPtr</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a8dbbae8c2efa0df0172c084cb14bb3a2">getLoggerRepository</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#afc0e4d99cab7c38a2851d41e6edc1dee">getRootLogger</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate root logger.  <a href="#afc0e4d99cab7c38a2851d41e6edc1dee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a76017df17da02bc11bfe50e47de703a3">getLogger</a> (const std::string &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a76017df17da02bc11bfe50e47de703a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a8f78d73ec8fb69780d33f42341e58866">getLogger</a> (const std::string &amp;name, const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;factory)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a8f78d73ec8fb69780d33f42341e58866"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#af087e22053f9a09e462915ea82cc6479">exists</a> (const std::string &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if logger name exists in the hierarchy.  <a href="#af087e22053f9a09e462915ea82cc6479"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a87dcaff665402b5725dae3fd00075168">getLogger</a> (const std::wstring &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a87dcaff665402b5725dae3fd00075168"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#ada462cdc732c66603c87169ea6e38c7b">getLogger</a> (const std::wstring &amp;name, const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;factory)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#ada462cdc732c66603c87169ea6e38c7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a24383ab45dbee99875279a8250ccb71c">exists</a> (const std::wstring &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if logger name exists in the hierarchy.  <a href="#a24383ab45dbee99875279a8250ccb71c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a16895cca30a783c46cffd80e0de9e09a">getLogger</a> (const std::basic_string&lt; <a class="el" href="namespacelog4cxx.html#a7edf438a3547255847b2b903b1a36aaf">UniChar</a> &gt; &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a16895cca30a783c46cffd80e0de9e09a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a9bda3bf12c25db787f67dd1327352f50">getLogger</a> (const std::basic_string&lt; <a class="el" href="namespacelog4cxx.html#a7edf438a3547255847b2b903b1a36aaf">UniChar</a> &gt; &amp;name, const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;factory)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a9bda3bf12c25db787f67dd1327352f50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a5feb029db29470229b2c53367476a493">exists</a> (const std::basic_string&lt; <a class="el" href="namespacelog4cxx.html#a7edf438a3547255847b2b903b1a36aaf">UniChar</a> &gt; &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if logger name exists in the hierarchy.  <a href="#a5feb029db29470229b2c53367476a493"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a70f1007b951fe11912f57e3db97cbb43">getLogger</a> (const <a class="el" href="logstring_8h.html#ad35eb97932d08076f748ac657b1ae024">CFStringRef</a> &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a70f1007b951fe11912f57e3db97cbb43"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a5a5da08b7740f1bdd50052f1cd25e253">getLogger</a> (const <a class="el" href="logstring_8h.html#ad35eb97932d08076f748ac657b1ae024">CFStringRef</a> &amp;name, const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;factory)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a5a5da08b7740f1bdd50052f1cd25e253"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a7f972033d1a04ac3786833595d1f800f">exists</a> (const <a class="el" href="logstring_8h.html#ad35eb97932d08076f748ac657b1ae024">CFStringRef</a> &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if logger name exists in the hierarchy.  <a href="#a7f972033d1a04ac3786833595d1f800f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a5691f9360aeed7b15a97cb2874f1d79a">getLoggerLS</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a5691f9360aeed7b15a97cb2874f1d79a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a144f6e32b89fdfa2af5786a41cb54ad1">getLoggerLS</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;name, const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;factory)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance.  <a href="#a144f6e32b89fdfa2af5786a41cb54ad1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a8679bd3e8378bbc888a03bd3b76cd09b">existsLS</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if logger name exists in the hierarchy.  <a href="#a8679bd3e8378bbc888a03bd3b76cd09b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacelog4cxx.html#a3c20da83ead0a801c0c4e4c82a31181a">LoggerList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#aab7e9872166c327db921dfb067c692e7">getCurrentLoggers</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a62d41be4b41bfdb31fb9d8b017c5363a">shutdown</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Safely close and remove all appenders in all loggers including the root logger.  <a href="#a62d41be4b41bfdb31fb9d8b017c5363a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_log_manager.html#a5ea603fb2ec6652d788fa259d35f146e">resetConfiguration</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset all values contained in this current <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html">LoggerRepository</a> to their default.  <a href="#a5ea603fb2ec6652d788fa259d35f146e"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Use the <code><a class="el" href="classlog4cxx_1_1_log_manager.html" title="Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository...">LogManager</a></code> class to retreive <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instances or to operate on the current <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html">LoggerRepository</a>. </p>
<p>When the <code><a class="el" href="classlog4cxx_1_1_log_manager.html" title="Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository...">LogManager</a></code> class is loaded into memory the default initialization procedure is inititated. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af087e22053f9a09e462915ea82cc6479"></a><!-- doxytag: member="log4cxx::LogManager::exists" ref="af087e22053f9a09e462915ea82cc6479" args="(const std::string &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> exists </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines if logger name exists in the hierarchy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if logger exists. </dd></dl>

</div>
</div>
<a class="anchor" id="a24383ab45dbee99875279a8250ccb71c"></a><!-- doxytag: member="log4cxx::LogManager::exists" ref="a24383ab45dbee99875279a8250ccb71c" args="(const std::wstring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> exists </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines if logger name exists in the hierarchy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if logger exists. </dd></dl>

</div>
</div>
<a class="anchor" id="a5feb029db29470229b2c53367476a493"></a><!-- doxytag: member="log4cxx::LogManager::exists" ref="a5feb029db29470229b2c53367476a493" args="(const std::basic_string&lt; UniChar &gt; &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> exists </td>
          <td>(</td>
          <td class="paramtype">const std::basic_string&lt; <a class="el" href="namespacelog4cxx.html#a7edf438a3547255847b2b903b1a36aaf">UniChar</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines if logger name exists in the hierarchy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if logger exists. </dd></dl>

</div>
</div>
<a class="anchor" id="a7f972033d1a04ac3786833595d1f800f"></a><!-- doxytag: member="log4cxx::LogManager::exists" ref="a7f972033d1a04ac3786833595d1f800f" args="(const CFStringRef &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> exists </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="logstring_8h.html#ad35eb97932d08076f748ac657b1ae024">CFStringRef</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines if logger name exists in the hierarchy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if logger exists. </dd></dl>

</div>
</div>
<a class="anchor" id="a8679bd3e8378bbc888a03bd3b76cd09b"></a><!-- doxytag: member="log4cxx::LogManager::existsLS" ref="a8679bd3e8378bbc888a03bd3b76cd09b" args="(const LogString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> existsLS </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><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines if logger name exists in the hierarchy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if logger exists. </dd></dl>

</div>
</div>
<a class="anchor" id="aab7e9872166c327db921dfb067c692e7"></a><!-- doxytag: member="log4cxx::LogManager::getCurrentLoggers" ref="aab7e9872166c327db921dfb067c692e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="namespacelog4cxx.html#a3c20da83ead0a801c0c4e4c82a31181a">LoggerList</a> getCurrentLoggers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ada462cdc732c66603c87169ea6e38c7b"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="ada462cdc732c66603c87169ea6e38c7b" args="(const std::wstring &amp;name, const spi::LoggerFactoryPtr &amp;factory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &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="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>factory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
    <tr><td class="paramname">factory</td><td>logger factory. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a87dcaff665402b5725dae3fd00075168"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="a87dcaff665402b5725dae3fd00075168" args="(const std::wstring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a16895cca30a783c46cffd80e0de9e09a"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="a16895cca30a783c46cffd80e0de9e09a" args="(const std::basic_string&lt; UniChar &gt; &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const std::basic_string&lt; <a class="el" href="namespacelog4cxx.html#a7edf438a3547255847b2b903b1a36aaf">UniChar</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a70f1007b951fe11912f57e3db97cbb43"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="a70f1007b951fe11912f57e3db97cbb43" args="(const CFStringRef &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="logstring_8h.html#ad35eb97932d08076f748ac657b1ae024">CFStringRef</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a9bda3bf12c25db787f67dd1327352f50"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="a9bda3bf12c25db787f67dd1327352f50" args="(const std::basic_string&lt; UniChar &gt; &amp;name, const spi::LoggerFactoryPtr &amp;factory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const std::basic_string&lt; <a class="el" href="namespacelog4cxx.html#a7edf438a3547255847b2b903b1a36aaf">UniChar</a> &gt; &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="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>factory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
    <tr><td class="paramname">factory</td><td>logger factory. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a8f78d73ec8fb69780d33f42341e58866"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="a8f78d73ec8fb69780d33f42341e58866" args="(const std::string &amp;name, const spi::LoggerFactoryPtr &amp;factory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const std::string &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="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>factory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name in current encoding. </td></tr>
    <tr><td class="paramname">factory</td><td>logger factory. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a76017df17da02bc11bfe50e47de703a3"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="a76017df17da02bc11bfe50e47de703a3" args="(const std::string &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name in current encoding. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a5a5da08b7740f1bdd50052f1cd25e253"></a><!-- doxytag: member="log4cxx::LogManager::getLogger" ref="a5a5da08b7740f1bdd50052f1cd25e253" args="(const CFStringRef &amp;name, const spi::LoggerFactoryPtr &amp;factory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLogger </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="logstring_8h.html#ad35eb97932d08076f748ac657b1ae024">CFStringRef</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="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>factory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
    <tr><td class="paramname">factory</td><td>logger factory. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a144f6e32b89fdfa2af5786a41cb54ad1"></a><!-- doxytag: member="log4cxx::LogManager::getLoggerLS" ref="a144f6e32b89fdfa2af5786a41cb54ad1" args="(const LogString &amp;name, const spi::LoggerFactoryPtr &amp;factory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLoggerLS </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="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerFactoryPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>factory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
    <tr><td class="paramname">factory</td><td>logger factory. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a5691f9360aeed7b15a97cb2874f1d79a"></a><!-- doxytag: member="log4cxx::LogManager::getLoggerLS" ref="a5691f9360aeed7b15a97cb2874f1d79a" args="(const LogString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getLoggerLS </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><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>logger name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>logger. </dd></dl>

</div>
</div>
<a class="anchor" id="a8dbbae8c2efa0df0172c084cb14bb3a2"></a><!-- doxytag: member="log4cxx::LogManager::getLoggerRepository" ref="a8dbbae8c2efa0df0172c084cb14bb3a2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggerRepositoryPtr</a>&amp; getLoggerRepository </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afc0e4d99cab7c38a2851d41e6edc1dee"></a><!-- doxytag: member="log4cxx::LogManager::getRootLogger" ref="afc0e4d99cab7c38a2851d41e6edc1dee" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">LoggerPtr</a> getRootLogger </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the appropriate root logger. </p>

</div>
</div>
<a class="anchor" id="a5ea603fb2ec6652d788fa259d35f146e"></a><!-- doxytag: member="log4cxx::LogManager::resetConfiguration" ref="a5ea603fb2ec6652d788fa259d35f146e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void resetConfiguration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reset all values contained in this current <a class="el" href="classlog4cxx_1_1spi_1_1_logger_repository.html">LoggerRepository</a> to their default. </p>

</div>
</div>
<a class="anchor" id="a2fbad9a2b0b8d9d6fc30a0ddbdd755b2"></a><!-- doxytag: member="log4cxx::LogManager::setRepositorySelector" ref="a2fbad9a2b0b8d9d6fc30a0ddbdd755b2" args="(spi::RepositorySelectorPtr selector, void *guard)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void setRepositorySelector </td>
          <td>(</td>
          <td class="paramtype">spi::RepositorySelectorPtr&#160;</td>
          <td class="paramname"><em>selector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>guard</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <code>LoggerFactory</code> but only if the correct <em>guard</em> is passed as parameter. </p>
<p>Initally the guard is null. If the guard is <code>null</code>, then invoking this method sets the logger factory and the guard. Following invocations will throw a <a class="el" href="classlog4cxx_1_1helpers_1_1_illegal_argument_exception.html">IllegalArgumentException</a>, unless the previously set <code>guard</code> is passed as the second parameter.</p>
<p>This allows a high-level component to set the <a class="el" href="classlog4cxx_1_1spi_1_1_repository_selector.html">RepositorySelector</a> used by the <code><a class="el" href="classlog4cxx_1_1_log_manager.html" title="Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository...">LogManager</a></code>. </p>

</div>
</div>
<a class="anchor" id="a62d41be4b41bfdb31fb9d8b017c5363a"></a><!-- doxytag: member="log4cxx::LogManager::shutdown" ref="a62d41be4b41bfdb31fb9d8b017c5363a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void shutdown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Safely close and remove all appenders in all loggers including the root logger. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="logmanager_8h.html">logmanager.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacelog4cxx.html">log4cxx</a>      </li>
      <li class="navelem"><a class="el" href="classlog4cxx_1_1_log_manager.html">LogManager</a>      </li>
<!--
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>