<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>LogManager.Exists Method (String)</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">log4net SDK Reference</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">LogManager.Exists Method (String)</h1>
      </div>
    </div>
    <div id="nstext">
      <p> Returns the named logger if it exists. </p>
      <div class="syntax">
        <span class="lang">[Visual Basic]</span>
        <br />Overloads Public Shared Function Exists( _<br />   ByVal <i>name</i> As <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a> _<br />) As <a href="log4net.ILog.html">ILog</a></div>
      <div class="syntax">
        <span class="lang">[C#]</span>
        <br />public static <a href="log4net.ILog.html">ILog</a> Exists(<br />   <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">string</a> <i>name</i><br />);</div>
      <h4 class="dtH4">Parameters</h4>
      <dl>
        <dt>
          <i>name</i>
        </dt>
        <dd>The fully qualified logger name to look for.</dd>
      </dl>
      <h4 class="dtH4">Return Value</h4>
      <p>The logger found, or <code>null</code> if no logger could be found.</p>
      <h4 class="dtH4">Remarks</h4>
            <p> If the named logger exists (in the default repository) then it returns a reference to the logger, otherwise it returns <code>null</code>. </p>
            <h4 class="dtH4">See Also</h4><p><a href="log4net.LogManager.html">LogManager Class</a> | <a href="log4net.html">log4net Namespace</a> | <a href="log4net.LogManager.Exists_overloads.html">LogManager.Exists Overload List</a></p><hr /><div id="footer"><p><a href="http://logging.apache.org/log4net">Copyright 2001-2006 The Apache Software Foundation.</a></p><p>Generated from assembly log4net [1.2.10.0]</p></div></div>
  </body>
</html>