blob: de983e2233412895ec58f796e76b5794345d687f [file] [log] [blame]
<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>Hierarchy Methods</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">Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">Hierarchy�Methods</h1>
</div>
</div>
<div id="nstext">
<p>The methods of the <b>Hierarchy</b> class are listed below. For a complete list of <b>Hierarchy</b> class members, see the <a href="log4net.Repository.Hierarchy.HierarchyMembers.html">Hierarchy Members</a> topic.</p>
<h4 class="dtH4">Public Instance Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.LoggerRepositorySkeleton.AddRenderer.html">AddRenderer</a> (inherited from <b>LoggerRepositorySkeleton</b>)</td><td width="50%"> Adds an object renderer for a specific class. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.Clear.html">Clear</a></td><td width="50%"> Clear all logger definitions from the internal hashtable </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassEqualsTopic.htm">Equals</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.Exists.html">Exists</a></td><td width="50%"> Test if a logger exists </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.GetAppenders.html">GetAppenders</a></td><td width="50%"> Returns all the Appenders that are currently configured </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.GetCurrentLoggers.html">GetCurrentLoggers</a></td><td width="50%"> Returns all the currently defined loggers in the hierarchy as an Array </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.htm">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.GetLogger_overloads.html">GetLogger</a></td><td width="50%">Overloaded. Return a new logger instance named as the first parameter using the default factory. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetTypeTopic.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.IsDisabled.html">IsDisabled</a></td><td width="50%"> Test if this hierarchy is disabled for the specified <a href="log4net.Core.Level.html">Level</a>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.Log.html">Log</a></td><td width="50%"> Log the logEvent through this hierarchy. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.LoggerRepositorySkeleton.RaiseConfigurationChanged.html">RaiseConfigurationChanged</a> (inherited from <b>LoggerRepositorySkeleton</b>)</td><td width="50%"> Raise a configuration changed event on this repository </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.ResetConfiguration.html">ResetConfiguration</a></td><td width="50%"> Reset all values contained in this hierarchy instance to their default. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.Shutdown.html">Shutdown</a></td><td width="50%"> Shutting down a hierarchy will <i>safely</i> close and remove all appenders in all loggers including the root logger. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassToStringTopic.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr></table>
</div>
<h4 class="dtH4">Protected Instance Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.BasicRepositoryConfigure.html">BasicRepositoryConfigure</a></td><td width="50%"> Initialize the log4net system using the specified appenders </td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassFinalizeTopic.htm">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassMemberwiseCloneTopic.htm">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="log4net.Repository.LoggerRepositorySkeleton.OnConfigurationChanged.html">OnConfigurationChanged</a> (inherited from <b>LoggerRepositorySkeleton</b>)</td><td width="50%"> Notify the registered listeners that the repository has had its configuration changed </td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="log4net.Repository.LoggerRepositorySkeleton.OnConfigurationReset.html">OnConfigurationReset</a> (inherited from <b>LoggerRepositorySkeleton</b>)</td><td width="50%"> Notify the registered listeners that the repository has had its configuration reset </td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.OnLoggerCreationEvent.html">OnLoggerCreationEvent</a></td><td width="50%"> Sends a logger creation event to all registered listeners </td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="log4net.Repository.LoggerRepositorySkeleton.OnShutdown.html">OnShutdown</a> (inherited from <b>LoggerRepositorySkeleton</b>)</td><td width="50%"> Notify the registered listeners that the repository is shutting down </td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="log4net.Repository.Hierarchy.Hierarchy.XmlRepositoryConfigure.html">XmlRepositoryConfigure</a></td><td width="50%"> Initialize the log4net system using the specified config </td></tr></table>
</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="log4net.Repository.Hierarchy.Hierarchy.html">Hierarchy Class</a> | <a href="log4net.Repository.Hierarchy.html">log4net.Repository.Hierarchy Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="Hierarchy class, methods">
</param>
</object>
<hr />
<div id="footer"><a href='http://logging.apache.org/log4net/'>Copyright 2004-2011 The Apache Software Foundation.</a><br></br>Apache log4net, Apache and log4net are trademarks of The Apache Software Foundation.</div>
</div>
</body>
</html>