blob: 152b9113ec40f188cdd7f09ea0e8f46a8c05d873 [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>Logger 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">Logger�Methods</h1>
</div>
</div>
<div id="nstext">
<p>The methods of the <b>Logger</b> class are listed below. For a complete list of <b>Logger</b> class members, see the <a href="log4net.Repository.Hierarchy.LoggerMembers.html">Logger 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.Hierarchy.Logger.AddAppender.html">AddAppender</a></td><td width="50%"> Add <i>newAppender</i> to the list of appenders of this Logger instance. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Logger.CloseNestedAppenders.html">CloseNestedAppenders</a></td><td width="50%"> Closes all attached appenders implementing the <a href="log4net.Core.IAppenderAttachable.html">IAppenderAttachable</a> interface. </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.Logger.GetAppender.html">GetAppender</a></td><td width="50%"> Look for the appender named as <code>name</code>
</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="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.Logger.IsEnabledFor.html">IsEnabledFor</a></td><td width="50%"> Checks if this logger is enabled for a given <a href="log4net.Repository.Hierarchy.Logger.Level.html">Level</a> passed as parameter. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Logger.Log_overloads.html">Log</a></td><td width="50%">Overloaded. This generic form is intended to be used by wrappers. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Logger.RemoveAllAppenders.html">RemoveAllAppenders</a></td><td width="50%"> Remove all previously added appenders from this Logger instance. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Repository.Hierarchy.Logger.RemoveAppender_overloads.html">RemoveAppender</a></td><td width="50%">Overloaded. Remove the appender passed as parameter form the list of appenders. </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.Logger.CallAppenders.html">CallAppenders</a></td><td width="50%"> Deliver the <a href="log4net.Core.LoggingEvent.html">LoggingEvent</a> to the attached 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="log4net.Repository.Hierarchy.Logger.ForcedLog_overloads.html">ForcedLog</a></td><td width="50%">Overloaded. Creates a new logging event and logs the event without further checks. </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></table>
</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="log4net.Repository.Hierarchy.Logger.html">Logger 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="Logger class, methods">
</param>
</object>
<hr />
<div id="footer"><a href='http://logging.apache.org/log4net/'>Copyright 2004-2013 The Apache Software Foundation.</a><br></br>Apache log4net, Apache and log4net are trademarks of The Apache Software Foundation.</div>
</div>
</body>
</html>