log4net-1.2.10/0000755000175000017500000000000010772404071012215 5ustar slomoslomolog4net-1.2.10/doc/0000755000175000017500000000000010772404057012766 5ustar slomoslomolog4net-1.2.10/doc/license.html0000644000175000017500000005342010412737254015301 0ustar slomoslomo log4net - log4net License

log4net License

Current License

The Apache Software License Version 2.0 applies to all releases of log4net starting with log4net 1.2.1.

                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed 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.
		

The License is accompanied by this NOTICE:

   **
   **  NOTICE file corresponding to the section 4 (d) of the Apache License, 
   **  Version 2.0, in this case for the Apache log4net distribution.
   **

   This product includes software developed by
   The Apache Software Foundation (http://www.apache.org/).

   Please read the LICENSE files present in the root directory of this 
   distribution.

   The names "log4net" and "Apache Software Foundation" must not be used to
   endorse  or promote  products derived  from this  software without prior
   written permission. For written permission, please contact
   apache@apache.org.
				

Previous License

Previous releases of log4net were released under the Apache Software License Version 1.1.

/*
 * ============================================================================
 *                   The Apache Software License, Version 1.1
 * ============================================================================
 * 
 *    Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modifica-
 * tion, are permitted provided that the following conditions are met:
 * 
 * 1. Redistributions of  source code must  retain the above copyright  notice,
 *    this list of conditions and the following disclaimer.
 * 
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 
 * 3. The end-user documentation included with the redistribution, if any, must
 *    include  the following  acknowledgment:  "This product includes  software
 *    developed  by the  Apache Software Foundation  (http://www.apache.org/)."
 *    Alternately, this  acknowledgment may  appear in the software itself,  if
 *    and wherever such third-party acknowledgments normally appear.
 * 
 * 4. The names "log4j" and  "Apache Software Foundation"  must not be used to
 *    endorse  or promote  products derived  from this  software without  prior
 *    written permission. For written permission, please contact
 *    apache@apache.org.
 * 
 * 5. Products  derived from this software may not  be called "Apache", nor may
 *    "Apache" appear  in their name,  without prior written permission  of the
 *    Apache Software Foundation.
 * 
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
 * APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
 * DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
 * OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
 * ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
 * (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 * This software  consists of voluntary contributions made  by many individuals
 * on  behalf of the Apache Software  Foundation.  For more  information on the 
 * Apache Software Foundation, please see <http://www.apache.org/>.
 *
 */
				

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/downloads.html0000644000175000017500000002053510412737254015652 0ustar slomoslomo log4net - log4net Downloads

log4net Downloads

Project Status

log4net is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Logging Services project. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

As log4net is undergoing incubation these releases are not officially endorsed by the ASF.

Stable Releases

The following stable releases are available:

  • none

Developer Releases

The following development snapshots are available:

Archive Releases

Previous releases of log4net are available from the sourceforge site:

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/0000755000175000017500000000000010772404057014406 5ustar slomoslomolog4net-1.2.10/doc/release/features.html0000644000175000017500000004313710412737254017121 0ustar slomoslomo log4net - log4net Features

log4net Features

Contents

Overview

log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial.

At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity.

log4net is designed with two distinct goals in mind: speed and flexibility

Features

  • Support for multiple frameworks

  • Output to multiple logging targets

  • Hierarchical logging architecture

  • XML Configuration

  • Dynamic Configuration

  • Logging Context

  • Proven architecture

  • Modular and extensible design

  • High performance with flexibility

Support for multiple frameworks

log4net runs on all ECMA CLI 1.0 compatible runtimes. log4net has specific builds for the following frameworks:

  • Microsoft .NET Framework 1.0 (1.0.3705)
  • Microsoft .NET Framework 1.1 (1.1.4322)
  • Microsoft .NET Framework 2.0 (2.0.50727)
  • Microsoft .NET Compact Framework 1.0 (1.0.5000)
  • Mono 1.0
  • Microsoft Shared Source CLI 1.0
  • CLI 1.0 Compatible

Note: Due to the .NET frameworks support for backward compatibility log4net will run on future versions of the runtimes listed above.

Output to multiple logging targets

log4net ships with the following appenders (not on all frameworks):

Type Description
log4net.Appender.AdoNetAppender Writes logging events to a database using either prepared statements or stored procedures.
log4net.Appender.AnsiColorTerminalAppender Writes color highlighted logging events to a an ANSI terminal window.
log4net.Appender.AspNetTraceAppender Writes logging events to the ASP trace context. These can then be rendered at the end of the ASP page or on the ASP trace page.
log4net.Appender.ColoredConsoleAppender Writes color highlighted logging events to the application's Windows Console.
log4net.Appender.ConsoleAppender Writes logging events to the application's Console. The events may go to either the standard our stream or the standard error stream.
log4net.Appender.EventLogAppender Writes logging events to the Windows Event Log.
log4net.Appender.FileAppender Writes logging events to a file in the file system.
log4net.Appender.LocalSyslogAppender Writes logging events to the local syslog service (UNIX only).
log4net.Appender.MemoryAppender Stores logging events in an in memory buffer.
log4net.Appender.NetSendAppender Writes logging events to the Windows Messenger service. These messages are displayed in a dialog on a users terminal.
log4net.Appender.OutputDebugStringAppender Writes logging events to the debugger. If the application has no debugger, the system debugger displays the string. If the application has no debugger and the system debugger is not active, the message is ignored.
log4net.Appender.RemoteSyslogAppender Writes logging events to a remote syslog service using UDP networking.
log4net.Appender.RemotingAppender Writes logging events to a remoting sink using .NET remoting.
log4net.Appender.RollingFileAppender Writes logging events to a file in the file system. The RollingFileAppender can be configured to log to multiple files based upon date or file size constraints.
log4net.Appender.SmtpAppender Sends logging events to an email address.
log4net.Appender.TelnetAppender Clients connect via Telnet to receive logging events.
log4net.Appender.TraceAppender Writes logging events to the .NET trace system.
log4net.Appender.UdpAppender Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using a UdpClient.

Hierarchical logging architecture

Hierarchical logging is an ideal fit with component based development. Each component has its own of logger. When individually tested, the properties of these loggers may be set as the developer requires. When combined with other components, the loggers inherit the properties determined by the integrator of the components. One can selectively elevate logging priorities on one component without affecting the other components. This is useful when you need a detailed trace from just a single component without crowding the trace file with messages from other components. All this can be done through configuration files; no code changes are required.

XML Configuration

log4net is configured using an XML configuration file. The configuration information can be embedded within other XML configuration files (such as the application's .config file) or in a separate file. The configuration is easily readable and updateable while retaining the flexibility to express all configurations.

Alternatively log4net can be configured programmatically.

Dynamic Configuration

log4net can monitor its configuration file for changes and dynamically apply changes made by the configurator. The logging levels, appenders, layouts, and just about everything else can be adjusted at runtime. In many cases it is possible to diagnose application issues without terminating the process in question. This can a very valuable tool in investigating issues with deployed applications.

Logging Context

log4net can collect logging context data in a way that is transparent to the developer at the point of logging. The GlobalContext and the ThreadContext allow the application to capture contextual data and for it to be attached to logging messages. For instance, in a web service, once the caller is authenticated the username of the caller is can be stored in a ThreadContext property. This property is then automatically logged as part of each logging message.

Proven architecture

log4net is based on the highly successful log4j logging library, in development since 1996. This popular and proven architecture has so far been ported to 12 languages.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/sdk/0000755000175000017500000000000010772404057015167 5ustar slomoslomolog4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeletonProperties.html0000644000175000017500000000641110412737522026504 0ustar slomoslomo AppenderSkeleton Properties
log4net SDK Reference

AppenderSkeleton Properties

The properties of the AppenderSkeleton class are listed below. For a complete list of AppenderSkeleton class members, see the AppenderSkeleton Members topic.

Public Instance Properties

ErrorHandler Gets or sets the IErrorHandler for this appender.
FilterHead The filter chain.
Layout Gets or sets the ILayout for this appender.
Name Gets or sets the name of this appender.
Threshold Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout Tests if this appender requires a Layout to be set.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryType.html0000644000175000017500000000545410412737526031060 0ustar slomoslomo EventLogAppender.Level2EventLogEntryType Class
log4net SDK Reference

EventLogAppender.Level2EventLogEntryType Class

A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.

For a list of all members of this type, see EventLogAppender.Level2EventLogEntryType Members.

System.Object
   log4net.Util.LevelMappingEntry
      log4net.Appender.EventLogAppender.Level2EventLogEntryType

[Visual Basic]
Public Class EventLogAppender.Level2EventLogEntryType
    Inherits LevelMappingEntry
[C#]
public class EventLogAppender.Level2EventLogEntryType : LevelMappingEntry

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Defines the mapping between a level and its event log entry type.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

EventLogAppender.Level2EventLogEntryType Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttributeProperties.html0000644000175000017500000000465010412737540026035 0ustar slomoslomo PluginAttribute Properties
log4net SDK Reference

PluginAttribute Properties

The properties of the PluginAttribute class are listed below. For a complete list of PluginAttribute class members, see the PluginAttribute Members topic.

Public Instance Properties

Type Gets or sets the type for the plugin.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.
TypeName Gets or sets the type name for the plugin.

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Layout2RawLayoutAdapter.html0000644000175000017500000000521010412737550025410 0ustar slomoslomo Layout2RawLayoutAdapter Class
log4net SDK Reference

Layout2RawLayoutAdapter Class

Adapts any ILayout to a IRawLayout

For a list of all members of this type, see Layout2RawLayoutAdapter Members.

System.Object
   log4net.Layout.Layout2RawLayoutAdapter

[Visual Basic]
Public Class Layout2RawLayoutAdapter
    Implements IRawLayout
[C#]
public class Layout2RawLayoutAdapter : IRawLayout

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Where an IRawLayout is required this adapter allows a ILayout to be specified.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

Layout2RawLayoutAdapter Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.IDateFormatterMethods.html0000644000175000017500000000360510412737546026375 0ustar slomoslomo IDateFormatter Methods
log4net SDK Reference

IDateFormatter Methods

The methods of the IDateFormatter interface are listed below. For a complete list of IDateFormatter interface members, see the IDateFormatter Members topic.

Public Instance Methods

FormatDate Formats the specified date as a string.

See Also

IDateFormatter Interface | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppenderConstructor2.html0000644000175000017500000000470410412737526026725 0ustar slomoslomo EventLogAppender Constructor (ILayout)
log4net SDK Reference

EventLogAppender Constructor (ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property


Initializes a new instance of the EventLogAppender class with the specified ILayout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout _
)
[C#]
public EventLogAppender(
   ILayout layout
);

Parameters

layout
The ILayout to use with this appender.

Remarks

Obsolete constructor.

See Also

EventLogAppender Class | log4net.Appender Namespace | EventLogAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.SetQWForFiles_overloads.html0000644000175000017500000000361610412737534031572 0ustar slomoslomo SetQWForFiles Method
log4net SDK Reference

RollingFileAppender.SetQWForFiles Method

Sets the quiet writer being used.

Overload List

Inherited from FileAppender.

protected virtual void SetQWForFiles(Stream);

Sets the quiet writer being used.

protected override void SetQWForFiles(TextWriter);

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppenderConstructor1.html0000644000175000017500000000320210412737526026050 0ustar slomoslomo FileAppender Constructor ()
log4net SDK Reference

FileAppender Constructor ()

Default constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public FileAppender();

Remarks

Default constructor

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.NewLine.html0000644000175000017500000000376410412737564025343 0ustar slomoslomo NewLine Property
log4net SDK Reference

TextWriterAdapter.NewLine Property

Gets or sets the line terminator string used by the TextWriter

[Visual Basic]
Overrides Public Property NewLine As String
[C#]
public override string NewLine {get; set;}

Property Value

The line terminator to use

Remarks

Gets or sets the line terminator string used by the TextWriter

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawPropertyLayoutMethods.html0000644000175000017500000001165510412737552025734 0ustar slomoslomo RawPropertyLayout Methods
log4net SDK Reference

RawPropertyLayout Methods

The methods of the RawPropertyLayout class are listed below. For a complete list of RawPropertyLayout class members, see the RawPropertyLayout Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Lookup the property for Key
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawPropertyLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.html0000644000175000017500000004354310412737520021172 0ustar slomoslomo log4net.Appender
log4net SDK Reference

log4net.Appender Namespace

Output appenders.

Namespace hierarchy

Classes

Class Description
AdoNetAppender Appender that logs to a database.
AdoNetAppenderParameter Parameter type used by the AdoNetAppender.
AnsiColorTerminalAppender Appends logging events to the terminal using ANSI color escape sequences.
AnsiColorTerminalAppender.LevelColors A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
AppenderCollection A strongly-typed collection of IAppender objects.
AppenderSkeleton Abstract base class implementation of IAppender.
AspNetTraceAppender

Appends log events to the ASP.NET TraceContext system.

BufferingAppenderSkeleton Abstract base class implementation of IAppender that buffers events in a fixed size buffer.
BufferingForwardingAppender Buffers events and then forwards them to attached appenders.
ColoredConsoleAppender Appends logging events to the console.
ColoredConsoleAppender.LevelColors A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
ConsoleAppender Appends logging events to the console.
DebugAppender Appends log events to the Debug system.
EventLogAppender Writes events to the system event log.
EventLogAppender.Level2EventLogEntryType A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
FileAppender Appends logging events to a file.
FileAppender.ExclusiveLock Hold an exclusive lock on the output file
FileAppender.LockingModelBase Locking model base class
FileAppender.MinimalLock Acquires the file lock for each write
ForwardingAppender This appender forwards logging events to attached appenders.
LocalSyslogAppender Logs events to a local syslog service.
LocalSyslogAppender.LevelSeverity A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.
MemoryAppender Stores logging events in an array.
NetSendAppender Logs entries by sending network messages using the NetMessageBufferSend native function.
OutputDebugStringAppender Appends log events to the OutputDebugString system.
RemoteSyslogAppender Logs events to a remote syslog daemon.
RemoteSyslogAppender.LevelSeverity A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.
RemotingAppender Delivers logging events to a remote logging sink.
RollingFileAppender Appender that rolls log files based on size or date or both.
SmtpAppender Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
SmtpPickupDirAppender Send an email when a specific logging event occurs, typically on errors or fatal errors. Rather than sending via smtp it writes a file into the directory specified by PickupDir. This allows services such as the IIS SMTP agent to manage sending the messages.
TelnetAppender Appender that allows clients to connect via Telnet to receive log messages
TelnetAppender.SocketHandler Helper class to manage connected clients
TelnetAppender.SocketHandler.SocketClient Class that represents a client connected to this handler
TextWriterAppender Sends logging events to a TextWriter.
TraceAppender Appends log events to the Trace system.
UdpAppender Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using an UdpClient.

Interfaces

Interface Description
IAppender Implement this interface for your own strategies for printing log statements.
IBulkAppender Interface for appenders that support bulk logging.
RemotingAppender.IRemoteLoggingSink Interface used to deliver LoggingEvent objects to a remote sink.
RollingFileAppender.IDateTime This interface is used to supply Date/Time information to the RollingFileAppender.

Enumerations

Enumeration Description
AnsiColorTerminalAppender.AnsiAttributes The enum of possible display attributes
AnsiColorTerminalAppender.AnsiColor The enum of possible foreground or background color values for use with the color mapping method
ColoredConsoleAppender.Colors The enum of possible color values for use with the color mapping method
LocalSyslogAppender.SyslogFacility syslog facilities
LocalSyslogAppender.SyslogSeverity syslog severities
RemoteSyslogAppender.SyslogFacility syslog facilities
RemoteSyslogAppender.SyslogSeverity syslog severities
RollingFileAppender.RollingMode Style of rolling to use
RollingFileAppender.RollPoint The code assumes that the following 'time' constants are in a increasing sequence.
SmtpAppender.SmtpAuthentication Values for the Authentication property.

log4net-1.2.10/doc/release/sdk/log4net.Util.PatternParser.Parse.html0000644000175000017500000000347010412737562024214 0ustar slomoslomo PatternParser.Parse Method
log4net SDK Reference

PatternParser.Parse Method 

Parses the pattern into a chain of pattern converters.

[Visual Basic]
Public Function Parse() As PatternConverter
[C#]
public PatternConverter Parse();

Return Value

The head of a chain of pattern converters.

Remarks

Parses the pattern into a chain of pattern converters.

See Also

PatternParser Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.Inherit.html0000644000175000017500000000564010412737520021435 0ustar slomoslomo NDC.Inherit Method
log4net SDK Reference

NDC.Inherit Method 

Inherits the contextual information from another thread.

[Visual Basic]
Public Shared Sub Inherit( _
   ByVal stack As Stack _
)
[C#]
public static void Inherit(
   Stack stack
);

Parameters

stack
The context stack to inherit.

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

This thread will use the context information from the stack supplied. This can be used to initialize child threads with the same contextual information as their parent threads. These contexts will NOT be shared. Any further contexts that are pushed onto the stack will not be visible to the other. Call CloneStack to obtain a stack to pass to this method.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILoggerWrapper.html0000644000175000017500000000564210412737540023214 0ustar slomoslomo ILoggerWrapper Interface
log4net SDK Reference

ILoggerWrapper Interface

Base interface for all wrappers

For a list of all members of this type, see ILoggerWrapper Members.

log4net.Core.ILoggerWrapper
   log4net.ILog

[Visual Basic]
Public Interface ILoggerWrapper
[C#]
public interface ILoggerWrapper

Types that implement ILoggerWrapper

Type Description
LoggerWrapperImpl Implementation of the ILoggerWrapper interface.
LogImpl Implementation of ILog wrapper interface.

Remarks

Base interface for all wrappers.

All wrappers must implement this interface.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

ILoggerWrapper Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Send.html0000644000175000017500000000435410412737534032110 0ustar slomoslomo TelnetAppender.SocketHandler.SocketClient.Send Method
log4net SDK Reference

TelnetAppender.SocketHandler.SocketClient.Send Method 

Write a string to the client

[Visual Basic]
Public Sub Send( _
   ByVal message As String _
)
[C#]
public void Send(
   string message
);

Parameters

message
string to send

Remarks

Write a string to the client

See Also

TelnetAppender.SocketHandler.SocketClient Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILogger.Log_overloads.html0000644000175000017500000000351210412737540024443 0ustar slomoslomo Log Method
log4net SDK Reference

ILogger.Log Method

This is the most generic printing method that is intended to be used by wrappers.

Overload List

This is the most generic printing method that is intended to be used by wrappers.

void Log(LoggingEvent);

This generic form is intended to be used by wrappers.

void Log(Type,Level,object,Exception);

See Also

ILogger Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.ForcedLog_overload_2.html0000644000175000017500000000727110412737556030734 0ustar slomoslomo Logger.ForcedLog Method (Type, Level, Object, Exception)
log4net SDK Reference

Logger.ForcedLog Method (Type, Level, Object, Exception)

Creates a new logging event and logs the event without further checks.

[Visual Basic]
Overridable Overloads Protected Sub ForcedLog( _
   ByVal callerStackBoundaryDeclaringType As Type, _
   ByVal level As Level, _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
protected virtual void ForcedLog(
   Type callerStackBoundaryDeclaringType,
   Level level,
   object message,
   Exception exception
);

Parameters

callerStackBoundaryDeclaringType
The declaring type of the method that is the stack boundary into the logging system for this call.
level
The level of the message to be logged.
message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

Generates a logging event and delivers it to the attached appenders.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.ForcedLog Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandler.html0000644000175000017500000000525410412737562024411 0ustar slomoslomo OnlyOnceErrorHandler Class
log4net SDK Reference

OnlyOnceErrorHandler Class

Implements log4net's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all subsequent errors.

For a list of all members of this type, see OnlyOnceErrorHandler Members.

System.Object
   log4net.Util.OnlyOnceErrorHandler

[Visual Basic]
Public Class OnlyOnceErrorHandler
    Implements IErrorHandler
[C#]
public class OnlyOnceErrorHandler : IErrorHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The error message is printed on the standard error output stream.

This policy aims at protecting an otherwise working application from being flooded with error messages when logging fails.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

OnlyOnceErrorHandler Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.InfoFormat_overloads.html0000644000175000017500000000550610412737516024411 0ustar slomoslomo InfoFormat Method
log4net SDK Reference

ILog.InfoFormat Method

Log a formatted message string with the Info level.

Overload List

Logs a formatted message string with the Info level.

void InfoFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the Info level.

void InfoFormat(string,object);

Logs a formatted message string with the Info level.

void InfoFormat(string,object,object);

Logs a formatted message string with the Info level.

void InfoFormat(string,object,object,object);

Logs a formatted message string with the Info level.

void InfoFormat(string,params object[]);

See Also

ILog Interface | log4net Namespace | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.html0000644000175000017500000000562610412737544023043 0ustar slomoslomo LoggerManager Class
log4net SDK Reference

LoggerManager Class

Static manager that controls the creation of repositories

For a list of all members of this type, see LoggerManager Members.

System.Object
   log4net.Core.LoggerManager

[Visual Basic]
NotInheritable Public Class LoggerManager
[C#]
public sealed class LoggerManager

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Static manager that controls the creation of repositories

This class is used by the wrapper managers (e.g. LogManager) to provide access to the ILogger objects.

This manager also holds the IRepositorySelector that is used to lookup and create repositories. The selector can be set either programmatically using the RepositorySelector property, or by setting the log4net.RepositorySelector AppSetting in the applications config file to the fully qualified type name of the selector to use.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LoggerManager Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.IRawLayout.html0000644000175000017500000000752510412737550022753 0ustar slomoslomo IRawLayout Interface
log4net SDK Reference

IRawLayout Interface

Interface for raw layout objects

For a list of all members of this type, see IRawLayout Members.

[Visual Basic]
Public Interface IRawLayout
[C#]
public interface IRawLayout

Types that implement IRawLayout

Type Description
Layout2RawLayoutAdapter Adapts any ILayout to a IRawLayout
RawPropertyLayout Extract the value of a property from the LoggingEvent
RawTimeStampLayout Extract the date from the LoggingEvent
RawUtcTimeStampLayout Extract the date from the LoggingEvent

Remarks

Interface used to format a LoggingEvent to an object.

This interface should not be confused with the ILayout interface. This interface is used in only certain specialized situations where a raw object is required rather than a formatted string. The ILayout is not generally useful than this interface.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

IRawLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.IsEnabledFor.html0000644000175000017500000000543610412737556027252 0ustar slomoslomo Logger.IsEnabledFor Method
log4net SDK Reference

Logger.IsEnabledFor Method 

Checks if this logger is enabled for a given Level passed as parameter.

[Visual Basic]
Overridable Public Function IsEnabledFor( _
   ByVal level As Level _
) As Boolean _
    Implements ILogger.IsEnabledFor
[C#]
public virtual bool IsEnabledFor(
   Level level
);

Parameters

level
The level to check.

Return Value

true if this logger is enabled for level, otherwise false.

Implements

ILogger.IsEnabledFor

Remarks

Test if this logger is going to log events of the specified level.

This method must not throw any exception to the caller.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.Identity.html0000644000175000017500000000356410412737544025302 0ustar slomoslomo LoggingEventData.Identity Field
log4net SDK Reference

LoggingEventData.Identity Field

String representation of the identity.

[Visual Basic]
Public Identity As String
[C#]
public string Identity;

Remarks

String representation of the current thread's principal identity.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.AnsiColor.html0000644000175000017500000000521710412737522030123 0ustar slomoslomo AnsiColorTerminalAppender.AnsiColor Enumeration
log4net SDK Reference

AnsiColorTerminalAppender.AnsiColor Enumeration

The enum of possible foreground or background color values for use with the color mapping method

[Visual Basic]
Public Enum AnsiColorTerminalAppender.AnsiColor
[C#]
public enum AnsiColorTerminalAppender.AnsiColor

Remarks

The output can be in one for the following ANSI colors.

Members

Member NameDescription
Black color is black
Red color is red
Green color is green
Yellow color is yellow
Blue color is blue
Magenta color is magenta
Cyan color is cyan
White color is white

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace | AnsiColorTerminalAppender


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppenderProperties.html0000644000175000017500000001365110412737524030660 0ustar slomoslomo BufferingForwardingAppender Properties
log4net SDK Reference

BufferingForwardingAppender Properties

The properties of the BufferingForwardingAppender class are listed below. For a complete list of BufferingForwardingAppender class members, see the BufferingForwardingAppender Members topic.

Public Instance Properties

Appenders Gets the appenders contained in this appender as an ICollection.
BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumerator.Reset.html0000644000175000017500000000420210412737562024400 0ustar slomoslomo NullEnumerator.Reset Method
log4net SDK Reference

NullEnumerator.Reset Method 

Resets the enumerator back to the start.

[Visual Basic]
NotOverridable Public Sub Reset() _
    Implements IEnumerator.Reset
[C#]
public void Reset();

Implements

IEnumerator.Reset

Remarks

As the enumerator is over an empty collection Reset does nothing.

See Also

NullEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Debug_overload_2.html0000644000175000017500000000651710412737546025037 0ustar slomoslomo LogImpl.Debug Method (Object)
log4net SDK Reference

LogImpl.Debug Method (Object)

Logs a message object with the DEBUG level.

[Visual Basic]
Overridable Overloads Public Sub Debug( _
   ByVal message As Object _
) _
    Implements ILog.Debug
[C#]
public virtual void Debug(
   object message
);

Parameters

message
The message object to log.

Implements

ILog.Debug

Remarks

This method first checks if this logger is DEBUG enabled by comparing the level of this logger with the DEBUG level. If this logger is DEBUG enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Debug form instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Debug Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.DenyAllFilter.html0000644000175000017500000000522210412737546023356 0ustar slomoslomo DenyAllFilter Class
log4net SDK Reference

DenyAllFilter Class

This filter drops all LoggingEvent.

For a list of all members of this type, see DenyAllFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.DenyAllFilter

[Visual Basic]
NotInheritable Public Class DenyAllFilter
    Inherits FilterSkeleton
[C#]
public sealed class DenyAllFilter : FilterSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

You can add this filter to the end of a filter chain to switch from the default "accept all unless instructed otherwise" filtering behavior to a "deny all unless instructed otherwise" behavior.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

DenyAllFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppenderMethods.html0000644000175000017500000002270310412737536026317 0ustar slomoslomo TextWriterAppender Methods
log4net SDK Reference

TextWriterAppender Methods

The methods of the TextWriterAppender class are listed below. For a complete list of TextWriterAppender class members, see the TextWriterAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

AppendOverloaded. This method is called by the DoAppend method.
CloseWriter Closes the underlying TextWriter.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Close this appender instance. The underlying stream or writer is also closed.
PreAppendCheck This method determines if there is a sense in attempting to append.
PrepareWriter Called to allow a subclass to lazily initialize the writer
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
Reset Clears internal references to the underlying TextWriter and other variables.
WriteFooter Writes a footer as produced by the embedded layout's Footer property.
WriteFooterAndCloseWriter Writes the footer and closes the underlying TextWriter.
WriteHeader Writes a header produced by the embedded layout's Header property.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionaryConstructor2.html0000644000175000017500000000450510412737564030523 0ustar slomoslomo ReadOnlyPropertiesDictionary Constructor (ReadOnlyPropertiesDictionary)
log4net SDK Reference

ReadOnlyPropertiesDictionary Constructor (ReadOnlyPropertiesDictionary)

Copy Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal propertiesDictionary As ReadOnlyPropertiesDictionary _
)
[C#]
public ReadOnlyPropertiesDictionary(
   ReadOnlyPropertiesDictionary propertiesDictionary
);

Parameters

propertiesDictionary
properties to copy

Remarks

Initializes a new instance of the ReadOnlyPropertiesDictionary class.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace | ReadOnlyPropertiesDictionary Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBase.html0000644000175000017500000000553410412737552023444 0ustar slomoslomo XmlLayoutBase Class
log4net SDK Reference

XmlLayoutBase Class

Layout that formats the log events as XML elements.

For a list of all members of this type, see XmlLayoutBase Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.XmlLayoutBase
         log4net.Layout.XmlLayout
         log4net.Layout.XmlLayoutSchemaLog4j

[Visual Basic]
MustInherit Public Class XmlLayoutBase
    Inherits LayoutSkeleton
[C#]
public abstract class XmlLayoutBase : LayoutSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This is an abstract class that must be subclassed by an implementation to conform to a specific schema.

Deriving classes must implement the FormatXml method.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

XmlLayoutBase Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IAppenderMembers.html0000644000175000017500000000436110412737530024347 0ustar slomoslomo IAppender Members
log4net SDK Reference

IAppender Members

IAppender overview

Public Instance Properties

Name Gets or sets the name of this appender.

Public Instance Methods

Close Closes the appender and releases resources.
DoAppend Log the logging event in Appender specific way.

See Also

IAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.RequiresLayout.html0000644000175000017500000000412710412737526027370 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

EventLogAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBaseMembers.html0000644000175000017500000001474510412737526030213 0ustar slomoslomo FileAppender.LockingModelBase Members
log4net SDK Reference

FileAppender.LockingModelBase Members

FileAppender.LockingModelBase overview

Public Instance Properties

CurrentAppender Gets or sets the FileAppender for this LockingModel

Public Instance Methods

AcquireLock Acquire the lock on the file
CloseFile Close the file
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
OpenFile Open the output file
ReleaseLock Release the lock on the file
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

FileAppender.LockingModelBase Constructor Initializes a new instance of the FileAppender.LockingModelBase class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRenderer.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRenderer.h0000644000175000017500000000444510412737556032543 0ustar slomoslomo XmlHierarchyConfigurator.ParseRenderer Method
log4net SDK Reference

XmlHierarchyConfigurator.ParseRenderer Method 

Parses an object renderer.

[Visual Basic]
Protected Sub ParseRenderer( _
   ByVal element As XmlElement _
)
[C#]
protected void ParseRenderer(
   XmlElement element
);

Parameters

element
The renderer element.

Remarks

Parse an XML element that represents a renderer.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IBulkAppenderMethods.html0000644000175000017500000000356110412737530025177 0ustar slomoslomo IBulkAppender Methods
log4net SDK Reference

IBulkAppender Methods

The methods of the IBulkAppender interface are listed below. For a complete list of IBulkAppender interface members, see the IBulkAppender Members topic.

Public Instance Methods

DoAppend Log the array of logging events in Appender specific way.

See Also

IBulkAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.m_eventsList.html0000644000175000017500000000410710412737530026565 0ustar slomoslomo MemoryAppender.m_eventsList Field
log4net SDK Reference

MemoryAppender.m_eventsList Field

The list of events that have been appended.

[Visual Basic]
Protected m_eventsList As ArrayList
[C#]
protected ArrayList m_eventsList;

Remarks

Missing <remarks> documentation for F:log4net.Appender.MemoryAppender.m_eventsList

See Also

MemoryAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryTypeMembers.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryTypeMembers.html0000644000175000017500000001434710412737526032374 0ustar slomoslomo EventLogAppender.Level2EventLogEntryType Members
log4net SDK Reference

EventLogAppender.Level2EventLogEntryType Members

EventLogAppender.Level2EventLogEntryType overview

Public Instance Constructors

EventLogAppender.Level2EventLogEntryType Constructor Initializes a new instance of the EventLogAppender.Level2EventLogEntryType class.

Public Instance Properties

EventLogEntryType The EventLogEntryType for this entry
Level (inherited from LevelMappingEntry) The level that is the key for this mapping

Public Instance Methods

ActivateOptions (inherited from LevelMappingEntry) Initialize any options defined on this entry
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

EventLogAppender.Level2EventLogEntryType Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.WriteHeader.html0000644000175000017500000000357110412737526025734 0ustar slomoslomo FileAppender.WriteHeader Method
log4net SDK Reference

FileAppender.WriteHeader Method 

Writes a header produced by the embedded layout's Header property.

[Visual Basic]
Overrides Protected Sub WriteHeader()
[C#]
protected override void WriteHeader();

Remarks

Writes a header produced by the embedded layout's Header property.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextConstructor.html0000644000175000017500000000315710412737546025752 0ustar slomoslomo SecurityContext Constructor
log4net SDK Reference

SecurityContext Constructor 

Initializes a new instance of the SecurityContext class.

[Visual Basic]
Protected Sub New()
[C#]
protected SecurityContext();

See Also

SecurityContext Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.MDCMethods.html0000644000175000017500000001053310412737520021354 0ustar slomoslomo MDC Methods
log4net SDK Reference

MDC Methods

The methods of the MDC class are listed below. For a complete list of MDC class members, see the MDC Members topic.

Public Static (Shared) Methods

Clear Clear all entries in the MDC
Get Gets the context value identified by the key parameter.
Remove Removes the key value mapping for the key specified.
Set Add an entry to the MDC

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

MDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfo.html0000644000175000017500000000637010412737542022710 0ustar slomoslomo LocationInfo Class
log4net SDK Reference

LocationInfo Class

The internal representation of caller location information.

For a list of all members of this type, see LocationInfo Members.

System.Object
   log4net.Core.LocationInfo

[Visual Basic]
Public Class LocationInfo
[C#]
public class LocationInfo

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class uses the System.Diagnostics.StackTrace class to generate a call stack. The caller's information is then extracted from this stack.

The System.Diagnostics.StackTrace class is not supported on the .NET Compact Framework 1.0 therefore caller location information is not available on that framework.

The System.Diagnostics.StackTrace class has this to say about Release builds:

"StackTrace information will be most informative with Debug build configurations. By default, Debug builds include debug symbols, while Release builds do not. The debug symbols contain most of the file, method name, line number, and column information used in constructing StackFrame and StackTrace objects. StackTrace might not report as many method calls as expected, due to code transformations that occur during optimization."

This means that in a Release build the caller information may be incomplete or may not exist at all! Therefore caller location information cannot be relied upon in a Release build.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LocationInfo Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeleton.Name.html0000644000175000017500000000457010412737554024517 0ustar slomoslomo Name Property
log4net SDK Reference

PluginSkeleton.Name Property

Gets or sets the name of the plugin.

[Visual Basic]
Overridable Public Property Name As String _
    Implements IPlugin.Name
[C#]
public virtual string Name {get; set;}

Property Value

The name of the plugin.

Implements

IPlugin.Name

Remarks

Plugins are stored in the PluginMap keyed by name. Each plugin instance attached to a repository must be a unique name.

The name of the plugin must not change one the plugin has been attached to a repository.

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeletonMethods.html0000644000175000017500000001206510412737550025214 0ustar slomoslomo LayoutSkeleton Methods
log4net SDK Reference

LayoutSkeleton Methods

The methods of the LayoutSkeleton class are listed below. For a complete list of LayoutSkeleton class members, see the LayoutSkeleton Members topic.

Public Instance Methods

ActivateOptions Activate component options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Implement this method to create your own layout format.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.OnConfigurationChanged.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.OnConfigurationChanged.ht0000644000175000017500000000455610412737554032672 0ustar slomoslomo LoggerRepositorySkeleton.OnConfigurationChanged Method
log4net SDK Reference

LoggerRepositorySkeleton.OnConfigurationChanged Method 

Notify the registered listeners that the repository has had its configuration changed

[Visual Basic]
Overridable Protected Sub OnConfigurationChanged( _
   ByVal e As EventArgs _
)
[C#]
protected virtual void OnConfigurationChanged(
   EventArgs e
);

Parameters

e
Empty EventArgs

Remarks

Notify any listeners that this repository's configuration has changed.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppenderMembers.html0000644000175000017500000003114410412737536024714 0ustar slomoslomo UdpAppender Members
log4net SDK Reference

UdpAppender Members

UdpAppender overview

Public Instance Constructors

UdpAppender Constructor Initializes a new instance of the UdpAppender class.

Public Instance Properties

Encoding Gets or sets Encoding used to write the packets.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LocalPort Gets or sets the TCP port number from which the underlying UdpClient will communicate.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
RemoteAddress Gets or sets the IP address of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
RemotePort Gets or sets the TCP port number of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

Client Gets or sets the underlying UdpClient.
RemoteEndPoint Gets or sets the cached remote endpoint to which the logging events should be sent.
RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
InitializeClientConnection Initializes the underlying UdpClient connection.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Closes the UDP connection and releases all resources associated with this UdpAppender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.FindAndRender_overload_1.html0000644000175000017500000000561510412737552031314 0ustar slomoslomo RendererMap.FindAndRender Method (Object)
log4net SDK Reference

RendererMap.FindAndRender Method (Object)

Render obj using the appropriate renderer.

[Visual Basic]
Overloads Public Function FindAndRender( _
   ByVal obj As Object _
) As String
[C#]
public string FindAndRender(
   object obj
);

Parameters

obj
the object to render to a string

Return Value

the object rendered as a string

Remarks

This is a convenience method used to render an object to a string. The alternative method FindAndRender should be used when streaming output to a TextWriter.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace | RendererMap.FindAndRender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.OnShutdown.html0000644000175000017500000000444210412737554030747 0ustar slomoslomo LoggerRepositorySkeleton.OnShutdown Method
log4net SDK Reference

LoggerRepositorySkeleton.OnShutdown Method 

Notify the registered listeners that the repository is shutting down

[Visual Basic]
Overridable Protected Sub OnShutdown( _
   ByVal e As EventArgs _
)
[C#]
protected virtual void OnShutdown(
   EventArgs e
);

Parameters

e
Empty EventArgs

Remarks

Notify any listeners that this repository is shutting down.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Finer.html0000644000175000017500000000357310412737542022437 0ustar slomoslomo Level.Finer Field
log4net SDK Reference

Level.Finer Field

The Finer level designates fine-grained informational events that are most useful to debug an application.

[Visual Basic]
Public Shared ReadOnly Finer As Level
[C#]
public static readonly Level Finer;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Finer

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IOptionHandler.ActivateOptions.html0000644000175000017500000000405610412737542026315 0ustar slomoslomo IOptionHandler.ActivateOptions Method
log4net SDK Reference

IOptionHandler.ActivateOptions Method 

Activate the options that were previously set with calls to properties.

[Visual Basic]
Sub ActivateOptions()
[C#]
void ActivateOptions();

Remarks

This allows an object to defer activation of its options until all options have been set. This is required for components which have related options that remain ambiguous until all are set.

If a component implements this interface then this method must be called after its properties have been set before the component can be used.

See Also

IOptionHandler Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.AddRange_overloads.html0000644000175000017500000000451310412737542027126 0ustar slomoslomo AddRange Method
log4net SDK Reference

LevelCollection.AddRange Method

Adds the elements of a Level array to the current LevelCollection.

Overload List

Adds the elements of a Level array to the current LevelCollection.

public virtual int AddRange(Level[]);

Adds the elements of another LevelCollection to the current LevelCollection.

public virtual int AddRange(LevelCollection);

Adds the elements of a Level collection to the current LevelCollection.

public virtual int AddRange(ICollection);

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderFields.html0000644000175000017500000000445010412737524025377 0ustar slomoslomo ConsoleAppender Fields
log4net SDK Reference

ConsoleAppender Fields

The fields of the ConsoleAppender class are listed below. For a complete list of ConsoleAppender class members, see the ConsoleAppender Members topic.

Public Static (Shared) Fields

ConsoleError The Target to use when writing to the Console standard error output stream.
ConsoleOut The Target to use when writing to the Console standard output stream.

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLockMethods.html0000644000175000017500000001052210412737564025103 0ustar slomoslomo ReaderWriterLock Methods
log4net SDK Reference

ReaderWriterLock Methods

The methods of the ReaderWriterLock class are listed below. For a complete list of ReaderWriterLock class members, see the ReaderWriterLock Members topic.

Public Instance Methods

AcquireReaderLock Acquires a reader lock
AcquireWriterLock Acquires the writer lock
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ReleaseReaderLock Decrements the lock count
ReleaseWriterLock Decrements the lock count on the writer lock
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ReaderWriterLock Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttributeMethods.html0000644000175000017500000001347710412737540027200 0ustar slomoslomo XmlConfiguratorAttribute Methods
log4net SDK Reference

XmlConfiguratorAttribute Methods

The methods of the XmlConfiguratorAttribute class are listed below. For a complete list of XmlConfiguratorAttribute class members, see the XmlConfiguratorAttribute Members topic.

Public Instance Methods

CompareTo (inherited from ConfiguratorAttribute) Compare this instance to another ConfiguratorAttribute
Configure Configures the ILoggerRepository for the specified assembly.
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.ErrorFormat_overload_3.html0000644000175000017500000000746510412737516024654 0ustar slomoslomo ILog.ErrorFormat Method (String, Object, Object)
log4net SDK Reference

ILog.ErrorFormat Method (String, Object, Object)

Logs a formatted message string with the Error level.

[Visual Basic]
Sub ErrorFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
)
[C#]
void ErrorFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

ILog Interface | log4net Namespace | ILog.ErrorFormat Overload List | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Add.html0000644000175000017500000000504510412737542024074 0ustar slomoslomo LevelCollection.Add Method
log4net SDK Reference

LevelCollection.Add Method 

Adds a Level to the end of the LevelCollection.

[Visual Basic]
Overridable Public Function Add( _
   ByVal item As Level _
) As Integer
[C#]
public virtual int Add(
   Level item
);

Parameters

item
The Level to be added to the end of the LevelCollection.

Return Value

The index at which the value has been added.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.Add(log4net.Core.Level)

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.InfoFormat_overload_4.html0000644000175000017500000000660610412737516024453 0ustar slomoslomo ILog.InfoFormat Method (String, Object)
log4net SDK Reference

ILog.InfoFormat Method (String, Object)

Logs a formatted message string with the Info level.

[Visual Basic]
Sub InfoFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
)
[C#]
void InfoFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

ILog Interface | log4net Namespace | ILog.InfoFormat Overload List | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.GetRepository_overloads.html0000644000175000017500000000404110412737542031202 0ustar slomoslomo GetRepository Method
log4net SDK Reference

IRepositorySelector.GetRepository Method

Gets the ILoggerRepository for the specified assembly.

Overload List

Gets the ILoggerRepository for the specified assembly.

ILoggerRepository GetRepository(Assembly);

Gets the named ILoggerRepository.

ILoggerRepository GetRepository(string);

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.Append_overloads.html0000644000175000017500000000361010412737534027363 0ustar slomoslomo Append Method
log4net SDK Reference

TelnetAppender.Append Method

Writes the logging event to each connected client.

Overload List

Writes the logging event to each connected client.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ShutdownRepository_overload_3.html0000644000175000017500000000566610412737520027503 0ustar slomoslomo LogManager.ShutdownRepository Method (Assembly)
log4net SDK Reference

LogManager.ShutdownRepository Method (Assembly)

Shuts down the repository specified.

[Visual Basic]
Overloads Public Shared Sub ShutdownRepository( _
   ByVal repositoryAssembly As Assembly _
)
[C#]
public static void ShutdownRepository(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Remarks

Calling this method will safely close and remove all appenders in all the loggers including root contained in the repository. The repository is looked up using the repositoryAssembly specified.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The shutdown 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.

See Also

LogManager Class | log4net Namespace | LogManager.ShutdownRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.SafeOpenFile.html0000644000175000017500000000565410412737526026035 0ustar slomoslomo FileAppender.SafeOpenFile Method
log4net SDK Reference

FileAppender.SafeOpenFile Method 

Sets and opens the file where the log output will go. The specified file must be writable.

[Visual Basic]
Overridable Protected Sub SafeOpenFile( _
   ByVal fileName As String, _
   ByVal append As Boolean _
)
[C#]
protected virtual void SafeOpenFile(
   string fileName,
   bool append
);

Parameters

fileName
The path to the log file. Must be a fully qualified path.
append
If true will append to fileName. Otherwise will truncate fileName

Remarks

Calls OpenFile but guarantees not to throw an exception. Errors are passed to the ErrorHandler.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeError.html0000644000175000017500000000427310412737560022611 0ustar slomoslomo NativeError Class
log4net SDK Reference

NativeError Class

Represents a native error code and message.

For a list of all members of this type, see NativeError Members.

System.Object
   log4net.Util.NativeError

[Visual Basic]
NotInheritable Public Class NativeError
[C#]
public sealed class NativeError

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Represents a Win32 platform native error.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

NativeError Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Remove.html0000644000175000017500000000610010412737554025372 0ustar slomoslomo PluginCollection.Remove Method
log4net SDK Reference

PluginCollection.Remove Method 

Removes the first occurrence of a specific IPlugin from the PluginCollection.

[Visual Basic]
Overridable Public Sub Remove( _
   ByVal item As IPlugin _
)
[C#]
public virtual void Remove(
   IPlugin item
);

Parameters

item
The IPlugin to remove from the PluginCollection.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.Remove(log4net.Plugin.IPlugin)

Exceptions

Exception Type Condition
ArgumentException The specified IPlugin was not found in the PluginCollection.

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBaseMembers.html0000644000175000017500000001717610412737552024764 0ustar slomoslomo XmlLayoutBase Members
log4net SDK Reference

XmlLayoutBase Members

XmlLayoutBase overview

Public Instance Properties

ContentType Gets the content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions
InvalidCharReplacement The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

LocationInfo Gets a value indicating whether to include location information in the XML events.

Public Instance Methods

ActivateOptions Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Produces a formatted string.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

XmlLayoutBase Overloaded. Initializes a new instance of the XmlLayoutBase class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatXml Does the actual writing of the XML.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.LevelSeverity.html0000644000175000017500000000550210412737532030101 0ustar slomoslomo RemoteSyslogAppender.LevelSeverity Class
log4net SDK Reference

RemoteSyslogAppender.LevelSeverity Class

A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.

For a list of all members of this type, see RemoteSyslogAppender.LevelSeverity Members.

System.Object
   log4net.Util.LevelMappingEntry
      log4net.Appender.RemoteSyslogAppender.LevelSeverity

[Visual Basic]
Public Class RemoteSyslogAppender.LevelSeverity
    Inherits LevelMappingEntry
[C#]
public class RemoteSyslogAppender.LevelSeverity : LevelMappingEntry

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

RemoteSyslogAppender.LevelSeverity Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionConstructor5.html0000644000175000017500000000520310412737554026474 0ustar slomoslomo PluginCollection Constructor (ICollection)
log4net SDK Reference

PluginCollection Constructor (ICollection)

Initializes a new instance of the PluginCollection class that contains elements copied from the specified IPlugin collection.

[Visual Basic]
Overloads Public Sub New( _
   ByVal col As ICollection _
)
[C#]
public PluginCollection(
   ICollection col
);

Parameters

col
The IPlugin collection whose elements are copied to the new list.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.#ctor(System.Collections.ICollection)

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.RemoveAppender_overloads.html0000644000175000017500000000372510412737556031746 0ustar slomoslomo RemoveAppender Method
log4net SDK Reference

Logger.RemoveAppender Method

Remove the appender passed as parameter form the list of appenders.

Overload List

Remove the appender passed as parameter form the list of appenders.

public virtual IAppender RemoveAppender(IAppender);

Remove the appender passed as parameter form the list of appenders.

public virtual IAppender RemoveAppender(string);

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistryMembers.html0000644000175000017500000001111410412737566030355 0ustar slomoslomo ConverterRegistry Members
log4net SDK Reference

ConverterRegistry Members

ConverterRegistry overview

Public Static (Shared) Methods

AddConverterOverloaded. Adds a converter for a specific type.
GetConvertFrom Gets the type converter to use to convert values to the destination type.
GetConvertTo Gets the type converter to use to convert values to the destination type.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace | IConvertFrom | IConvertTo


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.NewGuid.html0000644000175000017500000000352210412737564024012 0ustar slomoslomo SystemInfo.NewGuid Method
log4net SDK Reference

SystemInfo.NewGuid Method 

Generate a new guid

[Visual Basic]
Public Shared Function NewGuid() As Guid
[C#]
public static Guid NewGuid();

Return Value

A new Guid

Remarks

Generate a new guid

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttributeConstructor.html0000644000175000017500000000310410412737540030104 0ustar slomoslomo XmlConfiguratorAttribute Constructor
log4net SDK Reference

XmlConfiguratorAttribute Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public XmlConfiguratorAttribute();

Remarks

Default constructor

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.GetSeverity.html0000644000175000017500000000430610412737530027347 0ustar slomoslomo LocalSyslogAppender.GetSeverity Method
log4net SDK Reference

LocalSyslogAppender.GetSeverity Method 

Translates a log4net level to a syslog severity.

[Visual Basic]
Overridable Protected Function GetSeverity( _
   ByVal level As Level _
) As SyslogSeverity
[C#]
protected virtual SyslogSeverity GetSeverity(
   Level level
);

Parameters

level
A log4net level.

Return Value

A syslog severity.

Remarks

Translates a log4net level to a syslog severity.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppenderMembers.html0000644000175000017500000002506110412737536025223 0ustar slomoslomo TraceAppender Members
log4net SDK Reference

TraceAppender Members

TraceAppender overview

Public Instance Constructors

TraceAppender Overloaded. Initializes a new instance of the TraceAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush Gets or sets a value that indicates whether the appender will flush at the end of each write.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Writes the logging event to the Trace system.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

TraceAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructor4.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructo0000644000175000017500000000677410412737564033074 0ustar slomoslomo ConversionNotSupportedException Constructor (SerializationInfo, StreamingContext)
log4net SDK Reference

ConversionNotSupportedException Constructor (SerializationInfo, StreamingContext)

Serialization constructor

[Visual Basic]
Overloads Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
protected ConversionNotSupportedException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.

Remarks

Initializes a new instance of the ConversionNotSupportedException class with serialized data.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace | ConversionNotSupportedException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.FormatValue.html0000644000175000017500000000524610412737520030105 0ustar slomoslomo AdoNetAppenderParameter.FormatValue Method
log4net SDK Reference

AdoNetAppenderParameter.FormatValue Method 

Renders the logging event and set the parameter value in the command.

[Visual Basic]
Overridable Public Sub FormatValue( _
   ByVal command As IDbCommand, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
public virtual void FormatValue(
   IDbCommand command,
   LoggingEvent loggingEvent
);

Parameters

command
The command containing the parameter.
loggingEvent
The event to be rendered.

Remarks

Renders the logging event using this parameters layout object. Sets the value of the parameter on the command object.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.html0000644000175000017500000000626010412737522024431 0ustar slomoslomo AppenderSkeleton Class
log4net SDK Reference

AppenderSkeleton Class

Abstract base class implementation of IAppender.

For a list of all members of this type, see AppenderSkeleton Members.

System.Object
   log4net.Appender.AppenderSkeleton
      Derived types

[Visual Basic]
MustInherit Public Class AppenderSkeleton
    Implements IBulkAppender, IAppender, IOptionHandler
[C#]
public abstract class AppenderSkeleton : IBulkAppender, IAppender, IOptionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class provides the code for common functionality, such as support for threshold filtering and support for general filters.

Appenders can also implement the IOptionHandler interface. Therefore they would require that the ActivateOptions method be called after the appenders properties have been configured.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

AppenderSkeleton Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayout.html0000644000175000017500000001065110412737550022273 0ustar slomoslomo ILayout Interface
log4net SDK Reference

ILayout Interface

Interface implemented by layout objects

For a list of all members of this type, see ILayout Members.

[Visual Basic]
Public Interface ILayout
[C#]
public interface ILayout

Types that implement ILayout

Type Description
ExceptionLayout A Layout that renders only the Exception text from the logging event
LayoutSkeleton Extend this abstract class to create your own log layout format.
PatternLayout A flexible layout configurable with pattern string.
SimpleLayout A very simple layout
XmlLayout Layout that formats the log events as XML elements.
XmlLayoutBase Layout that formats the log events as XML elements.
XmlLayoutSchemaLog4j Layout that formats the log events as XML elements compatible with the log4j schema

Remarks

An ILayout object is used to format a LoggingEvent as text. The Format method is called by an appender to transform the LoggingEvent into a string.

The layout can also supply Header and Footer text that is appender before any events and after all the events respectively.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

ILayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerWrapperImpl.Logger.html0000644000175000017500000000442310412737544025143 0ustar slomoslomo Logger Property
log4net SDK Reference

LoggerWrapperImpl.Logger Property

Gets the implementation behind this wrapper object.

[Visual Basic]
Overridable Public ReadOnly Property Logger As ILogger _
    Implements ILoggerWrapper.Logger
[C#]
public virtual ILogger Logger {get;}

Property Value

The ILogger object that this object is implementing.

Implements

ILoggerWrapper.Logger

Remarks

The Logger object may not be the same object as this object because of logger decorators.

This gets the actual underlying objects that is used to process the log events.

See Also

LoggerWrapperImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.GetRepository_overload_2.html0000644000175000017500000000631710412737542031250 0ustar slomoslomo IRepositorySelector.GetRepository Method (Assembly)
log4net SDK Reference

IRepositorySelector.GetRepository Method (Assembly)

Gets the ILoggerRepository for the specified assembly.

[Visual Basic]
Function GetRepository( _
   ByVal assembly As Assembly _
) As ILoggerRepository
[C#]
ILoggerRepository GetRepository(
   Assembly assembly
);

Parameters

assembly
The assembly to use to lookup to the ILoggerRepository

Return Value

The ILoggerRepository for the assembly.

Remarks

Gets the ILoggerRepository for the specified assembly.

How the association between Assembly and ILoggerRepository is made is not defined. The implementation may choose any method for this association. The results of this method must be repeatable, i.e. when called again with the same arguments the result must be the save value.

See Also

IRepositorySelector Interface | log4net.Core Namespace | IRepositorySelector.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.IndexOf.html0000644000175000017500000000532610412737554025502 0ustar slomoslomo PluginCollection.IndexOf Method
log4net SDK Reference

PluginCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a IPlugin in the PluginCollection.

[Visual Basic]
Overridable Public Function IndexOf( _
   ByVal item As IPlugin _
) As Integer
[C#]
public virtual int IndexOf(
   IPlugin item
);

Parameters

item
The IPlugin to locate in the PluginCollection.

Return Value

The zero-based index of the first occurrence of item in the entire PluginCollection, if found; otherwise, -1.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.IndexOf(log4net.Plugin.IPlugin)

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttributeConstructor2.html0000644000175000017500000000440710412737540026310 0ustar slomoslomo PluginAttribute Constructor (Type)
log4net SDK Reference

PluginAttribute Constructor (Type)

Initializes a new instance of the PluginAttribute class with the specified type.

[Visual Basic]
Overloads Public Sub New( _
   ByVal type As Type _
)
[C#]
public PluginAttribute(
   Type type
);

Parameters

type
The type of plugin to create.

Remarks

Create the attribute with the plugin type specified.

See Also

PluginAttribute Class | log4net.Config Namespace | PluginAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Parent.html0000644000175000017500000000364710412737556026210 0ustar slomoslomo Parent Property
log4net SDK Reference

Logger.Parent Property

Gets or sets the parent logger in the hierarchy.

[Visual Basic]
Overridable Public Property Parent As Logger
[C#]
public virtual Logger Parent {get; set;}

Property Value

The parent logger in the hierarchy.

Remarks

Part of the Composite pattern that makes the hierarchy. The hierarchy is parent linked rather than child linked.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.Password.html0000644000175000017500000000475610412737564026713 0ustar slomoslomo Password Property
log4net SDK Reference

WindowsSecurityContext.Password Property

Sets the password for the Windows account specified by the UserName and DomainName properties.

[Visual Basic]
Public Property Password As String
[C#]
public string Password {set;}

Property Value

The password for the Windows account specified by the UserName and DomainName properties.

Remarks

This property must be set if Credentials is set to User (the default setting).

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/tree.css0000644000175000017500000000205210412737566016644 0ustar slomoslomo.treeDiv { font-family: verdana; font-size: 70.5%; font-weight: normal; background-color: #f1f1f1; color: Black; overflow: auto; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; } .treeNode { white-space: nowrap; text-indent: -14px; margin: 5px 2px 5px 14px; } A.treeUnselected:hover, A.treeSelected:hover { text-decoration: underline; background-color: #cccccc; border: solid 1px #999999; text-decoration: none; } A.treeUnselected, A.treeSelected { color: Black; padding: 1px 3px 1px 3px; text-decoration: none; } A.treeSelected { background-color: #ffffff; border: solid 1px #999999; } A.treeUnselected { border: solid 1px f0f0f0; background-color: transparent; } .treeSubnodes { display: block; } .treeSubnodesHidden { display: none; } .treeNode IMG.treeNoLinkImage, .treeNode IMG.treeLinkImage { width: 9px; height: 9px; margin-left: 5px; margin-right: 0px; } .treeNode IMG.treeLinkImage { cursor: pointer; } log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContext.html0000644000175000017500000000517010412737546023501 0ustar slomoslomo SecurityContext Class
log4net SDK Reference

SecurityContext Class

A SecurityContext used by log4net when interacting with protected resources

For a list of all members of this type, see SecurityContext Members.

System.Object
   log4net.Core.SecurityContext
      log4net.Util.NullSecurityContext
      log4net.Util.WindowsSecurityContext

[Visual Basic]
MustInherit Public Class SecurityContext
[C#]
public abstract class SecurityContext

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A SecurityContext used by log4net when interacting with protected resources for example with operating system services. This can be used to impersonate a principal that has been granted privileges on the system resources.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

SecurityContext Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.Connection.html0000644000175000017500000000547710412737520026124 0ustar slomoslomo Connection Property
log4net SDK Reference

AdoNetAppender.Connection Property

Gets or sets the underlying IDbConnection.

[Visual Basic]
Protected Property Connection As IDbConnection
[C#]
protected System.Data.IDbConnection Connection {get; set;}

Property Value

The underlying IDbConnection.

Remarks

AdoNetAppender creates a IDbConnection to insert logging events into a database. Classes deriving from AdoNetAppender can use this property to get or set this IDbConnection. Use the underlying IDbConnection returned from Connection if you require access beyond that which AdoNetAppender provides.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.GetTypeFromString_overload_1.html0000644000175000017500000001076610412737564030167 0ustar slomoslomo SystemInfo.GetTypeFromString Method (Type, String, Boolean, Boolean)
log4net SDK Reference

SystemInfo.GetTypeFromString Method (Type, String, Boolean, Boolean)

Loads the type specified in the type string.

[Visual Basic]
Overloads Public Shared Function GetTypeFromString( _
   ByVal relativeType As Type, _
   ByVal typeName As String, _
   ByVal throwOnError As Boolean, _
   ByVal ignoreCase As Boolean _
) As Type
[C#]
public static Type GetTypeFromString(
   Type relativeType,
   string typeName,
   bool throwOnError,
   bool ignoreCase
);

Parameters

relativeType
A sibling type to use to load the type.
typeName
The name of the type to load.
throwOnError
Flag set to true to throw an exception if the type cannot be loaded.
ignoreCase
true to ignore the case of the type name; otherwise, false

Return Value

The type loaded or null if it could not be loaded.

Remarks

If the type name is fully qualified, i.e. if contains an assembly name in the type name, the type will be loaded from the system using GetType.

If the type name is not fully qualified, it will be loaded from the assembly containing the specified relative type. If the type is not found in the assembly then all the loaded assemblies will be searched for the type.

See Also

SystemInfo Class | log4net.Util Namespace | SystemInfo.GetTypeFromString Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelFields.html0000644000175000017500000001402510412737542022516 0ustar slomoslomo Level Fields
log4net SDK Reference

Level Fields

The fields of the Level class are listed below. For a complete list of Level class members, see the Level Members topic.

Public Static (Shared) Fields

Alert The Alert level designates very severe error events. Take immediate action, alerts.
All The All level designates the lowest level possible.
Critical The Critical level designates very severe error events. Critical condition, critical.
Debug The Debug level designates fine-grained informational events that are most useful to debug an application.
Emergency The Emergency level designates very severe error events. System unusable, emergencies.
Error The Error level designates error events that might still allow the application to continue running.
Fatal The Fatal level designates very severe error events that will presumably lead the application to abort.
Fine The Fine level designates fine-grained informational events that are most useful to debug an application.
Finer The Finer level designates fine-grained informational events that are most useful to debug an application.
Finest The Finest level designates fine-grained informational events that are most useful to debug an application.
Info The Info level designates informational messages that highlight the progress of the application at coarse-grained level.
Notice The Notice level designates informational messages that highlight the progress of the application at the highest level.
Off The Off level designates a higher level than all the rest.
Severe The Severe level designates very severe error events.
Trace The Trace level designates fine-grained informational events that are most useful to debug an application.
Verbose The Verbose level designates fine-grained informational events that are most useful to debug an application.
Warn The Warn level designates potentially harmful situations.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.MdcFilterMembers.html0000644000175000017500000002052410412737550024041 0ustar slomoslomo MdcFilter Members
log4net SDK Reference

MdcFilter Members

MdcFilter overview

Public Instance Constructors

MdcFilter Constructor Initializes a new instance of the MdcFilter class.

Public Instance Properties

AcceptOnMatch (inherited from StringMatchFilter) Accept when matching StringToMatch or RegexToMatch
Key (inherited from PropertyFilter) The key to lookup in the event properties and then match against.
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch (inherited from StringMatchFilter) Sets the regular expression to match
StringToMatch (inherited from StringMatchFilter) Sets the static string to match

Public Instance Methods

ActivateOptions (inherited from StringMatchFilter) Initialize and precompile the Regex if required
Decide (inherited from PropertyFilter) Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_acceptOnMatch (inherited from StringMatchFilter) Flag to indicate the behavior when we have a match
m_regexToMatch (inherited from StringMatchFilter) A regex object to match (generated from m_stringRegexToMatch)
m_stringRegexToMatch (inherited from StringMatchFilter) A string regex to match
m_stringToMatch (inherited from StringMatchFilter) The string to substring match against the message

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

MdcFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppender.RequiresLayout.html0000644000175000017500000000411610412737536026702 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

TraceAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

TraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.IXmlRepositoryConfigurator.Configure.html0000644000175000017500000000450610412737554031071 0ustar slomoslomo IXmlRepositoryConfigurator.Configure Method
log4net SDK Reference

IXmlRepositoryConfigurator.Configure Method 

Initialize the repository using the specified config

[Visual Basic]
Sub Configure( _
   ByVal element As XmlElement _
)
[C#]
void Configure(
   XmlElement element
);

Parameters

element
the element containing the root of the config

Remarks

The schema for the XML configuration data is defined by the implementation.

See Also

IXmlRepositoryConfigurator Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.ResetConfiguration_overload_2.html0000644000175000017500000000550510412737544030764 0ustar slomoslomo LoggerManager.ResetConfiguration Method (Assembly)
log4net SDK Reference

LoggerManager.ResetConfiguration Method (Assembly)

Resets all values contained in this repository instance to their defaults.

[Visual Basic]
Overloads Public Shared Sub ResetConfiguration( _
   ByVal repositoryAssembly As Assembly _
)
[C#]
public static void ResetConfiguration(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository to reset.

Remarks

Resets all values contained in the repository instance to their defaults. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set its default "off" value.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.ResetConfiguration Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ProtectCloseTextWriter.Close.html0000644000175000017500000000340310412737562026061 0ustar slomoslomo ProtectCloseTextWriter.Close Method
log4net SDK Reference

ProtectCloseTextWriter.Close Method 

Does not close the underlying output writer.

[Visual Basic]
Overrides Public Sub Close()
[C#]
public override void Close();

Remarks

Does not close the underlying output writer. This method does nothing.

See Also

ProtectCloseTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeleton.LoggerRepository.html0000644000175000017500000000406210412737554027152 0ustar slomoslomo LoggerRepository Property
log4net SDK Reference

PluginSkeleton.LoggerRepository Property

The repository for this plugin

[Visual Basic]
Overridable Protected Property LoggerRepository As ILoggerRepository
[C#]
protected virtual log4net.Repository.ILoggerRepository LoggerRepository {get; set;}

Property Value

The ILoggerRepository that this plugin is attached to.

Remarks

Gets or sets the ILoggerRepository that this plugin is attached to.

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.ForcedLog_overload_1.html0000644000175000017500000000440610412737556030730 0ustar slomoslomo Logger.ForcedLog Method (LoggingEvent)
log4net SDK Reference

Logger.ForcedLog Method (LoggingEvent)

Creates a new logging event and logs the event without further checks.

[Visual Basic]
Overridable Overloads Protected Sub ForcedLog( _
   ByVal logEvent As LoggingEvent _
)
[C#]
protected virtual void ForcedLog(
   LoggingEvent logEvent
);

Parameters

logEvent
The event being logged.

Remarks

Delivers the logging event to the attached appenders.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.ForcedLog Overload List


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overload_2.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overload_2.ht0000644000175000017500000001275610412737540032601 0ustar slomoslomo DefaultRepositorySelector.CreateRepository Method (Assembly, Type)
log4net SDK Reference

DefaultRepositorySelector.CreateRepository Method (Assembly, Type)

Create a new repository for the assembly specified

[Visual Basic]
NotOverridable Overloads Public Function CreateRepository( _
   ByVal repositoryAssembly As Assembly, _
   ByVal repositoryType As Type _
) As ILoggerRepository _
    Implements IRepositorySelector.CreateRepository
[C#]
public ILoggerRepository CreateRepository(
   Assembly repositoryAssembly,
   Type repositoryType
);

Parameters

repositoryAssembly
the assembly to use to create the repository to associate with the ILoggerRepository.
repositoryType
The type of repository to create, must implement ILoggerRepository.

Return Value

The repository created.

Implements

IRepositorySelector.CreateRepository

Remarks

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same assembly specified will return the same repository instance.

The type of the ILoggerRepository created and the repository to create can be overridden by specifying the RepositoryAttribute attribute on the repositoryAssembly. The default values are to use the repositoryType implementation of the ILoggerRepository interface and to use the Name as the name of the repository.

The ILoggerRepository created will be automatically configured using any ConfiguratorAttribute attributes defined on the repositoryAssembly.

If a repository for the repositoryAssembly already exists that repository will be returned. An error will not be raised and that repository may be of a different type to that specified in repositoryType. Also the RepositoryAttribute attribute on the assembly may be used to override the repository type specified in repositoryType.

Exceptions

Exception TypeCondition
ArgumentNullExceptionrepositoryAssembly is a null reference (Nothing in Visual Basic).

See Also

DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.DefaultRenderer.RenderObject.html0000644000175000017500000001415010412737552027745 0ustar slomoslomo DefaultRenderer.RenderObject Method
log4net SDK Reference

DefaultRenderer.RenderObject Method 

Render the object obj to a string

[Visual Basic]
NotOverridable Public Sub RenderObject( _
   ByVal rendererMap As RendererMap, _
   ByVal obj As Object, _
   ByVal writer As TextWriter _
) _
    Implements IObjectRenderer.RenderObject
[C#]
public void RenderObject(
   RendererMap rendererMap,
   object obj,
   TextWriter writer
);

Parameters

rendererMap
The map used to lookup renderers
obj
The object to render
writer
The writer to render to

Implements

IObjectRenderer.RenderObject

Remarks

Render the object obj to a string.

The rendererMap parameter is provided to lookup and render other objects. This is very useful where obj contains nested objects of unknown type. The FindAndRender method can be used to render these objects.

The default renderer supports rendering objects to strings as follows:

Value Rendered String
null

"(null)"

Array

For a one dimensional array this is the array type name, an open brace, followed by a comma separated list of the elements (using the appropriate renderer), followed by a close brace.

For example: int[] {1, 2, 3}.

If the array is not one dimensional the Array.ToString() is returned.

IEnumerable, ICollection & IEnumerator

Rendered as an open brace, followed by a comma separated list of the elements (using the appropriate renderer), followed by a close brace.

For example: {a, b, c}.

All collection classes that implement ICollection its subclasses, or generic equivalents all implement the IEnumerable interface.

DictionaryEntry

Rendered as the key, an equals sign ('='), and the value (using the appropriate renderer).

For example: key=value.

other

Object.ToString()

See Also

DefaultRenderer Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4jConstructor1.html0000644000175000017500000000357610412737552027225 0ustar slomoslomo XmlLayoutSchemaLog4j Constructor ()
log4net SDK Reference

XmlLayoutSchemaLog4j Constructor ()

Constructs an XMLLayoutSchemaLog4j

[Visual Basic]
Overloads Public Sub New()
[C#]
public XmlLayoutSchemaLog4j();

Remarks

Missing <remarks> documentation for M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace | XmlLayoutSchemaLog4j Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppenderMethods.html0000644000175000017500000002231410412737532026624 0ustar slomoslomo RemoteSyslogAppender Methods
log4net SDK Reference

RemoteSyslogAppender Methods

The methods of the RemoteSyslogAppender class are listed below. For a complete list of RemoteSyslogAppender class members, see the RemoteSyslogAppender Members topic.

Public Static (Shared) Methods

GeneratePriority Generate a syslog priority.

Public Instance Methods

ActivateOptions Initialize the options for this appender
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to severity
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetSeverity Translates a log4net level to a syslog severity.
InitializeClientConnection (inherited from UdpAppender) Initializes the underlying UdpClient connection.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from UdpAppender) Closes the UDP connection and releases all resources associated with this UdpAppender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.DateTimeDateFormatterConstructor.html0000644000175000017500000000326510412737546030625 0ustar slomoslomo DateTimeDateFormatter Constructor
log4net SDK Reference

DateTimeDateFormatter Constructor 

Default constructor.

[Visual Basic]
Public Sub New()
[C#]
public DateTimeDateFormatter();

Remarks

Initializes a new instance of the DateTimeDateFormatter class.

See Also

DateTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.AddRange_overload_1.html0000644000175000017500000000610110412737554027716 0ustar slomoslomo PluginCollection.AddRange Method (ICollection)
log4net SDK Reference

PluginCollection.AddRange Method (ICollection)

Adds the elements of a IPlugin collection to the current PluginCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal col As ICollection _
) As Integer
[C#]
public virtual int AddRange(
   ICollection col
);

Parameters

col
The IPlugin collection whose elements should be added to the end of the PluginCollection.

Return Value

The new Count of the PluginCollection.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.AddRange(System.Collections.ICollection)

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawPropertyLayout.html0000644000175000017500000000500510412737552024400 0ustar slomoslomo RawPropertyLayout Class
log4net SDK Reference

RawPropertyLayout Class

Extract the value of a property from the LoggingEvent

For a list of all members of this type, see RawPropertyLayout Members.

System.Object
   log4net.Layout.RawPropertyLayout

[Visual Basic]
Public Class RawPropertyLayout
    Implements IRawLayout
[C#]
public class RawPropertyLayout : IRawLayout

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Extract the value of a property from the LoggingEvent

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

RawPropertyLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.Exists.html0000644000175000017500000000457710412737554026533 0ustar slomoslomo ILoggerRepository.Exists Method
log4net SDK Reference

ILoggerRepository.Exists Method 

Check if the named logger exists in the repository. If so return its reference, otherwise returns null.

[Visual Basic]
Function Exists( _
   ByVal name As String _
) As ILogger
[C#]
ILogger Exists(
   string name
);

Parameters

name
The name of the logger to lookup

Return Value

The Logger object with the name specified

Remarks

If the names logger exists it is returned, otherwise null is returned.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppenderConstructor2.html0000644000175000017500000000625410412737526026063 0ustar slomoslomo FileAppender Constructor (ILayout, String, Boolean)
log4net SDK Reference

FileAppender Constructor (ILayout, String, Boolean)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout, File & AppendToFile properties


Construct a new appender using the layout, file and append mode.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal filename As String, _
   ByVal append As Boolean _
)
[C#]
public FileAppender(
   ILayout layout,
   string filename,
   bool append
);

Parameters

layout
the layout to use with this appender
filename
the full path to the file to write to
append
flag to indicate if the file should be appended to

Remarks

Obsolete constructor.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ActivateOptions.html0000644000175000017500000000462610412737550026640 0ustar slomoslomo PatternLayout.ActivateOptions Method
log4net SDK Reference

PatternLayout.ActivateOptions Method 

Initialize layout options

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.MDC.Clear.html0000644000175000017500000000403510412737520021055 0ustar slomoslomo MDC.Clear Method
log4net SDK Reference

MDC.Clear Method 

Clear all entries in the MDC

[Visual Basic]
Public Shared Sub Clear()
[C#]
public static void Clear();

Remarks

Note   

The MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the ThreadContext.Properties.

Remove all the entries from this thread's MDC

See Also

MDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.ForcedLog_overloads.html0000644000175000017500000000372410412737556030675 0ustar slomoslomo ForcedLog Method
log4net SDK Reference

Logger.ForcedLog Method

Creates a new logging event and logs the event without further checks.

Overload List

Creates a new logging event and logs the event without further checks.

protected virtual void ForcedLog(LoggingEvent);

Creates a new logging event and logs the event without further checks.

protected virtual void ForcedLog(Type,Level,object,Exception);

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.Format_overload_2.html0000644000175000017500000000376510412737562026527 0ustar slomoslomo PatternString.Format Method ()
log4net SDK Reference

PatternString.Format Method ()

Format the pattern as a string

[Visual Basic]
Overloads Public Function Format() As String
[C#]
public string Format();

Return Value

the pattern formatted as a string

Remarks

Format the pattern to a string.

See Also

PatternString Class | log4net.Util Namespace | PatternString.Format Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ReusableStringWriterConstructor.html0000644000175000017500000000440310412737564026744 0ustar slomoslomo ReusableStringWriter Constructor
log4net SDK Reference

ReusableStringWriter Constructor 

Create an instance of ReusableStringWriter

[Visual Basic]
Public Sub New( _
   ByVal formatProvider As IFormatProvider _
)
[C#]
public ReusableStringWriter(
   IFormatProvider formatProvider
);

Parameters

formatProvider
the format provider to use

Remarks

Create an instance of ReusableStringWriter

See Also

ReusableStringWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImplMethods.html0000644000175000017500000001350610412737556025717 0ustar slomoslomo AppenderAttachedImpl Methods
log4net SDK Reference

AppenderAttachedImpl Methods

The methods of the AppenderAttachedImpl class are listed below. For a complete list of AppenderAttachedImpl class members, see the AppenderAttachedImpl Members topic.

Public Instance Methods

AddAppender Attaches an appender.
AppendLoopOnAppendersOverloaded. Append on on all attached appenders.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender Gets an attached appender with the specified name.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveAllAppenders Removes all attached appenders.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.GetRepository_overloads.html0000644000175000017500000000412010412737540032374 0ustar slomoslomo GetRepository Method
log4net SDK Reference

CompactRepositorySelector.GetRepository Method

Get the ILoggerRepository for the specified assembly

Overload List

Get the ILoggerRepository for the specified assembly

public ILoggerRepository GetRepository(Assembly);

Get the named ILoggerRepository

public ILoggerRepository GetRepository(string);

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.html0000644000175000017500000003320110412737556020350 0ustar slomoslomo log4net.Util
log4net SDK Reference

log4net.Util Namespace

Utility types.

Namespace hierarchy

Classes

Class Description
AppenderAttachedImpl A straightforward implementation of the IAppenderAttachable interface.
CompositeProperties This class aggregates several PropertiesDictionary collections together.
ContextPropertiesBase Base class for Context Properties implementations
CountingQuietTextWriter Subclass of QuietTextWriter that maintains a count of the number of bytes written.
CyclicBuffer A fixed size rolling buffer of logging events.
EmptyCollection An always empty ICollection.
EmptyDictionary An always empty IDictionary.
FormattingInfo Contain the information obtained when parsing formatting modifiers in conversion modifiers.
GlobalContextProperties Implementation of Properties collection for the GlobalContext
LevelMapping Manages a mapping from levels to LevelMappingEntry
LevelMappingEntry An entry in the LevelMapping
LogicalThreadContextProperties Implementation of Properties collection for the LogicalThreadContext
LogLog Outputs log statements from within the log4net assembly.
NativeError Represents a native error code and message.
NullDictionaryEnumerator An always empty IDictionaryEnumerator.
NullEnumerator An always empty IEnumerator.
NullSecurityContext A SecurityContext used when a SecurityContext is not required
OnlyOnceErrorHandler Implements log4net's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all subsequent errors.
OptionConverter A convenience class to convert property values to specific types.
PatternConverter Abstract class that provides the formatting functionality that derived classes need.
PatternParser Most of the work of the PatternLayout class is delegated to the PatternParser class.
PatternString This class implements a patterned string.
PatternString.ConverterInfo Wrapper class used to map converter names to converter types
PropertiesDictionary String keyed object map.
ProtectCloseTextWriter A TextWriter that ignores the Close message
QuietTextWriter TextWriter that does not leak exceptions
ReaderWriterLock Defines a lock that supports single writers and multiple readers
ReadOnlyPropertiesDictionary String keyed object map that is read only.
ReusableStringWriter A StringWriter that can be Reset and reused
SystemInfo Utility class for system specific information.
SystemStringFormat Utility class that represents a format string.
TextWriterAdapter Adapter that extends TextWriter and forwards all messages to an instance of TextWriter.
ThreadContextProperties Implementation of Properties collection for the ThreadContext
ThreadContextStack Implementation of Stack for the ThreadContext
ThreadContextStacks Implementation of Stacks collection for the ThreadContext
Transform Utility class for transforming strings.
WindowsSecurityContext Impersonate a Windows Account

Enumerations

Enumeration Description
WindowsSecurityContext.ImpersonationMode The impersonation modes for the WindowsSecurityContext

log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachableMembers.html0000644000175000017500000000543010412737540025451 0ustar slomoslomo IAppenderAttachable Members
log4net SDK Reference

IAppenderAttachable Members

IAppenderAttachable overview

Public Instance Properties

Appenders Gets all attached appenders.

Public Instance Methods

AddAppender Attaches an appender.
GetAppender Gets an attached appender with the specified name.
RemoveAllAppenders Removes all attached appenders.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.

See Also

IAppenderAttachable Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.PreAppendCheck.html0000644000175000017500000000412110412737536027600 0ustar slomoslomo TextWriterAppender.PreAppendCheck Method
log4net SDK Reference

TextWriterAppender.PreAppendCheck Method 

This method determines if there is a sense in attempting to append.

[Visual Basic]
Overrides Protected Function PreAppendCheck() As Boolean
[C#]
protected override bool PreAppendCheck();

Return Value

false if any of the preconditions fail.

Remarks

This method checked if an output target has been set and if a layout has been set.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReusableStringWriter.html0000644000175000017500000000673210412737564024505 0ustar slomoslomo ReusableStringWriter Class
log4net SDK Reference

ReusableStringWriter Class

A StringWriter that can be Reset and reused

For a list of all members of this type, see ReusableStringWriter Members.

System.Object
   System.MarshalByRefObject
      System.IO.TextWriter
         System.IO.StringWriter
            log4net.Util.ReusableStringWriter

[Visual Basic]
Public Class ReusableStringWriter
    Inherits StringWriter
[C#]
public class ReusableStringWriter : StringWriter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A StringWriter that can be Reset and reused. This uses a single buffer for string operations.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ReusableStringWriter Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawLayoutConverterMembers.html0000644000175000017500000001320610412737552026040 0ustar slomoslomo RawLayoutConverter Members
log4net SDK Reference

RawLayoutConverter Members

RawLayoutConverter overview

Public Instance Constructors

RawLayoutConverter Constructor Initializes a new instance of the RawLayoutConverter class.

Public Instance Methods

CanConvertFrom Can the sourceType be converted to an IRawLayout
ConvertFrom Convert the value to a IRawLayout object
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawLayoutConverter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttribute.html0000644000175000017500000001212510412737540025641 0ustar slomoslomo XmlConfiguratorAttribute Class
log4net SDK Reference

XmlConfiguratorAttribute Class

Assembly level attribute to configure the XmlConfigurator.

For a list of all members of this type, see XmlConfiguratorAttribute Members.

System.Object
   System.Attribute
      log4net.Config.ConfiguratorAttribute
         log4net.Config.XmlConfiguratorAttribute
            log4net.Config.DOMConfiguratorAttribute

[Visual Basic]
Public Class XmlConfiguratorAttribute
    Inherits ConfiguratorAttribute
[C#]
public class XmlConfiguratorAttribute : ConfiguratorAttribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This attribute may only be used at the assembly scope and can only be used once per assembly.

Use this attribute to configure the XmlConfigurator without calling one of the Configure methods.

If neither of the ConfigFile or ConfigFileExtension properties are set the configuration is loaded from the application's .config file. If set the ConfigFile property takes priority over the ConfigFileExtension property. The ConfigFile property specifies a path to a file to load the config from. The path is relative to the application's base directory; BaseDirectory. The ConfigFileExtension property is used as a postfix to the assembly file name. The config file must be located in the application's base directory; BaseDirectory. For example in a console application setting the ConfigFileExtension to config has the same effect as not specifying the ConfigFile or ConfigFileExtension properties.

The Watch property can be set to cause the XmlConfigurator to watch the configuration file for changes.

Note   

Log4net will only look for assembly level configuration attributes once. When using the log4net assembly level attributes to control the configuration of log4net you must ensure that the first call to any of the LoggerManager methods is made from the assembly with the configuration attributes.

If you cannot guarantee the order in which log4net calls will be made from different assemblies you must use programmatic configuration instead, i.e. call the Configure method directly.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

XmlConfiguratorAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.Write_overload_6.html0000644000175000017500000000444710412737562026720 0ustar slomoslomo QuietTextWriter.Write Method (String)
log4net SDK Reference

QuietTextWriter.Write Method (String)

Writes a string to the output.

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal value As String _
)
[C#]
public override void Write(
   string value
);

Parameters

value
The string data to write to the output.

Remarks

Writes a string to the output.

See Also

QuietTextWriter Class | log4net.Util Namespace | QuietTextWriter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateDomain_overload_2.html0000644000175000017500000001017310412737544027502 0ustar slomoslomo LoggerManager.CreateDomain Method (String, Type)
log4net SDK Reference

LoggerManager.CreateDomain Method (String, Type)

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository with the specified name and repository type.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal repository As String, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateDomain(
   string repository,
   Type repositoryType
);

Parameters

repository
The name of the repository, this must be unique to the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.CreateDomain Overload List


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatterMethods.html0000644000175000017500000001242010412737546030575 0ustar slomoslomo AbsoluteTimeDateFormatter Methods
log4net SDK Reference

AbsoluteTimeDateFormatter Methods

The methods of the AbsoluteTimeDateFormatter class are listed below. For a complete list of AbsoluteTimeDateFormatter class members, see the AbsoluteTimeDateFormatter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate Renders the date into a string. Format is "HH:mm:ss,fff".
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatDateWithoutMillis Renders the date into a string. Format is "HH:mm:ss".
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.GetRepository_overload_1.html0000644000175000017500000001026110412737540032432 0ustar slomoslomo DefaultRepositorySelector.GetRepository Method (String)
log4net SDK Reference

DefaultRepositorySelector.GetRepository Method (String)

Gets the ILoggerRepository for the specified repository.

[Visual Basic]
NotOverridable Overloads Public Function GetRepository( _
   ByVal repositoryName As String _
) As ILoggerRepository _
    Implements IRepositorySelector.GetRepository
[C#]
public ILoggerRepository GetRepository(
   string repositoryName
);

Parameters

repositoryName
The repository to use to lookup the ILoggerRepository.

Return Value

The ILoggerRepository for the specified repository.

Implements

IRepositorySelector.GetRepository

Remarks

Returns the named repository. If repositoryName is null a ArgumentNullException is thrown. If the repository does not exist a LogException is thrown.

Use CreateRepository to create a repository.

Exceptions

Exception TypeCondition
ArgumentNullExceptionrepositoryName is a null reference (Nothing in Visual Basic).
LogExceptionrepositoryName does not exist.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutConstructor.html0000644000175000017500000000327410412737552025116 0ustar slomoslomo XmlLayout Constructor
log4net SDK Reference

XmlLayout Constructor

Constructs an XmlLayout

Overload List

Constructs an XmlLayout

public XmlLayout();

Constructs an XmlLayout.

public XmlLayout(bool);

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawTimeStampLayoutMembers.html0000644000175000017500000001261610412737552026000 0ustar slomoslomo RawTimeStampLayout Members
log4net SDK Reference

RawTimeStampLayout Members

RawTimeStampLayout overview

Public Instance Constructors

RawTimeStampLayout Constructor Constructs a RawTimeStampLayout

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Gets the TimeStamp as a DateTime.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStacks.Item.html0000644000175000017500000000453410412737564025177 0ustar slomoslomo Item Property
log4net SDK Reference

ThreadContextStacks.Item Property

Gets the named thread context stack

[Visual Basic]
Public Default ReadOnly Property Item( _
   ByVal key As String _
) As ThreadContextStack
[C#]
public ThreadContextStack this[
   string key
] {get;}

Parameters

key
Missing <param> documentation for key

Property Value

The named stack

Remarks

Gets the named thread context stack

See Also

ThreadContextStacks Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatterConstructor.html0000644000175000017500000000332310412737546031521 0ustar slomoslomo AbsoluteTimeDateFormatter Constructor
log4net SDK Reference

AbsoluteTimeDateFormatter Constructor 

Initializes a new instance of the AbsoluteTimeDateFormatter class.

[Visual Basic]
Public Sub New()
[C#]
public AbsoluteTimeDateFormatter();

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStack.Count.html0000644000175000017500000000421710412737564025204 0ustar slomoslomo Count Property
log4net SDK Reference

ThreadContextStack.Count Property

The number of messages in the stack

[Visual Basic]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}

Property Value

The current number of messages in the stack

Remarks

The current number of messages in the stack. That is the number of times Push has been called minus the number of times Pop has been called.

See Also

ThreadContextStack Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.Append_overloads.html0000644000175000017500000000402010412737530027370 0ustar slomoslomo Append Method
log4net SDK Reference

MemoryAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ContextPropertiesBaseMembers.html0000644000175000017500000001273710412737560026164 0ustar slomoslomo ContextPropertiesBase Members
log4net SDK Reference

ContextPropertiesBase Members

ContextPropertiesBase overview

Public Instance Properties

Item Gets or sets the value of a property

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

ContextPropertiesBase Constructor Initializes a new instance of the ContextPropertiesBase class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ContextPropertiesBase Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertFrom.CanConvertFrom.html0000644000175000017500000000502410412737566030607 0ustar slomoslomo IConvertFrom.CanConvertFrom Method
log4net SDK Reference

IConvertFrom.CanConvertFrom Method 

Can the source type be converted to the type supported by this object

[Visual Basic]
Function CanConvertFrom( _
   ByVal sourceType As Type _
) As Boolean
[C#]
bool CanConvertFrom(
   Type sourceType
);

Parameters

sourceType
the type to convert

Return Value

true if the conversion is possible

Remarks

Test if the sourceType can be converted to the type supported by this converter.

See Also

IConvertFrom Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMapProperties.html0000644000175000017500000000356510412737552026616 0ustar slomoslomo RendererMap Properties
log4net SDK Reference

RendererMap Properties

The properties of the RendererMap class are listed below. For a complete list of RendererMap class members, see the RendererMap Members topic.

Public Instance Properties

DefaultRenderer Get the default renderer instance

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.Convert.html0000644000175000017500000000565010412737562025277 0ustar slomoslomo PatternConverter.Convert Method
log4net SDK Reference

PatternConverter.Convert Method 

Evaluate this pattern converter and write the output to a writer.

[Visual Basic]
MustOverride Protected Sub Convert( _
   ByVal writer As TextWriter, _
   ByVal state As Object _
)
[C#]
protected abstract void Convert(
   TextWriter writer,
   object state
);

Parameters

writer
TextWriter that will receive the formatted result.
state
The state object on which the pattern converter should be executed.

Remarks

Derived pattern converters must override this method in order to convert conversion specifiers in the appropriate way.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMap.RepositoryShutdown.html0000644000175000017500000000514010412737546026312 0ustar slomoslomo WrapperMap.RepositoryShutdown Method
log4net SDK Reference

WrapperMap.RepositoryShutdown Method 

Called when a monitored repository shutdown event is received.

[Visual Basic]
Overridable Protected Sub RepositoryShutdown( _
   ByVal repository As ILoggerRepository _
)
[C#]
protected virtual void RepositoryShutdown(
   ILoggerRepository repository
);

Parameters

repository
The ILoggerRepository that is shutting down

Remarks

This method is called when a ILoggerRepository that this WrapperMap is holding loggers for has signaled its shutdown event ShutdownEvent. The default behavior of this method is to release the references to the loggers and their wrappers generated for this repository.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Warn_overload_1.html0000644000175000017500000000445610412737560024560 0ustar slomoslomo LogLog.Warn Method (String)
log4net SDK Reference

LogLog.Warn Method (String)

Writes log4net internal warning messages to the standard error stream.

[Visual Basic]
Overloads Public Shared Sub Warn( _
   ByVal message As String _
)
[C#]
public static void Warn(
   string message
);

Parameters

message
The message to log.

Remarks

All internal warning messages are prepended with the string "log4net:WARN ".

See Also

LogLog Class | log4net.Util Namespace | LogLog.Warn Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.NdcFilter.html0000644000175000017500000000557410412737550022537 0ustar slomoslomo NdcFilter Class
log4net SDK Reference

NdcFilter Class

Simple filter to match a string in the NDC

For a list of all members of this type, see NdcFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.StringMatchFilter
         log4net.Filter.PropertyFilter
            log4net.Filter.NdcFilter

[Visual Basic]
Public Class NdcFilter
    Inherits PropertyFilter
[C#]
public class NdcFilter : PropertyFilter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Simple filter to match a string in the NDC

As the MDC has been replaced with named stacks stored in the properties collections the PropertyFilter should be used instead.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

NdcFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingConstructor.html0000644000175000017500000000310610412737560025174 0ustar slomoslomo LevelMapping Constructor
log4net SDK Reference

LevelMapping Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public LevelMapping();

Remarks

Initialise a new instance of LevelMapping.

See Also

LevelMapping Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeleton.Format.html0000644000175000017500000000542510412737550025121 0ustar slomoslomo LayoutSkeleton.Format Method
log4net SDK Reference

LayoutSkeleton.Format Method 

Implement this method to create your own layout format.

[Visual Basic]
MustOverride Public Sub Format( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
) _
    Implements ILayout.Format
[C#]
public abstract void Format(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
The event to format

Implements

ILayout.Format

Remarks

This method is called by an appender to format the loggingEvent as text.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.ShutdownEvent.html0000644000175000017500000000360010412737554030053 0ustar slomoslomo ILoggerRepository.ShutdownEvent Event
log4net SDK Reference

ILoggerRepository.ShutdownEvent Event

Event to notify that the repository has been shutdown.

[Visual Basic]
Event ShutdownEvent As LoggerRepositoryShutdownEventHandler
[C#]
event LoggerRepositoryShutdownEventHandler ShutdownEvent;

Remarks

Event raised when the repository has been shutdown.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.Append_overloads.html0000644000175000017500000000404410412737530030361 0ustar slomoslomo Append Method
log4net SDK Reference

LocalSyslogAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.Length.html0000644000175000017500000000401410412737560024122 0ustar slomoslomo Length Property
log4net SDK Reference

CyclicBuffer.Length Property

Gets the number of logging events in the buffer.

[Visual Basic]
Public ReadOnly Property Length As Integer
[C#]
public int Length {get;}

Property Value

The number of logging events in the buffer.

Remarks

This number is guaranteed to be in the range 0 to MaxSize (inclusive).

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IErrorHandler.Error_overloads.html0000644000175000017500000000405010412737540026161 0ustar slomoslomo Error Method
log4net SDK Reference

IErrorHandler.Error Method

Prints the error message passed as a parameter.

Overload List

Prints the error message passed as a parameter.

void Error(string);

Prints the error message passed as a parameter.

void Error(string,Exception);

Handles the error and information about the error condition is passed as a parameter.

void Error(string,Exception,ErrorCode);

See Also

IErrorHandler Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.Recipient.html0000644000175000017500000000411310412737530026120 0ustar slomoslomo Recipient Property
log4net SDK Reference

NetSendAppender.Recipient Property

Gets or sets the message alias to which the message should be sent.

[Visual Basic]
Public Property Recipient As String
[C#]
public string Recipient {get; set;}

Property Value

The recipient of the message.

Remarks

This property should always be specified in order to send a message.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppender.Append_overload_2.html0000644000175000017500000000455710412737524027602 0ustar slomoslomo ConsoleAppender.Append Method (LoggingEvent)
log4net SDK Reference

ConsoleAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the event to the console.

The format of the output will depend on the appender's layout.

See Also

ConsoleAppender Class | log4net.Appender Namespace | ConsoleAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppender.Append_overloads.html0000644000175000017500000000402410412737524027531 0ustar slomoslomo Append Method
log4net SDK Reference

ConsoleAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

ConsoleAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.Iso8601DateFormatter.FormatDateWithoutMillis.htmllog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.Iso8601DateFormatter.FormatDateWithoutMillis.ht0000644000175000017500000000570410412737546032166 0ustar slomoslomo Iso8601DateFormatter.FormatDateWithoutMillis Method
log4net SDK Reference

Iso8601DateFormatter.FormatDateWithoutMillis Method 

Formats the date without the milliseconds part

[Visual Basic]
Overrides Protected Sub FormatDateWithoutMillis( _
   ByVal dateToFormat As Date, _
   ByVal buffer As StringBuilder _
)
[C#]
protected override void FormatDateWithoutMillis(
   DateTime dateToFormat,
   StringBuilder buffer
);

Parameters

dateToFormat
The date to format.
buffer
The string builder to write to.

Remarks

Formats the date specified as a string: "yyyy-MM-dd HH:mm:ss".

The base class will append the ",fff" milliseconds section. This method will only be called at most once per second.

See Also

Iso8601DateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeleton.html0000644000175000017500000001075510412737546023621 0ustar slomoslomo FilterSkeleton Class
log4net SDK Reference

FilterSkeleton Class

Subclass this type to implement customized logging event filtering

For a list of all members of this type, see FilterSkeleton Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.DenyAllFilter
      log4net.Filter.LevelMatchFilter
      log4net.Filter.LevelRangeFilter
      log4net.Filter.LoggerMatchFilter
      log4net.Filter.StringMatchFilter

[Visual Basic]
MustInherit Public Class FilterSkeleton
    Implements IFilter, IOptionHandler
[C#]
public abstract class FilterSkeleton : IFilter, IOptionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Users should extend this class to implement customized logging event filtering. Note that Logger and AppenderSkeleton, the parent class of all standard appenders, have built-in filtering rules. It is suggested that you first use and understand the built-in rules before rushing to write your own custom filters.

This abstract class assumes and also imposes that filters be organized in a linear chain. The Decide method of each filter is called sequentially, in the order of their addition to the chain.

The Decide method must return one of the integer constants Deny, Neutral or Accept.

If the value Deny is returned, then the log event is dropped immediately without consulting with the remaining filters.

If the value Neutral is returned, then the next filter in the chain is consulted. If there are no more filters in the chain, then the log event is logged. Thus, in the presence of no filters, the default behavior is to log all logging events.

If the value Accept is returned, then the log event is logged without consulting the remaining filters.

The philosophy of log4net filters is largely inspired from the Linux ipchains.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

FilterSkeleton Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderMembers.html0000644000175000017500000002651310412737524025567 0ustar slomoslomo ConsoleAppender Members
log4net SDK Reference

ConsoleAppender Members

ConsoleAppender overview

Public Static (Shared) Fields

ConsoleError The Target to use when writing to the Console standard error output stream.
ConsoleOut The Target to use when writing to the Console standard output stream.

Public Instance Constructors

ConsoleAppender Overloaded. Initializes a new instance of the ConsoleAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Target Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.All.html0000644000175000017500000000347210412737542022102 0ustar slomoslomo Level.All Field
log4net SDK Reference

Level.All Field

The All level designates the lowest level possible.

[Visual Basic]
Public Shared ReadOnly All As Level
[C#]
public static readonly Level All;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.All

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollection.SyncRoot.html0000644000175000017500000000543310412737560025241 0ustar slomoslomo SyncRoot Property
log4net SDK Reference

EmptyCollection.SyncRoot Property

Gets an object that can be used to synchronize access to the ICollection.

[Visual Basic]
NotOverridable Public ReadOnly Property SyncRoot As Object _
    Implements ICollection.SyncRoot
[C#]
public object SyncRoot {get;}

Property Value

An object that can be used to synchronize access to the ICollection.

Implements

ICollection.SyncRoot

Remarks

As the collection is empty and thread safe and synchronized this instance is also the SyncRoot object.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.Iso8601DateFormatter.html0000644000175000017500000000570310412737546025733 0ustar slomoslomo Iso8601DateFormatter Class
log4net SDK Reference

Iso8601DateFormatter Class

Formats the DateTime as "yyyy-MM-dd HH:mm:ss,fff".

For a list of all members of this type, see Iso8601DateFormatter Members.

System.Object
   log4net.DateFormatter.AbsoluteTimeDateFormatter
      log4net.DateFormatter.Iso8601DateFormatter

[Visual Basic]
Public Class Iso8601DateFormatter
    Inherits AbsoluteTimeDateFormatter
[C#]
public class Iso8601DateFormatter : AbsoluteTimeDateFormatter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Formats the DateTime specified as a string: "yyyy-MM-dd HH:mm:ss,fff".

Requirements

Namespace: log4net.DateFormatter

Assembly: log4net (in log4net.dll)

See Also

Iso8601DateFormatter Members | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImplConstructor.html0000644000175000017500000000354710412737544024142 0ustar slomoslomo LogImpl Constructor
log4net SDK Reference

LogImpl Constructor 

Construct a new wrapper for the specified logger.

[Visual Basic]
Public Sub New( _
   ByVal logger As ILogger _
)
[C#]
public LogImpl(
   ILogger logger
);

Parameters

logger
The logger to wrap.

Remarks

Construct a new wrapper for the specified logger.

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContextMethods.html0000644000175000017500000001250010412737564026420 0ustar slomoslomo WindowsSecurityContext Methods
log4net SDK Reference

WindowsSecurityContext Methods

The methods of the WindowsSecurityContext class are listed below. For a complete list of WindowsSecurityContext class members, see the WindowsSecurityContext Members topic.

Public Instance Methods

ActivateOptions Initialize the SecurityContext based on the options set.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Impersonate Impersonate the Windows account specified by the UserName and DomainName properties.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.MaximumFileSize.html0000644000175000017500000000544110412737532030123 0ustar slomoslomo MaximumFileSize Property
log4net SDK Reference

RollingFileAppender.MaximumFileSize Property

Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.

[Visual Basic]
Public Property MaximumFileSize As String
[C#]
public string MaximumFileSize {get; set;}

Property Value

The maximum size that the output file is allowed to reach before being rolled over to backup files.

Remarks

This property allows you to specify the maximum size with the suffixes "KB", "MB" or "GB" so that the size is interpreted being expressed respectively in kilobytes, megabytes or gigabytes.

For example, the value "10KB" will be interpreted as 10240 bytes.

The default maximum file size is 10MB.

If you have the option to set the maximum file size programmatically consider using the MaxFileSize property instead as this allows you to set the size in bytes as a Int64.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.WriteRenderedMessage.html0000644000175000017500000000505110412737544026760 0ustar slomoslomo LoggingEvent.WriteRenderedMessage Method
log4net SDK Reference

LoggingEvent.WriteRenderedMessage Method 

Write the rendered message to a TextWriter

[Visual Basic]
Public Sub WriteRenderedMessage( _
   ByVal writer As TextWriter _
)
[C#]
public void WriteRenderedMessage(
   TextWriter writer
);

Parameters

writer
the writer to write the message to

Remarks

Unlike the RenderedMessage property this method does store the message data in the internal cache. Therefore if called only once this method should be faster than the RenderedMessage property, however if the message is to be accessed multiple times then the property will be more efficient.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.html0000644000175000017500000000625710412737562023510 0ustar slomoslomo QuietTextWriter Class
log4net SDK Reference

QuietTextWriter Class

TextWriter that does not leak exceptions

For a list of all members of this type, see QuietTextWriter Members.

System.Object
   System.MarshalByRefObject
      System.IO.TextWriter
         log4net.Util.TextWriterAdapter
            log4net.Util.QuietTextWriter
               log4net.Util.CountingQuietTextWriter

[Visual Basic]
Public Class QuietTextWriter
    Inherits TextWriterAdapter
[C#]
public class QuietTextWriter : TextWriterAdapter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

QuietTextWriter does not throw exceptions when things go wrong. Instead, it delegates error handling to its IErrorHandler.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

QuietTextWriter Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CompositePropertiesProperties.html0000644000175000017500000000356010412737560026443 0ustar slomoslomo CompositeProperties Properties
log4net SDK Reference

CompositeProperties Properties

The properties of the CompositeProperties class are listed below. For a complete list of CompositeProperties class members, see the CompositeProperties Members topic.

Public Instance Properties

Item Gets the value of a property

See Also

CompositeProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.EmptyTypes.html0000644000175000017500000000362010412737564024572 0ustar slomoslomo SystemInfo.EmptyTypes Field
log4net SDK Reference

SystemInfo.EmptyTypes Field

Gets an empty array of types.

[Visual Basic]
Public Shared ReadOnly EmptyTypes As Type()
[C#]
public static readonly Type[] EmptyTypes;

Remarks

The Type.EmptyTypes field is not available on the .NET Compact Framework 1.0.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.ShutdownRepository_overloads.html0000644000175000017500000000361710412737544031031 0ustar slomoslomo ShutdownRepository Method
log4net SDK Reference

LoggerManager.ShutdownRepository Method

Shuts down the repository for the repository specified.

Overload List

Shuts down the repository for the repository specified.

public static void ShutdownRepository(Assembly);

Shuts down the repository for the repository specified.

public static void ShutdownRepository(string);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionMethods.html0000644000175000017500000002115710412737522026266 0ustar slomoslomo AppenderCollection Methods
log4net SDK Reference

AppenderCollection Methods

The methods of the AppenderCollection class are listed below. For a complete list of AppenderCollection class members, see the AppenderCollection Members topic.

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a AppenderCollection instance.

Public Instance Methods

Add Adds a IAppender to the end of the AppenderCollection.
AddRangeOverloaded. Adds the elements of a IAppender collection to the current AppenderCollection.
Clear Removes all elements from the AppenderCollection.
Clone Creates a shallow copy of the AppenderCollection.
Contains Determines whether a given IAppender is in the AppenderCollection.
CopyToOverloaded. Copies the entire AppenderCollection to a one-dimensional IAppender array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the AppenderCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a IAppender in the AppenderCollection.
Insert Inserts an element into the AppenderCollection at the specified index.
Remove Removes the first occurrence of a specific IAppender from the AppenderCollection.
RemoveAt Removes the element at the specified index of the AppenderCollection.
ToArray Return the collection elements as an array
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.CloseFile.html0000644000175000017500000000340210412737526025367 0ustar slomoslomo FileAppender.CloseFile Method
log4net SDK Reference

FileAppender.CloseFile Method 

Closes the previously opened file.

[Visual Basic]
Protected Sub CloseFile()
[C#]
protected void CloseFile();

Remarks

Writes the Footer to the file and then closes the file.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayoutMembers.html0000644000175000017500000001752310412737550025040 0ustar slomoslomo PatternLayout Members
log4net SDK Reference

PatternLayout Members

PatternLayout overview

Public Static (Shared) Fields

DefaultConversionPattern Default pattern string for log output.
DetailConversionPattern A detailed conversion pattern

Public Instance Constructors

PatternLayout Overloaded. Initializes a new instance of the PatternLayout class.

Public Instance Properties

ContentType (inherited from LayoutSkeleton) The content type output by this layout.
ConversionPattern The pattern formatting string
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions

Public Instance Methods

ActivateOptions Initialize layout options
AddConverterOverloaded. Add a converter to this PatternLayout
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Produces a formatted string as specified by the conversion pattern.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CreatePatternParser Create the pattern parser instance
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttributeConstructor2.html0000644000175000017500000000474210412737566032400 0ustar slomoslomo TypeConverterAttribute Constructor (String)
log4net SDK Reference

TypeConverterAttribute Constructor (String)

Create a new type converter attribute for the specified type name

[Visual Basic]
Overloads Public Sub New( _
   ByVal typeName As String _
)
[C#]
public TypeConverterAttribute(
   string typeName
);

Parameters

typeName
The string type name of the type converter

Remarks

The type specified must implement the IConvertFrom or the IConvertTo interfaces.

See Also

TypeConverterAttribute Class | log4net.Util.TypeConverters Namespace | TypeConverterAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextPropertiesProperties.html0000644000175000017500000000363410412737564027263 0ustar slomoslomo ThreadContextProperties Properties
log4net SDK Reference

ThreadContextProperties Properties

The properties of the ThreadContextProperties class are listed below. For a complete list of ThreadContextProperties class members, see the ThreadContextProperties Members topic.

Public Instance Properties

Item Gets or sets the value of a property

See Also

ThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.SpacePad.html0000644000175000017500000000537510412737562025343 0ustar slomoslomo PatternConverter.SpacePad Method
log4net SDK Reference

PatternConverter.SpacePad Method 

Fast space padding method.

[Visual Basic]
Protected Shared Sub SpacePad( _
   ByVal writer As TextWriter, _
   ByVal length As Integer _
)
[C#]
protected static void SpacePad(
   TextWriter writer,
   int length
);

Parameters

writer
TextWriter to which the spaces will be appended.
length
The number of spaces to be padded.

Remarks

Fast space padding method.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.DefaultRendererMethods.html0000644000175000017500000000740410412737552026730 0ustar slomoslomo DefaultRenderer Methods
log4net SDK Reference

DefaultRenderer Methods

The methods of the DefaultRenderer class are listed below. For a complete list of DefaultRenderer class members, see the DefaultRenderer Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RenderObject Render the object obj to a string
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DefaultRenderer Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.IsReadOnly.html0000644000175000017500000000513110412737542025411 0ustar slomoslomo IsReadOnly Property
log4net SDK Reference

LevelCollection.IsReadOnly Property

Gets a value indicating whether the IList is read-only.

[Visual Basic]
Overridable Public ReadOnly Property IsReadOnly As Boolean _
    Implements IList.IsReadOnly
[C#]
public virtual bool IsReadOnly {get;}

Property Value

true if the collection is read-only; otherwise, false. The default is false

Implements

IList.IsReadOnly

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.IsReadOnly

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayout.Header.html0000644000175000017500000000366010412737550023464 0ustar slomoslomo Header Property
log4net SDK Reference

ILayout.Header Property

The header for the layout format.

[Visual Basic]
Property Header As String
[C#]
string Header {get;}

Property Value

the layout header

Remarks

The Header text will be appended before any logging events are formatted and appended.

See Also

ILayout Interface | log4net.Layout Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders_overload_2.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders_overload_2.ht0000644000175000017500000000513610412737556032355 0ustar slomoslomo AppenderAttachedImpl.AppendLoopOnAppenders Method (LoggingEvent[])
log4net SDK Reference

AppenderAttachedImpl.AppendLoopOnAppenders Method (LoggingEvent[])

Append on on all attached appenders.

[Visual Basic]
Overloads Public Function AppendLoopOnAppenders( _
   ByVal loggingEvents As LoggingEvent() _
) As Integer
[C#]
public int AppendLoopOnAppenders(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
The array of events being logged.

Return Value

The number of appenders called.

Remarks

Calls the DoAppend method on all attached appenders.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace | AppenderAttachedImpl.AppendLoopOnAppenders Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Remove.html0000644000175000017500000000617210412737522026176 0ustar slomoslomo AppenderCollection.Remove Method
log4net SDK Reference

AppenderCollection.Remove Method 

Removes the first occurrence of a specific IAppender from the AppenderCollection.

[Visual Basic]
Overridable Public Sub Remove( _
   ByVal item As IAppender _
)
[C#]
public virtual void Remove(
   IAppender item
);

Parameters

item
The IAppender to remove from the AppenderCollection.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.Remove(log4net.Appender.IAppender)

Exceptions

Exception Type Condition
ArgumentException The specified IAppender was not found in the AppenderCollection.

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppenderProperties.html0000644000175000017500000000726010412737536025766 0ustar slomoslomo TraceAppender Properties
log4net SDK Reference

TraceAppender Properties

The properties of the TraceAppender class are listed below. For a complete list of TraceAppender class members, see the TraceAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush Gets or sets a value that indicates whether the appender will flush at the end of each write.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

TraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMapConstructor.html0000644000175000017500000000303410412737552026776 0ustar slomoslomo RendererMap Constructor
log4net SDK Reference

RendererMap Constructor 

Default Constructor

[Visual Basic]
Public Sub New()
[C#]
public RendererMap();

Remarks

Default constructor.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilter.LoggerToMatch.html0000644000175000017500000000454510412737550026722 0ustar slomoslomo LoggerToMatch Property
log4net SDK Reference

LoggerMatchFilter.LoggerToMatch Property

The LoggerName that the filter will match

[Visual Basic]
Public Property LoggerToMatch As String
[C#]
public string LoggerToMatch {get; set;}

Remarks

This filter will attempt to match this value against logger name in the following way. The match will be done against the beginning of the logger name (using StartsWith). The match is case sensitive. If a match is found then the result depends on the value of AcceptOnMatch.

See Also

LoggerMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ConverterInfoMembers.html0000644000175000017500000001100710412737550027611 0ustar slomoslomo PatternLayout.ConverterInfo Members
log4net SDK Reference

PatternLayout.ConverterInfo Members

PatternLayout.ConverterInfo overview

Public Instance Constructors

PatternLayout.ConverterInfo Constructor default constructor

Public Instance Properties

Name Gets or sets the name of the conversion pattern
Type Gets or sets the type of the converter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PatternLayout.ConverterInfo Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogException.html0000644000175000017500000000605710412737544022730 0ustar slomoslomo LogException Class
log4net SDK Reference

LogException Class

Exception base type for log4net.

For a list of all members of this type, see LogException Members.

System.Object
   System.Exception
      System.ApplicationException
         log4net.Core.LogException

[Visual Basic]
Public Class LogException
    Inherits ApplicationException
[C#]
public class LogException : ApplicationException

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This type extends ApplicationException. It does not add any new functionality but does differentiate the type of exception being thrown.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LogException Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.SimpleLayout.ActivateOptions.html0000644000175000017500000000462210412737552026452 0ustar slomoslomo SimpleLayout.ActivateOptions Method
log4net SDK Reference

SimpleLayout.ActivateOptions Method 

Initialize layout options

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

SimpleLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppender.RequiresLayout.html0000644000175000017500000000411610412737524026667 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

DebugAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

DebugAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.GlobalContextPropertiesMembers.html0000644000175000017500000001026210412737560026501 0ustar slomoslomo GlobalContextProperties Members
log4net SDK Reference

GlobalContextProperties Members

GlobalContextProperties overview

Public Instance Properties

Item Gets or sets the value of a property

Public Instance Methods

Clear Clear the global context properties
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove a property from the global context
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

GlobalContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullSecurityContextFields.html0000644000175000017500000000372210412737562025507 0ustar slomoslomo NullSecurityContext Fields
log4net SDK Reference

NullSecurityContext Fields

The fields of the NullSecurityContext class are listed below. For a complete list of NullSecurityContext class members, see the NullSecurityContext Members topic.

Public Static (Shared) Fields

Instance Singleton instance of NullSecurityContext

See Also

NullSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPluginProperties.html0000644000175000017500000000343210412737552024313 0ustar slomoslomo IPlugin Properties
log4net SDK Reference

IPlugin Properties

The properties of the IPlugin interface are listed below. For a complete list of IPlugin interface members, see the IPlugin Members topic.

Public Instance Properties

Name Gets the name of the plugin.

See Also

IPlugin Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttributeConstructor.html0000644000175000017500000000406210412737536026230 0ustar slomoslomo PluginAttribute Constructor
log4net SDK Reference

PluginAttribute Constructor

Initializes a new instance of the PluginAttribute class with the specified type.

Overload List

Initializes a new instance of the PluginAttribute class with the specified type.

public PluginAttribute(string);

Initializes a new instance of the PluginAttribute class with the specified type.

public PluginAttribute(Type);

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.ConnectionString.html0000644000175000017500000000543710412737520027307 0ustar slomoslomo ConnectionString Property
log4net SDK Reference

AdoNetAppender.ConnectionString Property

Gets or sets the database connection string that is used to connect to the database.

[Visual Basic]
Public Property ConnectionString As String
[C#]
public string ConnectionString {get; set;}

Property Value

The database connection string used to connect to the database.

Remarks

The connections string is specific to the connection type. See ConnectionType for more information.

Example

Connection string for MS Access via ODBC:

"DSN=MS Access Database;UID=admin;PWD=;SystemDB=C:\data\System.mdw;SafeTransactions = 0;FIL=MS Access;DriverID = 25;DBQ=C:\data\train33.mdb"
Another connection string for MS Access via ODBC:
"Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Work\cvs_root\log4net-1.2\access.mdb;UID=;PWD=;"
Connection string for MS Access via OLE DB:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Work\cvs_root\log4net-1.2\access.mdb;User Id=;Password=;"

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.html0000644000175000017500000000727110412737522024743 0ustar slomoslomo AppenderCollection Class
log4net SDK Reference

AppenderCollection Class

A strongly-typed collection of IAppender objects.

For a list of all members of this type, see AppenderCollection Members.

System.Object
   log4net.Appender.AppenderCollection

[Visual Basic]
Public Class AppenderCollection
    Implements IList, ICollection, IEnumerable, ICloneable
[C#]
public class AppenderCollection : IList, ICollection, IEnumerable, ICloneable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Missing <remarks> documentation for T:log4net.Appender.AppenderCollection

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

AppenderCollection Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLogger_overload_4.html0000644000175000017500000000576610412737544027044 0ustar slomoslomo LoggerManager.GetLogger Method (Assembly, Type)
log4net SDK Reference

LoggerManager.GetLogger Method (Assembly, Type)

Shorthand for GetLogger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repositoryAssembly As Assembly, _
   ByVal type As Type _
) As ILogger
[C#]
public static ILogger GetLogger(
   Assembly repositoryAssembly,
   Type type
);

Parameters

repositoryAssembly
the assembly to use to lookup the repository
type
The type of which the fullname will be used as the name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Gets the logger for the fully qualified name of the type specified.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemStringFormat.html0000644000175000017500000000440210412737564024173 0ustar slomoslomo SystemStringFormat Class
log4net SDK Reference

SystemStringFormat Class

Utility class that represents a format string.

For a list of all members of this type, see SystemStringFormat Members.

System.Object
   log4net.Util.SystemStringFormat

[Visual Basic]
NotInheritable Public Class SystemStringFormat
[C#]
public sealed class SystemStringFormat

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Utility class that represents a format string.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

SystemStringFormat Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_10.html0000644000175000017500000000575010412737540030076 0ustar slomoslomo XmlConfigurator.Configure Method (ILoggerRepository, Stream)
log4net SDK Reference

XmlConfigurator.Configure Method (ILoggerRepository, Stream)

Configures the ILoggerRepository using the specified configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal configStream As Stream _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   Stream configStream
);

Parameters

repository
The repository to configure.
configStream
The stream to load the XML configuration from.

Remarks

The configuration data must be valid XML. It must contain at least one element called log4net that holds the configuration data.

Note that this method will NOT close the stream parameter.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateRepository_overloads.html0000644000175000017500000000457110412737516027033 0ustar slomoslomo CreateRepository Method
log4net SDK Reference

LogManager.CreateRepository Method

Create a logger repository.

Overload List

Creates a repository for the specified assembly and repository type.

public static ILoggerRepository CreateRepository(Assembly,Type);

Creates a repository with the specified name.

public static ILoggerRepository CreateRepository(string);

Creates a repository with the specified name and repository type.

public static ILoggerRepository CreateRepository(string,Type);

Creates a repository with the specified repository type.

public static ILoggerRepository CreateRepository(Type);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.Size.html0000644000175000017500000000436110412737520026567 0ustar slomoslomo Size Property
log4net SDK Reference

AdoNetAppenderParameter.Size Property

Gets or sets the size for this parameter.

[Visual Basic]
Public Property Size As Integer
[C#]
public int Size {get; set;}

Property Value

The size for this parameter.

Remarks

The maximum size, in bytes, of the data within the column.

This property is optional. If not specified the ADO.NET provider will attempt to infer the size from the value.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace | Size


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.Password.html0000644000175000017500000000456710412737534025404 0ustar slomoslomo Password Property
log4net SDK Reference

SmtpAppender.Password Property

The password to use to authenticate with the SMTP server

[Visual Basic]
Public Property Password As String
[C#]
public string Password {get; set;}

Remarks

CAUTION   Authentication is only available on the MS .NET 1.1 runtime.

A Username and Password must be specified when Authentication is set to Basic, otherwise the password will be ignored.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Off.html0000644000175000017500000000350110412737542022075 0ustar slomoslomo Level.Off Field
log4net SDK Reference

Level.Off Field

The Off level designates a higher level than all the rest.

[Visual Basic]
Public Shared ReadOnly Off As Level
[C#]
public static readonly Level Off;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Off

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.ConfiguratorAttributeConstructor.html0000644000175000017500000000432210412737536027433 0ustar slomoslomo ConfiguratorAttribute Constructor
log4net SDK Reference

ConfiguratorAttribute Constructor 

Constructor used by subclasses.

[Visual Basic]
Protected Sub New( _
   ByVal priority As Integer _
)
[C#]
protected ConfiguratorAttribute(
   int priority
);

Parameters

priority
the ordering priority for this configurator

Remarks

The priority is used to order the configurator attributes before they are invoked. Higher priority configurators are executed before lower priority ones.

See Also

ConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILogger.Log_overload_1.html0000644000175000017500000000421710412737540024503 0ustar slomoslomo ILogger.Log Method (LoggingEvent)
log4net SDK Reference

ILogger.Log Method (LoggingEvent)

This is the most generic printing method that is intended to be used by wrappers.

[Visual Basic]
Sub Log( _
   ByVal logEvent As LoggingEvent _
)
[C#]
void Log(
   LoggingEvent logEvent
);

Parameters

logEvent
The event being logged.

Remarks

Logs the specified logging event through this logger.

See Also

ILogger Interface | log4net.Core Namespace | ILogger.Log Overload List


././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColors.ActivateOptions.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColors.ActivateOptions.h0000644000175000017500000000441010412737524032402 0ustar slomoslomo ColoredConsoleAppender.LevelColors.ActivateOptions Method
log4net SDK Reference

ColoredConsoleAppender.LevelColors.ActivateOptions Method 

Initialize the options for the object

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Combine the ForeColor and BackColor together.

See Also

ColoredConsoleAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppenderProperties.html0000644000175000017500000000701410412737532030357 0ustar slomoslomo OutputDebugStringAppender Properties
log4net SDK Reference

OutputDebugStringAppender Properties

The properties of the OutputDebugStringAppender class are listed below. For a complete list of OutputDebugStringAppender class members, see the OutputDebugStringAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayoutConstructor1.html0000644000175000017500000000436310412737550026052 0ustar slomoslomo PatternLayout Constructor ()
log4net SDK Reference

PatternLayout Constructor ()

Constructs a PatternLayout using the DefaultConversionPattern

[Visual Basic]
Overloads Public Sub New()
[C#]
public PatternLayout();

Remarks

The default pattern just produces the application supplied message.

Note to Inheritors: This constructor calls the virtual method CreatePatternParser. If you override this method be aware that it will be called before your is called constructor.

As per the IOptionHandler contract the ActivateOptions method must be called after the properties on this object have been configured.

See Also

PatternLayout Class | log4net.Layout Namespace | PatternLayout Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.IBasicRepositoryConfiguratorMembers.html0000644000175000017500000000354410412737554030746 0ustar slomoslomo IBasicRepositoryConfigurator Members
log4net SDK Reference

IBasicRepositoryConfigurator Members

IBasicRepositoryConfigurator overview

Public Instance Methods

Configure Initialize the repository using the specified appender

See Also

IBasicRepositoryConfigurator Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.WarnFormat_overloads.html0000644000175000017500000000524710412737546026032 0ustar slomoslomo WarnFormat Method
log4net SDK Reference

LogImpl.WarnFormat Method

Logs a formatted message string with the WARN level.

Overload List

Logs a formatted message string with the WARN level.

public virtual void WarnFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the WARN level.

public virtual void WarnFormat(string,object);

Logs a formatted message string with the WARN level.

public virtual void WarnFormat(string,object,object);

Logs a formatted message string with the WARN level.

public virtual void WarnFormat(string,object,object,object);

Logs a formatted message string with the WARN level.

public virtual void WarnFormat(string,params object[]);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppenderMethods.html0000644000175000017500000002052010412737530025433 0ustar slomoslomo MemoryAppender Methods
log4net SDK Reference

MemoryAppender Methods

The methods of the MemoryAppender class are listed below. For a complete list of MemoryAppender class members, see the MemoryAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
Clear Clear the list of events
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEvents Gets the events that have been logged.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/protproperty.gif0000644000175000017500000000163310412737506020451 0ustar slomoslomoGIF89a÷ÿÿÿ€ÿÿ€€ÿÿ ÏÏÏÈÈÈÀÀÀ€€€<<< ÿÿÿ!ù,@x(€ƒ  a‚#hH0a 0jL€€Á‚,I’Œ R&ø˜ðà@ 𰃛8E< “¤Ï†Tvd™ódF•+¶Ìxñ(€„, @PAÁ1B©“VÛóç±;log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.OnlyFixPartialEventData.html0000644000175000017500000000517610412737530030621 0ustar slomoslomo OnlyFixPartialEventData Property
log4net SDK Reference

MemoryAppender.OnlyFixPartialEventData Property

NOTE: This property is now obsolete.

Use Fix property


Gets or sets a value indicating whether only part of the logging event data should be fixed.

[Visual Basic]
Overridable Public Property OnlyFixPartialEventData As Boolean
[C#]
public virtual bool OnlyFixPartialEventData {get; set;}

Property Value

true if the appender should only fix part of the logging event data, otherwise false. The default is false.

Remarks

Setting this property to true will cause only part of the event data to be fixed and stored in the appender, hereby improving performance.

See FixVolatileData for more information.

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.SyslogSeverity.html0000644000175000017500000000502110412737532030306 0ustar slomoslomo RemoteSyslogAppender.SyslogSeverity Enumeration
log4net SDK Reference

RemoteSyslogAppender.SyslogSeverity Enumeration

syslog severities

[Visual Basic]
Public Enum RemoteSyslogAppender.SyslogSeverity
[C#]
public enum RemoteSyslogAppender.SyslogSeverity

Remarks

The syslog severities.

Members

Member NameDescription
Emergency system is unusable
Alert action must be taken immediately
Critical critical conditions
Error error conditions
Warning warning conditions
Notice normal but significant condition
Informational informational
Debug debug-level messages

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ExceptionLayoutMembers.html0000644000175000017500000001500710412737550025354 0ustar slomoslomo ExceptionLayout Members
log4net SDK Reference

ExceptionLayout Members

ExceptionLayout overview

Public Instance Constructors

ExceptionLayout Constructor Default constructor

Public Instance Properties

ContentType (inherited from LayoutSkeleton) The content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions

Public Instance Methods

ActivateOptions Activate component options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Gets the exception text from the logging event
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ExceptionLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilterProperties.html0000644000175000017500000000474710412737550026135 0ustar slomoslomo LevelMatchFilter Properties
log4net SDK Reference

LevelMatchFilter Properties

The properties of the LevelMatchFilter class are listed below. For a complete list of LevelMatchFilter class members, see the LevelMatchFilter Members topic.

Public Instance Properties

AcceptOnMatch Accept when matching LevelToMatch
LevelToMatch The Level that the filter will match
Next (inherited from FilterSkeleton) Property to get and set the next filter

See Also

LevelMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLoggerRepository_overload_2.html0000644000175000017500000000615110412737544031127 0ustar slomoslomo LoggerManager.GetLoggerRepository Method (Assembly)
log4net SDK Reference

LoggerManager.GetLoggerRepository Method (Assembly)

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository


Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetLoggerRepository( _
   ByVal repositoryAssembly As Assembly _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetLoggerRepository(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Return Value

The default ILoggerRepository instance.

Remarks

Missing <remarks> documentation for M:log4net.Core.LoggerManager.GetLoggerRepository(System.Reflection.Assembly)

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLoggerRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPluginFactory.CreatePlugin.html0000644000175000017500000000340110412737552026143 0ustar slomoslomo IPluginFactory.CreatePlugin Method
log4net SDK Reference

IPluginFactory.CreatePlugin Method 

Creates the plugin object.

[Visual Basic]
Function CreatePlugin() As IPlugin
[C#]
IPlugin CreatePlugin();

Return Value

the new plugin instance

Remarks

Create and return a new plugin instance.

See Also

IPluginFactory Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.SecurityContext.html0000644000175000017500000000422210412737530027353 0ustar slomoslomo SecurityContext Property
log4net SDK Reference

NetSendAppender.SecurityContext Property

Gets or sets the SecurityContext used to call the NetSend method.

[Visual Basic]
Public Property SecurityContext As SecurityContext
[C#]
public log4net.Core.SecurityContext SecurityContext {get; set;}

Property Value

The SecurityContext used to call the NetSend method.

Remarks

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppender.Append_overload_2.html0000644000175000017500000000445310412737532031630 0ustar slomoslomo OutputDebugStringAppender.Append Method (LoggingEvent)
log4net SDK Reference

OutputDebugStringAppender.Append Method (LoggingEvent)

Write the logging event to the output debug string API

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to log

Remarks

Write the logging event to the output debug string API

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace | OutputDebugStringAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManager.Exists_overload_3.html0000644000175000017500000000576710412737516025056 0ustar slomoslomo LogManager.Exists Method (Assembly, String)
log4net SDK Reference

LogManager.Exists Method (Assembly, String)

Returns the named logger if it exists.

[Visual Basic]
Overloads Public Shared Function Exists( _
   ByVal repositoryAssembly As Assembly, _
   ByVal name As String _
) As ILog
[C#]
public static ILog Exists(
   Assembly repositoryAssembly,
   string name
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.
name
The fully qualified logger name to look for.

Return Value

The logger, or null if the logger doesn't exist in the specified assembly's repository.

Remarks

If the named logger exists (in the repository for the specified assembly) then it returns a reference to the logger, otherwise it returns null.

See Also

LogManager Class | log4net Namespace | LogManager.Exists Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumeratorProperties.html0000644000175000017500000000443110412737562025400 0ustar slomoslomo NullEnumerator Properties
log4net SDK Reference

NullEnumerator Properties

The properties of the NullEnumerator class are listed below. For a complete list of NullEnumerator class members, see the NullEnumerator Members topic.

Public Static (Shared) Properties

Instance Get the singleton instance of the NullEnumerator.

Public Instance Properties

Current Gets the current object from the enumerator.

See Also

NullEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4j.html0000644000175000017500000000524310412737552024667 0ustar slomoslomo XmlLayoutSchemaLog4j Class
log4net SDK Reference

XmlLayoutSchemaLog4j Class

Layout that formats the log events as XML elements compatible with the log4j schema

For a list of all members of this type, see XmlLayoutSchemaLog4j Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.XmlLayoutBase
         log4net.Layout.XmlLayoutSchemaLog4j

[Visual Basic]
Public Class XmlLayoutSchemaLog4j
    Inherits XmlLayoutBase
[C#]
public class XmlLayoutSchemaLog4j : XmlLayoutBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Formats the log events according to the http://logging.apache.org/log4j schema.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

XmlLayoutSchemaLog4j Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ConverterInfoProperties.html0000644000175000017500000000423210412737562030011 0ustar slomoslomo PatternString.ConverterInfo Properties
log4net SDK Reference

PatternString.ConverterInfo Properties

The properties of the PatternString.ConverterInfo class are listed below. For a complete list of PatternString.ConverterInfo class members, see the PatternString.ConverterInfo Members topic.

Public Instance Properties

Name Gets or sets the name of the conversion pattern
Type Gets or sets the type of the converter

See Also

PatternString.ConverterInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeletonEvents.html0000644000175000017500000000475410412737554030033 0ustar slomoslomo LoggerRepositorySkeleton Events
log4net SDK Reference

LoggerRepositorySkeleton Events

The events of the LoggerRepositorySkeleton class are listed below. For a complete list of LoggerRepositorySkeleton class members, see the LoggerRepositorySkeleton Members topic.

Public Instance Events

ConfigurationChanged Event to notify that the repository has had its configuration changed.
ConfigurationReset Event to notify that the repository has had its configuration reset.
ShutdownEvent Event to notify that the repository has been shutdown.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMapProperties.html0000644000175000017500000000411310412737554024637 0ustar slomoslomo PluginMap Properties
log4net SDK Reference

PluginMap Properties

The properties of the PluginMap class are listed below. For a complete list of PluginMap class members, see the PluginMap Members topic.

Public Instance Properties

AllPlugins Gets all possible plugins as a list of IPlugin objects.
Item Gets a IPlugin by name.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.ApplicationName.html0000644000175000017500000000417110412737526027436 0ustar slomoslomo ApplicationName Property
log4net SDK Reference

EventLogAppender.ApplicationName Property

Property used to set the Application name. This appears in the event logs when logging.

[Visual Basic]
Public Property ApplicationName As String
[C#]
public string ApplicationName {get; set;}

Property Value

The string used to distinguish events from different sources.

Remarks

Sets the event log source property.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluatorConstructor1.html0000644000175000017500000000403710412737542025603 0ustar slomoslomo LevelEvaluator Constructor ()
log4net SDK Reference

LevelEvaluator Constructor ()

Create a new evaluator using the Off threshold.

[Visual Basic]
Overloads Public Sub New()
[C#]
public LevelEvaluator();

Remarks

Create a new evaluator using the Off threshold.

This evaluator will trigger if the level of the event passed to IsTriggeringEvent is equal to or greater than the Threshold level.

See Also

LevelEvaluator Class | log4net.Core Namespace | LevelEvaluator Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.Threshold.html0000644000175000017500000000423510412737554030573 0ustar slomoslomo Threshold Property
log4net SDK Reference

LoggerRepositorySkeleton.Threshold Property

The threshold for all events in this repository

[Visual Basic]
Overridable Public Property Threshold As Level _
    Implements ILoggerRepository.Threshold
[C#]
public virtual log4net.Core.Level Threshold {get; set;}

Property Value

The threshold for all events in this repository

Implements

ILoggerRepository.Threshold

Remarks

The threshold for all events in this repository

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfiguratorMembers.html0000644000175000017500000001030610412737536025153 0ustar slomoslomo DOMConfigurator Members
log4net SDK Reference

DOMConfigurator Members

DOMConfigurator overview

Public Static (Shared) Methods

ConfigureOverloaded. Automatically configures the log4net system based on the application's configuration settings.
ConfigureAndWatchOverloaded. Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DOMConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBase.html0000644000175000017500000000524510412737526026673 0ustar slomoslomo FileAppender.LockingModelBase Class
log4net SDK Reference

FileAppender.LockingModelBase Class

Locking model base class

For a list of all members of this type, see FileAppender.LockingModelBase Members.

System.Object
   log4net.Appender.FileAppender.LockingModelBase
      log4net.Appender.FileAppender.ExclusiveLock
      log4net.Appender.FileAppender.MinimalLock

[Visual Basic]
MustInherit Public Class FileAppender.LockingModelBase
[C#]
public abstract class FileAppender.LockingModelBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Base class for the locking models available to the FileAppender derived loggers.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

FileAppender.LockingModelBase Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionConstructor6.html0000644000175000017500000000445610412737542025746 0ustar slomoslomo LevelCollection Constructor (Tag)
log4net SDK Reference

LevelCollection Constructor (Tag)

Allow subclasses to avoid our default constructors

[Visual Basic]
Overloads Protected Friend Sub New( _
   ByVal tag As Tag _
)
[C#]
protected internal LevelCollection(
   Tag tag
);

Parameters

tag
Missing <param> documentation for tag

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection.Tag)

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandlerConstructor.html0000644000175000017500000000425610412737534031101 0ustar slomoslomo TelnetAppender.SocketHandler Constructor
log4net SDK Reference

TelnetAppender.SocketHandler Constructor 

Opens a new server port on

[Visual Basic]
Public Sub New( _
   ByVal port As Integer _
)
[C#]
public TelnetAppender.SocketHandler(
   int port
);

Parameters

port
the local port to listen on for connections

Remarks

Creates a socket handler on the specified local server port.

See Also

TelnetAppender.SocketHandler Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPlugin.Shutdown.html0000644000175000017500000000400710412737554027612 0ustar slomoslomo RemoteLoggingServerPlugin.Shutdown Method
log4net SDK Reference

RemoteLoggingServerPlugin.Shutdown Method 

Is called when the plugin is to shutdown.

[Visual Basic]
Overrides Public Sub Shutdown() _
    Implements IPlugin.Shutdown
[C#]
public override void Shutdown();

Implements

IPlugin.Shutdown

Remarks

When the plugin is shutdown the remote logging sink is disconnected.

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.Append_overloads.html0000644000175000017500000000357710412737530030242 0ustar slomoslomo Append Method
log4net SDK Reference

ForwardingAppender.Append Method

Forward the logging event to the attached appenders

Overload List

Forward the logging event to the attached appenders

protected override void Append(LoggingEvent);

Forward the logging events to the attached appenders

protected override void Append(LoggingEvent[]);

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemStringFormat.ToString.html0000644000175000017500000000412510412737564025745 0ustar slomoslomo SystemStringFormat.ToString Method
log4net SDK Reference

SystemStringFormat.ToString Method 

Format the string and arguments

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

Return Value

the formatted string

Remarks

Missing <remarks> documentation for M:log4net.Util.SystemStringFormat.ToString

See Also

SystemStringFormat Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionaryProperties.html0000644000175000017500000000510310412737564030243 0ustar slomoslomo ReadOnlyPropertiesDictionary Properties
log4net SDK Reference

ReadOnlyPropertiesDictionary Properties

The properties of the ReadOnlyPropertiesDictionary class are listed below. For a complete list of ReadOnlyPropertiesDictionary class members, see the ReadOnlyPropertiesDictionary Members topic.

Public Instance Properties

Count The number of properties in this collection
Item Gets or sets the value of the property with the specified key.

Protected Instance Properties

InnerHashtable The hashtable used to store the properties

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.Properties.html0000644000175000017500000000351710412737544025643 0ustar slomoslomo LoggingEventData.Properties Field
log4net SDK Reference

LoggingEventData.Properties Field

Additional event specific properties

[Visual Basic]
Public Properties As PropertiesDictionary
[C#]
public PropertiesDictionary Properties;

Remarks

A logger or an appender may attach additional properties to specific events. These properties have a string key and an object value.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/intfield.gif0000644000175000017500000000160110412737506017451 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@^ÿ H° Áøüù€€ƒý¸ß>|ÿ.î{±ã¿„;6¤ÈaÓ8:äø1£À}ÿXz<rf‰5 Þ$)“ ÈŠEVT‰æE–2~Äô`ʧO!;././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColorsProperties.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColorsProperties.html0000644000175000017500000000543710412737522032544 0ustar slomoslomo AnsiColorTerminalAppender.LevelColors Properties
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors Properties

The properties of the AnsiColorTerminalAppender.LevelColors class are listed below. For a complete list of AnsiColorTerminalAppender.LevelColors class members, see the AnsiColorTerminalAppender.LevelColors Members topic.

Public Instance Properties

Attributes The color attributes for the specified level
BackColor The mapped background color for the specified level
ForeColor The mapped foreground color for the specified level
Level (inherited from LevelMappingEntry) The level that is the key for this mapping

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.RequiresLayout.html0000644000175000017500000000414610412737534030403 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

SmtpPickupDirAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.ErrorFormat_overload_2.html0000644000175000017500000001135610412737546026250 0ustar slomoslomo LogImpl.ErrorFormat Method (String, Object, Object, Object)
log4net SDK Reference

LogImpl.ErrorFormat Method (String, Object, Object, Object)

Logs a formatted message string with the ERROR level.

[Visual Basic]
Overridable Overloads Public Sub ErrorFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
) _
    Implements ILog.ErrorFormat
[C#]
public virtual void ErrorFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Implements

ILog.ErrorFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the ErrorFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.ErrorFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColorsMembers.html0000644000175000017500000001521010412737522031770 0ustar slomoslomo AnsiColorTerminalAppender.LevelColors Members
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors Members

AnsiColorTerminalAppender.LevelColors overview

Public Instance Constructors

AnsiColorTerminalAppender.LevelColors Constructor Initializes a new instance of the AnsiColorTerminalAppender.LevelColors class.

Public Instance Properties

Attributes The color attributes for the specified level
BackColor The mapped background color for the specified level
ForeColor The mapped foreground color for the specified level
Level (inherited from LevelMappingEntry) The level that is the key for this mapping

Public Instance Methods

ActivateOptions Initialize the options for the object
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.SecurityContextProviderAttribute.Configure.html0000644000175000017500000000562210412737540031331 0ustar slomoslomo SecurityContextProviderAttribute.Configure Method
log4net SDK Reference

SecurityContextProviderAttribute.Configure Method 

Configures the SecurityContextProvider

[Visual Basic]
Overrides Public Sub Configure( _
   ByVal sourceAssembly As Assembly, _
   ByVal targetRepository As ILoggerRepository _
)
[C#]
public override void Configure(
   Assembly sourceAssembly,
   ILoggerRepository targetRepository
);

Parameters

sourceAssembly
The assembly that this attribute was defined on.
targetRepository
The repository to configure.

Remarks

Creates a provider instance from the ProviderType specified. Sets this as the default security context provider DefaultProvider.

See Also

SecurityContextProviderAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.Log.html0000644000175000017500000000466510412737554025773 0ustar slomoslomo ILoggerRepository.Log Method
log4net SDK Reference

ILoggerRepository.Log Method 

Log the LoggingEvent through this repository.

[Visual Basic]
Sub Log( _
   ByVal logEvent As LoggingEvent _
)
[C#]
void Log(
   LoggingEvent logEvent
);

Parameters

logEvent
the event to log

Remarks

This method should not normally be used to log. The ILog interface should be used for routine logging. This interface can be obtained using the GetLogger method.

The logEvent is delivered to the appropriate logger and that logger is then responsible for logging the event.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.m_stringToMatch.html0000644000175000017500000000410110412737550027340 0ustar slomoslomo StringMatchFilter.m_stringToMatch Field
log4net SDK Reference

StringMatchFilter.m_stringToMatch Field

The string to substring match against the message

[Visual Basic]
Protected m_stringToMatch As String
[C#]
protected string m_stringToMatch;

Remarks

Missing <remarks> documentation for F:log4net.Filter.StringMatchFilter.m_stringToMatch

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.GetLogger_overload_2.html0000644000175000017500000000577210412737556031452 0ustar slomoslomo Hierarchy.GetLogger Method (String, ILoggerFactory)
log4net SDK Reference

Hierarchy.GetLogger Method (String, ILoggerFactory)

Return a new logger instance named as the first parameter using factory.

[Visual Basic]
Overloads Public Function GetLogger( _
   ByVal name As String, _
   ByVal factory As ILoggerFactory _
) As Logger
[C#]
public Logger GetLogger(
   string name,
   ILoggerFactory factory
);

Parameters

name
The name of the logger to retrieve
factory
The factory that will make the new logger instance

Return Value

The logger object with the name specified

Remarks

If a logger of that name already exists, then it will be returned. Otherwise, a new logger will be instantiated by the factory parameter and linked with its existing ancestors as well as children.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace | Hierarchy.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfiguratorAttributeMembers.html0000644000175000017500000001503110412737536027037 0ustar slomoslomo DOMConfiguratorAttribute Members
log4net SDK Reference

DOMConfiguratorAttribute Members

DOMConfiguratorAttribute overview

Public Instance Constructors

DOMConfiguratorAttribute Constructor Initializes a new instance of the DOMConfiguratorAttribute class.

Public Instance Properties

ConfigFile (inherited from XmlConfiguratorAttribute) Gets or sets the filename of the configuration file.
ConfigFileExtension (inherited from XmlConfiguratorAttribute) Gets or sets the extension of the configuration file.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.
Watch (inherited from XmlConfiguratorAttribute) Gets or sets a value indicating whether to watch the configuration file.

Public Instance Methods

CompareTo (inherited from ConfiguratorAttribute) Compare this instance to another ConfiguratorAttribute
Configure (inherited from XmlConfiguratorAttribute) Configures the ILoggerRepository for the specified assembly.
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DOMConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ExceptionLayout.Format.html0000644000175000017500000000575110412737550025275 0ustar slomoslomo ExceptionLayout.Format Method
log4net SDK Reference

ExceptionLayout.Format Method 

Gets the exception text from the logging event

[Visual Basic]
Overrides Public Sub Format( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
) _
    Implements ILayout.Format
[C#]
public override void Format(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
the event being logged

Implements

ILayout.Format

Remarks

Write the exception string to the TextWriter. The exception string is retrieved from GetExceptionString.

See Also

ExceptionLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.Reset.html0000644000175000017500000000364610412737536026061 0ustar slomoslomo TextWriterAppender.Reset Method
log4net SDK Reference

TextWriterAppender.Reset Method 

Clears internal references to the underlying TextWriter and other variables.

[Visual Basic]
Overridable Protected Sub Reset()
[C#]
protected virtual void Reset();

Remarks

Subclasses can override this method for an alternate closing behavior.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReusableStringWriterMethods.html0000644000175000017500000002154410412737564026027 0ustar slomoslomo ReusableStringWriter Methods
log4net SDK Reference

ReusableStringWriter Methods

The methods of the ReusableStringWriter class are listed below. For a complete list of ReusableStringWriter class members, see the ReusableStringWriter Members topic.

Public Instance Methods

Close (inherited from StringWriter) Closes the current StringWriter and the underlying stream.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriter) Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetStringBuilder (inherited from StringWriter) Returns the underlying StringBuilder .
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Reset Reset this string writer so that it can be reused.
ToString (inherited from StringWriter) Returns a string containing the characters written to the current StringWriter so far.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
Write (inherited from StringWriter)Overloaded. Writes a string to this instance of the StringWriter.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Methods

Dispose Override Dispose to prevent closing of writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ReusableStringWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppenderProperties.html0000644000175000017500000000726010412737524025753 0ustar slomoslomo DebugAppender Properties
log4net SDK Reference

DebugAppender Properties

The properties of the DebugAppender class are listed below. For a complete list of DebugAppender class members, see the DebugAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush Gets or sets a value that indicates whether the appender will flush at the end of each write.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

DebugAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttributeProperties.html0000644000175000017500000000546010412737540027722 0ustar slomoslomo XmlConfiguratorAttribute Properties
log4net SDK Reference

XmlConfiguratorAttribute Properties

The properties of the XmlConfiguratorAttribute class are listed below. For a complete list of XmlConfiguratorAttribute class members, see the XmlConfiguratorAttribute Members topic.

Public Instance Properties

ConfigFile Gets or sets the filename of the configuration file.
ConfigFileExtension Gets or sets the extension of the configuration file.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.
Watch Gets or sets a value indicating whether to watch the configuration file.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.html0000644000175000017500000000642510412737544022717 0ustar slomoslomo LoggingEvent Class
log4net SDK Reference

LoggingEvent Class

The internal representation of logging events.

For a list of all members of this type, see LoggingEvent Members.

System.Object
   log4net.Core.LoggingEvent

[Visual Basic]
Public Class LoggingEvent
    Implements ISerializable
[C#]
public class LoggingEvent : ISerializable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

When an affirmative decision is made to log then a LoggingEvent instance is created. This instance is passed around to the different log4net components.

This class is of concern to those wishing to extend log4net.

Some of the values in instances of LoggingEvent are considered volatile, that is the values are correct at the time the event is delivered to appenders, but will not be consistent at any time afterwards. If an event is to be stored and then processed at a later time these volatile values must be fixed by calling FixVolatileData. There is a performance penalty for incurred by calling FixVolatileData but it is essential to maintaining data consistency.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LoggingEvent Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.LoggerName.html0000644000175000017500000000346510412737544025531 0ustar slomoslomo LoggingEventData.LoggerName Field
log4net SDK Reference

LoggingEventData.LoggerName Field

The logger name.

[Visual Basic]
Public LoggerName As String
[C#]
public string LoggerName;

Remarks

The logger name.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBase.LocationInfo.html0000644000175000017500000000455310412737552026027 0ustar slomoslomo LocationInfo Property
log4net SDK Reference

XmlLayoutBase.LocationInfo Property

Gets a value indicating whether to include location information in the XML events.

[Visual Basic]
Public Property LocationInfo As Boolean
[C#]
public bool LocationInfo {get; set;}

Property Value

true if location information should be included in the XML events; otherwise, false.

Remarks

If LocationInfo is set to true, then the file name and line number of the statement at the origin of the log statement will be output.

If you are embedding this layout within an SMTPAppender then make sure to set the LocationInfo option of that appender as well.

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppenderConstructor.html0000644000175000017500000000322310412737532027316 0ustar slomoslomo RollingFileAppender Constructor
log4net SDK Reference

RollingFileAppender Constructor 

Initializes a new instance of the RollingFileAppender class.

[Visual Basic]
Public Sub New()
[C#]
public RollingFileAppender();

Remarks

Default constructor.

See Also

RollingFileAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overload_3.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overload_3.ht0000644000175000017500000001416510412737540032576 0ustar slomoslomo DefaultRepositorySelector.CreateRepository Method (Assembly, Type, String, Boolean)
log4net SDK Reference

DefaultRepositorySelector.CreateRepository Method (Assembly, Type, String, Boolean)

Creates a new repository for the assembly specified.

[Visual Basic]
Overloads Public Function CreateRepository( _
   ByVal repositoryAssembly As Assembly, _
   ByVal repositoryType As Type, _
   ByVal repositoryName As String, _
   ByVal readAssemblyAttributes As Boolean _
) As ILoggerRepository
[C#]
public ILoggerRepository CreateRepository(
   Assembly repositoryAssembly,
   Type repositoryType,
   string repositoryName,
   bool readAssemblyAttributes
);

Parameters

repositoryAssembly
the assembly to use to create the repository to associate with the ILoggerRepository.
repositoryType
The type of repository to create, must implement ILoggerRepository.
repositoryName
The name to assign to the created repository
readAssemblyAttributes
Set to true to read and apply the assembly attributes

Return Value

The repository created.

Remarks

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same assembly specified will return the same repository instance.

The type of the ILoggerRepository created and the repository to create can be overridden by specifying the RepositoryAttribute attribute on the repositoryAssembly. The default values are to use the repositoryType implementation of the ILoggerRepository interface and to use the Name as the name of the repository.

The ILoggerRepository created will be automatically configured using any ConfiguratorAttribute attributes defined on the repositoryAssembly.

If a repository for the repositoryAssembly already exists that repository will be returned. An error will not be raised and that repository may be of a different type to that specified in repositoryType. Also the RepositoryAttribute attribute on the assembly may be used to override the repository type specified in repositoryType.

Exceptions

Exception TypeCondition
ArgumentNullExceptionrepositoryAssembly is a null reference (Nothing in Visual Basic).

See Also

DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfigurator.Configure_overload_1.html0000644000175000017500000000433010412737536030275 0ustar slomoslomo BasicConfigurator.Configure Method ()
log4net SDK Reference

BasicConfigurator.Configure Method ()

Initializes the log4net system with a default configuration.

[Visual Basic]
Overloads Public Shared Sub Configure()
[C#]
public static void Configure();

Remarks

Initializes the log4net logging system using a ConsoleAppender that will write to Console.Out. The log messages are formatted using the PatternLayout layout object with the DetailConversionPattern layout style.

See Also

BasicConfigurator Class | log4net.Config Namespace | BasicConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLockMembers.html0000644000175000017500000001475310412737526027247 0ustar slomoslomo FileAppender.MinimalLock Members
log4net SDK Reference

FileAppender.MinimalLock Members

FileAppender.MinimalLock overview

Public Instance Constructors

FileAppender.MinimalLock Constructor Initializes a new instance of the FileAppender.MinimalLock class.

Public Instance Properties

CurrentAppender (inherited from LockingModelBase) Gets or sets the FileAppender for this LockingModel

Public Instance Methods

AcquireLock Acquire the lock on the file
CloseFile Close the file
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
OpenFile Prepares to open the file when the first message is logged.
ReleaseLock Release the lock on the file
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IFixingRequiredMethods.html0000644000175000017500000000354710412737540024707 0ustar slomoslomo IFixingRequired Methods
log4net SDK Reference

IFixingRequired Methods

The methods of the IFixingRequired interface are listed below. For a complete list of IFixingRequired interface members, see the IFixingRequired Members topic.

Public Instance Methods

GetFixedObject Get a portable version of this object

See Also

IFixingRequired Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelectorMethods.html0000644000175000017500000001406710412737540027037 0ustar slomoslomo CompactRepositorySelector Methods
log4net SDK Reference

CompactRepositorySelector Methods

The methods of the CompactRepositorySelector class are listed below. For a complete list of CompactRepositorySelector class members, see the CompactRepositorySelector Members topic.

Public Instance Methods

CreateRepositoryOverloaded. Create a new repository for the repository specified
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ExistsRepository Test if a named repository exists
GetAllRepositories Gets a list of ILoggerRepository objects
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRepositoryOverloaded. Get the named ILoggerRepository
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnLoggerRepositoryCreatedEvent Notify the registered listeners that the repository has been created

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Error_overload_1.html0000644000175000017500000000607710412737516023477 0ustar slomoslomo ILog.Error Method (Object, Exception)
log4net SDK Reference

ILog.Error Method (Object, Exception)

Log a message object with the Error level including the stack trace of the Exception passed as a parameter.

[Visual Basic]
Sub Error( _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
void Error(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

See the Error form for more detailed information.

See Also

ILog Interface | log4net Namespace | ILog.Error Overload List | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_7.html0000644000175000017500000001042310412737536027701 0ustar slomoslomo DOMConfigurator.Configure Method (ILoggerRepository, FileInfo)
log4net SDK Reference

DOMConfigurator.Configure Method (ILoggerRepository, FileInfo)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Configures the ILoggerRepository using the specified configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal configFile As FileInfo _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   FileInfo configFile
);

Parameters

repository
The repository to configure.
configFile
The XML file to load the configuration from.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

The configuration file must be valid XML. It must contain at least one element called log4net that holds the configuration data.

The log4net configuration file can possible be specified in the application's configuration file (either MyAppName.exe.config for a normal application on Web.config for an ASP.NET application).

The following example configures log4net using a configuration file, of which the location is stored in the application's configuration file :
[C#]
using log4net.Config;
using System.IO;
using System.Configuration;

...

DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));

In the .config file, the path to the log4net can be specified like this :

[XML]
<configuration>
    <appSettings>
        <add key="log4net-config-file" value="log.config" />
    </appSettings>
</configuration>

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ProtectCloseTextWriterMembers.html0000644000175000017500000002522110412737562026332 0ustar slomoslomo ProtectCloseTextWriter Members
log4net SDK Reference

ProtectCloseTextWriter Members

ProtectCloseTextWriter overview

Public Instance Constructors

ProtectCloseTextWriter Constructor Constructor

Public Instance Properties

Encoding (inherited from TextWriterAdapter) The Encoding in which the output is written
FormatProvider (inherited from TextWriterAdapter) Gets an object that controls formatting
NewLine (inherited from TextWriterAdapter) Gets or sets the line terminator string used by the TextWriter

Public Instance Methods

Attach Attach this instance to a different underlying TextWriter
Close Does not close the underlying output writer.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriterAdapter) Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
Write (inherited from TextWriterAdapter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Fields

CoreNewLine (inherited from TextWriter) Stores the new line characters used for this TextWriter .

Protected Instance Properties

Writer (inherited from TextWriterAdapter) Gets or sets the underlying TextWriter.

Protected Instance Methods

Dispose (inherited from TextWriterAdapter) Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ProtectCloseTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayout.Format.html0000644000175000017500000000642310412737550023524 0ustar slomoslomo ILayout.Format Method
log4net SDK Reference

ILayout.Format Method 

Implement this method to create your own layout format.

[Visual Basic]
Sub Format( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
void Format(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
The event to format

Remarks

This method is called by an appender to format the loggingEvent as text and output to a writer.

If the caller does not have a TextWriter and prefers the event to be formatted as a String then the following code can be used to format the event into a StringWriter.

[C#]
StringWriter writer = new StringWriter();
Layout.Format(writer, loggingEvent);
string formattedEvent = writer.ToString();

See Also

ILayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.InfoFormat_overload_3.html0000644000175000017500000000744710412737516024456 0ustar slomoslomo ILog.InfoFormat Method (String, Object, Object)
log4net SDK Reference

ILog.InfoFormat Method (String, Object, Object)

Logs a formatted message string with the Info level.

[Visual Basic]
Sub InfoFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
)
[C#]
void InfoFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

ILog Interface | log4net Namespace | ILog.InfoFormat Overload List | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventDataMembers.html0000644000175000017500000001232710412737544025022 0ustar slomoslomo LoggingEventData Members
log4net SDK Reference

LoggingEventData Members

LoggingEventData overview

Public Instance Fields

Domain String representation of the AppDomain.
ExceptionString The string representation of the exception
Identity String representation of the identity.
Level Level of logging event.
LocationInfo Location information for the caller.
LoggerName The logger name.
Message The application supplied message.
Properties Additional event specific properties
ThreadName The name of thread
TimeStamp The time the event was logged
UserName String representation of the user

Public Instance Methods

Equals (inherited from ValueType) Indicates whether this instance and a specified object are equal.
GetHashCode (inherited from ValueType) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from ValueType) Returns the fully qualified type name of this instance.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBase.Format.html0000644000175000017500000000646310412737552024675 0ustar slomoslomo XmlLayoutBase.Format Method
log4net SDK Reference

XmlLayoutBase.Format Method 

Produces a formatted string.

[Visual Basic]
Overrides Public Sub Format( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
) _
    Implements ILayout.Format
[C#]
public override void Format(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
The event being logged.

Implements

ILayout.Format

Remarks

Format the LoggingEvent and write it to the TextWriter.

This method creates an XmlTextWriter that writes to the writer. The XmlTextWriter is passed to the FormatXml method. Subclasses should override the FormatXml method rather than this method.

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayout.ContentType.html0000644000175000017500000000374410412737550024553 0ustar slomoslomo ContentType Property
log4net SDK Reference

ILayout.ContentType Property

The content type output by this layout.

[Visual Basic]
Property ContentType As String
[C#]
string ContentType {get;}

Property Value

The content type

Remarks

The content type output by this layout.

This is a MIME type e.g. "text/plain".

See Also

ILayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasRepositoryAttributeConstructor.html0000644000175000017500000000464010412737536030125 0ustar slomoslomo AliasRepositoryAttribute Constructor
log4net SDK Reference

AliasRepositoryAttribute Constructor 

Initializes a new instance of the AliasRepositoryAttribute class with the specified repository to alias to this assembly's repository.

[Visual Basic]
Public Sub New( _
   ByVal name As String _
)
[C#]
public AliasRepositoryAttribute(
   string name
);

Parameters

name
The repository to alias to this assemby's repository.

Remarks

Initializes a new instance of the AliasRepositoryAttribute class with the specified repository to alias to this assembly's repository.

See Also

AliasRepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.GlobalContext.html0000644000175000017500000000535510412737516022205 0ustar slomoslomo GlobalContext Class
log4net SDK Reference

GlobalContext Class

The log4net Global Context.

For a list of all members of this type, see GlobalContext Members.

System.Object
   log4net.GlobalContext

[Visual Basic]
NotInheritable Public Class GlobalContext
[C#]
public sealed class GlobalContext

Thread Safety

This type is safe for multithreaded operations.

Remarks

The GlobalContext provides a location for global debugging information to be stored.

The global context has a properties map and these properties can be included in the output of log messages. The PatternLayout supports selecting and outputing these properties.

By default the log4net:HostName property is set to the name of the current machine.

Example

[C#]
GlobalContext.Properties["hostname"] = Environment.MachineName;

Requirements

Namespace: log4net

Assembly: log4net (in log4net.dll)

See Also

GlobalContext Members | log4net Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLogger.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLogger.htm0000644000175000017500000000445110412737556032552 0ustar slomoslomo XmlHierarchyConfigurator.ParseLogger Method
log4net SDK Reference

XmlHierarchyConfigurator.ParseLogger Method 

Parses a logger element.

[Visual Basic]
Protected Sub ParseLogger( _
   ByVal loggerElement As XmlElement _
)
[C#]
protected void ParseLogger(
   XmlElement loggerElement
);

Parameters

loggerElement
The logger element.

Remarks

Parse an XML element that represents a logger.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.Sink.html0000644000175000017500000000422010412737532025327 0ustar slomoslomo Sink Property
log4net SDK Reference

RemotingAppender.Sink Property

Gets or sets the URL of the well-known object that will accept the logging events.

[Visual Basic]
Public Property Sink As String
[C#]
public string Sink {get; set;}

Property Value

The well-known URL of the remote sink.

Remarks

The URL of the remoting sink that will accept logging events. The sink must implement the RemotingAppender.IRemoteLoggingSink interface.

See Also

RemotingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Equals.html0000644000175000017500000000473010412737542022622 0ustar slomoslomo Level.Equals Method
log4net SDK Reference

Level.Equals Method 

Compares levels.

[Visual Basic]
Overrides Public Function Equals( _
   ByVal o As Object _
) As Boolean
[C#]
public override bool Equals(
   object o
);

Parameters

o
The object to compare against.

Return Value

true if the objects are equal.

Remarks

Compares the levels of Level instances, and defers to base class if the target object is not a Level instance.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.html0000644000175000017500000001172210412737536023401 0ustar slomoslomo UdpAppender Class
log4net SDK Reference

UdpAppender Class

Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using an UdpClient.

For a list of all members of this type, see UdpAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.UdpAppender
         log4net.Appender.RemoteSyslogAppender

[Visual Basic]
Public Class UdpAppender
    Inherits AppenderSkeleton
[C#]
public class UdpAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

UDP guarantees neither that messages arrive, nor that they arrive in the correct order.

To view the logging results, a custom application can be developed that listens for logging events.

When decoding events send via this appender remember to use the same encoding to decode the events as was used to send the events. See the Encoding property to specify the encoding to use.

Example

This example shows how to log receive logging events that are sent on IP address 244.0.0.1 and port 8080 to the console. The event is encoded in the packet as a unicode string and it is decoded as such.

[C#]
IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
UdpClient udpClient;
byte[] buffer;
string loggingEvent;

try 
{
    udpClient = new UdpClient(8080);
    
    while(true) 
    {
        buffer = udpClient.Receive(ref remoteEndPoint);
        loggingEvent = System.Text.Encoding.Unicode.GetString(buffer);
        Console.WriteLine(loggingEvent);
    }
} 
catch(Exception e) 
{
    Console.WriteLine(e.ToString());
}
[Visual Basic]
Dim remoteEndPoint as IPEndPoint
Dim udpClient as UdpClient
Dim buffer as Byte()
Dim loggingEvent as String

Try 
    remoteEndPoint = new IPEndPoint(IPAddress.Any, 0)
    udpClient = new UdpClient(8080)

    While True
        buffer = udpClient.Receive(ByRef remoteEndPoint)
        loggingEvent = System.Text.Encoding.Unicode.GetString(buffer)
        Console.WriteLine(loggingEvent)
    Wend
Catch e As Exception
    Console.WriteLine(e.ToString())
End Try

An example configuration section to log information using this appender to the IP 224.0.0.1 on port 8080:

[XML]
<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
    <remoteAddress value="224.0.0.1" />
    <remotePort value="8080" />
    <layout type="log4net.Layout.PatternLayout" value="%-5level %logger [%ndc] - %message%newline" />
</appender>

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

UdpAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.SimpleLayoutConstructor.html0000644000175000017500000000330310412737552025600 0ustar slomoslomo SimpleLayout Constructor
log4net SDK Reference

SimpleLayout Constructor 

Constructs a SimpleLayout

[Visual Basic]
Public Sub New()
[C#]
public SimpleLayout();

Remarks

Missing <remarks> documentation for M:log4net.Layout.SimpleLayout.#ctor

See Also

SimpleLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeletonConstructor.html0000644000175000017500000000305410412737522026675 0ustar slomoslomo AppenderSkeleton Constructor
log4net SDK Reference

AppenderSkeleton Constructor 

Default constructor

[Visual Basic]
Protected Sub New()
[C#]
protected AppenderSkeleton();

Remarks

Empty default constructor

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.ConfigurationReset.html0000644000175000017500000000430010412737554032442 0ustar slomoslomo LoggerRepositorySkeleton.ConfigurationReset Event
log4net SDK Reference

LoggerRepositorySkeleton.ConfigurationReset Event

Event to notify that the repository has had its configuration reset.

[Visual Basic]
Public Event ConfigurationReset As LoggerRepositoryConfigurationResetEventHandler
[C#]
public event LoggerRepositoryConfigurationResetEventHandler ConfigurationReset;

Implements

ILoggerRepository.ConfigurationReset

Remarks

Event raised when the repository's configuration has been reset to default.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLock.AcquireReaderLock.html0000644000175000017500000000347510412737564027114 0ustar slomoslomo ReaderWriterLock.AcquireReaderLock Method
log4net SDK Reference

ReaderWriterLock.AcquireReaderLock Method 

Acquires a reader lock

[Visual Basic]
Public Sub AcquireReaderLock()
[C#]
public void AcquireReaderLock();

Remarks

AcquireReaderLock blocks if a different thread has the writer lock, or if at least one thread is waiting for the writer lock.

See Also

ReaderWriterLock Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImplProperties.html0000644000175000017500000000574410412737544023752 0ustar slomoslomo LogImpl Properties
log4net SDK Reference

LogImpl Properties

The properties of the LogImpl class are listed below. For a complete list of LogImpl class members, see the LogImpl Members topic.

Public Instance Properties

IsDebugEnabled Checks if this logger is enabled for the DEBUG level.
IsErrorEnabled Checks if this logger is enabled for the ERROR level.
IsFatalEnabled Checks if this logger is enabled for the FATAL level.
IsInfoEnabled Checks if this logger is enabled for the INFO level.
IsWarnEnabled Checks if this logger is enabled for the WARN level.
Logger (inherited from LoggerWrapperImpl) Gets the implementation behind this wrapper object.

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.SetQWForFiles_overload_2.html0000644000175000017500000000601210412737526030273 0ustar slomoslomo FileAppender.SetQWForFiles Method (Stream)
log4net SDK Reference

FileAppender.SetQWForFiles Method (Stream)

Sets the quiet writer used for file output

[Visual Basic]
Overridable Overloads Protected Sub SetQWForFiles( _
   ByVal fileStream As Stream _
)
[C#]
protected virtual void SetQWForFiles(
   Stream fileStream
);

Parameters

fileStream
the file stream that has been opened for writing

Remarks

This implementation of SetQWForFiles creates a StreamWriter over the fileStream and passes it to the SetQWForFiles method.

This method can be overridden by sub classes that want to wrap the Stream in some way, for example to encrypt the output data using a System.Security.Cryptography.CryptoStream.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender.SetQWForFiles Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppender.Append_overload_2.html0000644000175000017500000000465510412737522030346 0ustar slomoslomo AspNetTraceAppender.Append Method (LoggingEvent)
log4net SDK Reference

AspNetTraceAppender.Append Method (LoggingEvent)

Write the logging event to the ASP.NET trace

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to log

Remarks

Write the logging event to the ASP.NET trace HttpContext.Current.Trace (TraceContext).

See Also

AspNetTraceAppender Class | log4net.Appender Namespace | AspNetTraceAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionMembers.html0000644000175000017500000002474010412737552025461 0ustar slomoslomo PluginCollection Members
log4net SDK Reference

PluginCollection Members

PluginCollection overview

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a PluginCollection instance.

Public Instance Constructors

PluginCollection Overloaded. Initializes a new instance of the PluginCollection class.

Public Instance Properties

Capacity Gets or sets the number of elements the PluginCollection can contain.
Count Gets the number of elements actually contained in the PluginCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the IPlugin at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Public Instance Methods

Add Adds a IPlugin to the end of the PluginCollection.
AddRangeOverloaded. Adds the elements of a IPlugin collection to the current PluginCollection.
Clear Removes all elements from the PluginCollection.
Clone Creates a shallow copy of the PluginCollection.
Contains Determines whether a given IPlugin is in the PluginCollection.
CopyToOverloaded. Copies the entire PluginCollection to a one-dimensional IPlugin array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the PluginCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a IPlugin in the PluginCollection.
Insert Inserts an element into the PluginCollection at the specified index.
Remove Removes the first occurrence of a specific IPlugin from the PluginCollection.
RemoveAt Removes the element at the specified index of the PluginCollection.
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionConstructor2.html0000644000175000017500000000477110412737552026500 0ustar slomoslomo PluginCollection Constructor (Int32)
log4net SDK Reference

PluginCollection Constructor (Int32)

Initializes a new instance of the PluginCollection class that has the specified initial capacity.

[Visual Basic]
Overloads Public Sub New( _
   ByVal capacity As Integer _
)
[C#]
public PluginCollection(
   int capacity
);

Parameters

capacity
The number of elements that the new PluginCollection is initially capable of storing.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.#ctor(System.Int32)

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionProperties.html0000644000175000017500000000645410412737542025467 0ustar slomoslomo LevelCollection Properties
log4net SDK Reference

LevelCollection Properties

The properties of the LevelCollection class are listed below. For a complete list of LevelCollection class members, see the LevelCollection Members topic.

Public Instance Properties

Capacity Gets or sets the number of elements the LevelCollection can contain.
Count Gets the number of elements actually contained in the LevelCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the Level at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.SimpleLayoutMethods.html0000644000175000017500000001201410412737552024655 0ustar slomoslomo SimpleLayout Methods
log4net SDK Reference

SimpleLayout Methods

The methods of the SimpleLayout class are listed below. For a complete list of SimpleLayout class members, see the SimpleLayout Members topic.

Public Instance Methods

ActivateOptions Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Produces a simple formatted output.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SimpleLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContextProperties.html0000644000175000017500000000543310412737564027160 0ustar slomoslomo WindowsSecurityContext Properties
log4net SDK Reference

WindowsSecurityContext Properties

The properties of the WindowsSecurityContext class are listed below. For a complete list of WindowsSecurityContext class members, see the WindowsSecurityContext Members topic.

Public Instance Properties

Credentials Gets or sets the impersonation mode for this security context
DomainName Gets or sets the Windows domain name for this security context
Password Sets the password for the Windows account specified by the UserName and DomainName properties.
UserName Gets or sets the Windows username for this security context

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.Shutdown.html0000644000175000017500000000420110412737554027047 0ustar slomoslomo ILoggerRepository.Shutdown Method
log4net SDK Reference

ILoggerRepository.Shutdown Method 

Shutdown the repository

[Visual Basic]
Sub Shutdown()
[C#]
void Shutdown();

Remarks

Shutting down a repository will safely close and remove all appenders in all loggers including the root logger.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The Shutdown 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.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfoConstructor2.html0000644000175000017500000000677410412737542025250 0ustar slomoslomo LocationInfo Constructor (String, String, String, String)
log4net SDK Reference

LocationInfo Constructor (String, String, String, String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal className As String, _
   ByVal methodName As String, _
   ByVal fileName As String, _
   ByVal lineNumber As String _
)
[C#]
public LocationInfo(
   string className,
   string methodName,
   string fileName,
   string lineNumber
);

Parameters

className
The fully qualified class name.
methodName
The method name.
fileName
The file name.
lineNumber
The line number of the method within the file.

Remarks

Initializes a new instance of the LocationInfo class with the specified data.

See Also

LocationInfo Class | log4net.Core Namespace | LocationInfo Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.ExistsRepository.html0000644000175000017500000000610510412737540031063 0ustar slomoslomo CompactRepositorySelector.ExistsRepository Method
log4net SDK Reference

CompactRepositorySelector.ExistsRepository Method 

Test if a named repository exists

[Visual Basic]
NotOverridable Public Function ExistsRepository( _
   ByVal repositoryName As String _
) As Boolean _
    Implements IRepositorySelector.ExistsRepository
[C#]
public bool ExistsRepository(
   string repositoryName
);

Parameters

repositoryName
the named repository to check

Return Value

true if the repository exists

Implements

IRepositorySelector.ExistsRepository

Remarks

Test if a named repository exists. Use CreateRepository to create a new repository and GetRepository to retrieve a repository.

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternStringProperties.html0000644000175000017500000000354210412737562025232 0ustar slomoslomo PatternString Properties
log4net SDK Reference

PatternString Properties

The properties of the PatternString class are listed below. For a complete list of PatternString class members, see the PatternString Members topic.

Public Instance Properties

ConversionPattern Gets or sets the pattern formatting string

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_3.html0000644000175000017500000000536110412737536027702 0ustar slomoslomo DOMConfigurator.Configure Method (XmlElement)
log4net SDK Reference

DOMConfigurator.Configure Method (XmlElement)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Configures log4net using a log4net element

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal element As XmlElement _
)
[C#]
public static void Configure(
   XmlElement element
);

Parameters

element
The element to parse.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

Loads the log4net configuration from the XML element supplied as element.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.GlobalContextProperties.Remove.html0000644000175000017500000000440110412737560026420 0ustar slomoslomo GlobalContextProperties.Remove Method
log4net SDK Reference

GlobalContextProperties.Remove Method 

Remove a property from the global context

[Visual Basic]
Public Sub Remove( _
   ByVal key As String _
)
[C#]
public void Remove(
   string key
);

Parameters

key
the key for the entry to remove

Remarks

Removing an entry from the global context properties is relatively expensive compared with reading a value.

See Also

GlobalContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Insert.html0000644000175000017500000000677410412737542024662 0ustar slomoslomo LevelCollection.Insert Method
log4net SDK Reference

LevelCollection.Insert Method 

Inserts an element into the LevelCollection at the specified index.

[Visual Basic]
Overridable Public Sub Insert( _
   ByVal index As Integer, _
   ByVal item As Level _
)
[C#]
public virtual void Insert(
   int index,
   Level item
);

Parameters

index
The zero-based index at which item should be inserted.
item
The Level to insert.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.Insert(System.Int32,log4net.Core.Level)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Clone.html0000644000175000017500000000513710412737542024446 0ustar slomoslomo LevelCollection.Clone Method
log4net SDK Reference

LevelCollection.Clone Method 

Creates a shallow copy of the LevelCollection.

[Visual Basic]
Overridable Public Function Clone() As Object _
    Implements ICloneable.Clone
[C#]
public virtual object Clone();

Return Value

A new LevelCollection with a shallow copy of the collection data.

Implements

ICloneable.Clone

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.Clone

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.RollOverSize.html0000644000175000017500000000477510412737534027465 0ustar slomoslomo RollingFileAppender.RollOverSize Method
log4net SDK Reference

RollingFileAppender.RollOverSize Method 

Implements file roll base on file size.

[Visual Basic]
Protected Sub RollOverSize()
[C#]
protected void RollOverSize();

Remarks

If the maximum number of size based backups is reached (curSizeRollBackups == maxSizeRollBackups) then the oldest file is deleted -- its index determined by the sign of countDirection. If countDirection < 0, then files {File.1, ..., File.curSizeRollBackups -1} are renamed to {File.2, ..., File.curSizeRollBackups}. Moreover, File is renamed File.1 and closed.

A new file is created to receive further log output.

If maxSizeRollBackups is equal to zero, then the File is truncated with no backup files created.

If maxSizeRollBackups < 0, then File is renamed if needed and no files are deleted.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Info_overload_2.html0000644000175000017500000000647710412737546024711 0ustar slomoslomo LogImpl.Info Method (Object)
log4net SDK Reference

LogImpl.Info Method (Object)

Logs a message object with the INFO level.

[Visual Basic]
Overridable Overloads Public Sub Info( _
   ByVal message As Object _
) _
    Implements ILog.Info
[C#]
public virtual void Info(
   object message
);

Parameters

message
The message object to log.

Implements

ILog.Info

Remarks

This method first checks if this logger is INFO enabled by comparing the level of this logger with the INFO level. If this logger is INFO enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Info form instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Info Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.Shutdown.html0000644000175000017500000000502210412737556027256 0ustar slomoslomo Hierarchy.Shutdown Method
log4net SDK Reference

Hierarchy.Shutdown Method 

Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.

[Visual Basic]
Overrides Public Sub Shutdown() _
    Implements ILoggerRepository.Shutdown
[C#]
public override void Shutdown();

Implements

ILoggerRepository.Shutdown

Remarks

Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The Shutdown 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.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventFields.html0000644000175000017500000000456510412737544024051 0ustar slomoslomo LoggingEvent Fields
log4net SDK Reference

LoggingEvent Fields

The fields of the LoggingEvent class are listed below. For a complete list of LoggingEvent class members, see the LoggingEvent Members topic.

Public Static (Shared) Fields

HostNameProperty The key into the Properties map for the host name value.
IdentityProperty The key into the Properties map for the thread identity value.
UserNameProperty The key into the Properties map for the user name value.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.IXmlRepositoryConfigurator.html0000644000175000017500000000552610412737554027154 0ustar slomoslomo IXmlRepositoryConfigurator Interface
log4net SDK Reference

IXmlRepositoryConfigurator Interface

Configure repository using XML

For a list of all members of this type, see IXmlRepositoryConfigurator Members.

[Visual Basic]
Public Interface IXmlRepositoryConfigurator
[C#]
public interface IXmlRepositoryConfigurator

Types that implement IXmlRepositoryConfigurator

Type Description
Hierarchy Hierarchical organization of loggers

Remarks

Interface used by Xml configurator to configure a ILoggerRepository.

A ILoggerRepository should implement this interface to support configuration by the XmlConfigurator.

Requirements

Namespace: log4net.Repository

Assembly: log4net (in log4net.dll)

See Also

IXmlRepositoryConfigurator Members | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.ImpersonationMode.html0000644000175000017500000000447210412737564030540 0ustar slomoslomo WindowsSecurityContext.ImpersonationMode Enumeration
log4net SDK Reference

WindowsSecurityContext.ImpersonationMode Enumeration

The impersonation modes for the WindowsSecurityContext

[Visual Basic]
Public Enum WindowsSecurityContext.ImpersonationMode
[C#]
public enum WindowsSecurityContext.ImpersonationMode

Remarks

See the Credentials property for details.

Members

Member NameDescription
User Impersonate a user using the credentials supplied
Process Revert this the thread to the credentials of the process

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMapConstructor.html0000644000175000017500000000422310412737546024647 0ustar slomoslomo WrapperMap Constructor
log4net SDK Reference

WrapperMap Constructor 

Initializes a new instance of the WrapperMap

[Visual Basic]
Public Sub New( _
   ByVal createWrapperHandler As WrapperCreationHandler _
)
[C#]
public WrapperMap(
   WrapperCreationHandler createWrapperHandler
);

Parameters

createWrapperHandler
The handler to use to create the wrapper objects.

Remarks

Initializes a new instance of the WrapperMap class with the specified handler to create the wrapper objects.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppenderProperties.html0000644000175000017500000001510310412737534027457 0ustar slomoslomo SmtpPickupDirAppender Properties
log4net SDK Reference

SmtpPickupDirAppender Properties

The properties of the SmtpPickupDirAppender class are listed below. For a complete list of SmtpPickupDirAppender class members, see the SmtpPickupDirAppender Members topic.

Public Instance Properties

BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
From Gets or sets the e-mail address of the sender.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
PickupDir Gets or sets the path to write the messages to.
SecurityContext Gets or sets the SecurityContext used to write to the pickup directory.
Subject Gets or sets the subject line of the e-mail message.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
To Gets or sets a semicolon-delimited list of recipient e-mail addresses.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.IFilterMembers.html0000644000175000017500000000403510412737546023532 0ustar slomoslomo IFilter Members
log4net SDK Reference

IFilter Members

IFilter overview

Public Instance Properties

Next Property to get and set the next filter

Public Instance Methods

Decide Decide if the logging event should be logged through an appender.

See Also

IFilter Interface | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMapMethods.html0000644000175000017500000001310210412737552026051 0ustar slomoslomo RendererMap Methods
log4net SDK Reference

RendererMap Methods

The methods of the RendererMap class are listed below. For a complete list of RendererMap class members, see the RendererMap Members topic.

Public Instance Methods

Clear Clear the map of renderers
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FindAndRenderOverloaded. Render obj using the appropriate renderer.
GetOverloaded. Gets the renderer for the specified object type
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Put Register an IObjectRenderer for typeToRender.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawUtcTimeStampLayoutConstructor.html0000644000175000017500000000340210412737552027400 0ustar slomoslomo RawUtcTimeStampLayout Constructor
log4net SDK Reference

RawUtcTimeStampLayout Constructor 

Constructs a RawUtcTimeStampLayout

[Visual Basic]
Public Sub New()
[C#]
public RawUtcTimeStampLayout();

Remarks

Missing <remarks> documentation for M:log4net.Layout.RawUtcTimeStampLayout.#ctor

See Also

RawUtcTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.ActivateOptions.html0000644000175000017500000000471110412737534030520 0ustar slomoslomo SmtpPickupDirAppender.ActivateOptions Method
log4net SDK Reference

SmtpPickupDirAppender.ActivateOptions Method 

Activate the options on this appender.

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.SimpleDateFormatterMembers.html0000644000175000017500000001260510412737546027425 0ustar slomoslomo SimpleDateFormatter Members
log4net SDK Reference

SimpleDateFormatter Members

SimpleDateFormatter overview

Public Instance Constructors

SimpleDateFormatter Constructor Constructor

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate Formats the date using ToString.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SimpleDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerProperties.html0000644000175000017500000000723310412737556027030 0ustar slomoslomo Logger Properties
log4net SDK Reference

Logger Properties

The properties of the Logger class are listed below. For a complete list of Logger class members, see the Logger Members topic.

Public Instance Properties

Additivity Gets or sets a value indicating if child loggers inherit their parent's appenders.
Appenders Get the appenders contained in this logger as an ICollection.
EffectiveLevel Gets the effective level for this logger.
Hierarchy Gets or sets the Hierarchy where this Logger instance is attached to.
Level Gets or sets the assigned Level, if any, for this Logger.
Name Gets the logger name.
Parent Gets or sets the parent logger in the hierarchy.
Repository Gets the ILoggerRepository where this Logger instance is attached to.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumeratorProperties.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumeratorProperties.htm0000644000175000017500000000414010412737542032536 0ustar slomoslomo LevelCollection.ILevelCollectionEnumerator Properties
log4net SDK Reference

LevelCollection.ILevelCollectionEnumerator Properties

The properties of the LevelCollection.ILevelCollectionEnumerator interface are listed below. For a complete list of LevelCollection.ILevelCollectionEnumerator interface members, see the LevelCollection.ILevelCollectionEnumerator Members topic.

Public Instance Properties

Current Gets the current element in the collection.

See Also

LevelCollection.ILevelCollectionEnumerator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppenderMethods.html0000644000175000017500000002054210412737530025527 0ustar slomoslomo NetSendAppender Methods
log4net SDK Reference

NetSendAppender Methods

The methods of the NetSendAppender class are listed below. For a complete list of NetSendAppender class members, see the NetSendAppender Members topic.

Protected Static (Shared) Methods

NetMessageBufferSend Sends a buffer of information to a registered message alias.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.ParameterName.html0000644000175000017500000000411010412737520030366 0ustar slomoslomo ParameterName Property
log4net SDK Reference

AdoNetAppenderParameter.ParameterName Property

Gets or sets the name of this parameter.

[Visual Basic]
Public Property ParameterName As String
[C#]
public string ParameterName {get; set;}

Property Value

The name of this parameter.

Remarks

The name of this parameter. The parameter name must match up to a named parameter to the SQL stored procedure or prepared statement.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPluginFactoryMembers.html0000644000175000017500000000333010412737552025076 0ustar slomoslomo IPluginFactory Members
log4net SDK Reference

IPluginFactory Members

IPluginFactory overview

Public Instance Methods

CreatePlugin Creates the plugin object.

See Also

IPluginFactory Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilter.AcceptOnMatch.html0000644000175000017500000000471610412737550026524 0ustar slomoslomo AcceptOnMatch Property
log4net SDK Reference

LevelRangeFilter.AcceptOnMatch Property

Accept when matching LevelMin and LevelMax

[Visual Basic]
Public Property AcceptOnMatch As Boolean
[C#]
public bool AcceptOnMatch {get; set;}

Remarks

The AcceptOnMatch property is a flag that determines the behavior when a matching Level is found. If the flag is set to true then the filter will Accept the logging event, otherwise it will Neutral the event.

The default is true i.e. to Accept the event.

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.CopyTo_overload_2.html0000644000175000017500000000500010412737554027464 0ustar slomoslomo PluginCollection.CopyTo Method (IPlugin[])
log4net SDK Reference

PluginCollection.CopyTo Method (IPlugin[])

Copies the entire PluginCollection to a one-dimensional IPlugin array.

[Visual Basic]
Overridable Overloads Public Sub CopyTo( _
   ByVal array As IPlugin() _
)
[C#]
public virtual void CopyTo(
   IPlugin[] array
);

Parameters

array
The one-dimensional IPlugin array to copy to.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[])

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection.CopyTo Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.html0000644000175000017500000001563110412737520024017 0ustar slomoslomo AdoNetAppender Class
log4net SDK Reference

AdoNetAppender Class

Appender that logs to a database.

For a list of all members of this type, see AdoNetAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.BufferingAppenderSkeleton
         log4net.Appender.AdoNetAppender

[Visual Basic]
Public Class AdoNetAppender
    Inherits BufferingAppenderSkeleton
[C#]
public class AdoNetAppender : BufferingAppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

AdoNetAppender appends logging events to a table within a database. The appender can be configured to specify the connection string by setting the ConnectionString property. The connection type (provider) can be specified by setting the ConnectionType property. For more information on database connection strings for your specific database see http://www.connectionstrings.com/.

Records are written into the database either using a prepared statement or a stored procedure. The CommandType property is set to Text (System.Data.CommandType.Text) to specify a prepared statement or to StoredProcedure (System.Data.CommandType.StoredProcedure) to specify a stored procedure.

The prepared statement text or the name of the stored procedure must be set in the CommandText property.

The prepared statement or stored procedure can take a number of parameters. Parameters are added using the AddParameter method. This adds a single AdoNetAppenderParameter to the ordered list of parameters. The AdoNetAppenderParameter type may be subclassed if required to provide database specific functionality. The AdoNetAppenderParameter specifies the parameter name, database type, size, and how the value should be generated using a ILayout.

Example

An example of a SQL Server table that could be logged to:

[SQL]
CREATE TABLE [dbo].[Log] ( 
  [ID] [int] IDENTITY (1, 1) NOT NULL ,
  [Date] [datetime] NOT NULL ,
  [Thread] [varchar] (255) NOT NULL ,
  [Level] [varchar] (20) NOT NULL ,
  [Logger] [varchar] (255) NOT NULL ,
  [Message] [varchar] (4000) NOT NULL 
) ON [PRIMARY]
An example configuration to log to the above table:
[XML]
<appender name="AdoNetAppender_SqlServer" type="log4net.Appender.AdoNetAppender">
  <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  <connectionString value="data source=SQLSVR;initial catalog=test_log4net;integrated security=false;persist security info=True;User ID=sa;Password=sa" />
  <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)" />
  <parameter>
    <parameterName value="@log_date" />
    <dbType value="DateTime" />
    <layout type="log4net.Layout.PatternLayout" value="%date{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}" />
  </parameter>
  <parameter>
    <parameterName value="@thread" />
    <dbType value="String" />
    <size value="255" />
    <layout type="log4net.Layout.PatternLayout" value="%thread" />
  </parameter>
  <parameter>
    <parameterName value="@log_level" />
    <dbType value="String" />
    <size value="50" />
    <layout type="log4net.Layout.PatternLayout" value="%level" />
  </parameter>
  <parameter>
    <parameterName value="@logger" />
    <dbType value="String" />
    <size value="255" />
    <layout type="log4net.Layout.PatternLayout" value="%logger" />
  </parameter>
  <parameter>
    <parameterName value="@message" />
    <dbType value="String" />
    <size value="4000" />
    <layout type="log4net.Layout.PatternLayout" value="%message" />
  </parameter>
</appender>

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

AdoNetAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4jProperties.html0000644000175000017500000000762210412737552026747 0ustar slomoslomo XmlLayoutSchemaLog4j Properties
log4net SDK Reference

XmlLayoutSchemaLog4j Properties

The properties of the XmlLayoutSchemaLog4j class are listed below. For a complete list of XmlLayoutSchemaLog4j class members, see the XmlLayoutSchemaLog4j Members topic.

Public Instance Properties

ContentType (inherited from XmlLayoutBase) Gets the content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions
InvalidCharReplacement (inherited from XmlLayoutBase) The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

LocationInfo (inherited from XmlLayoutBase) Gets a value indicating whether to include location information in the XML events.
Version The version of the log4j schema to use.

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.ReloadLevels.html0000644000175000017500000000422410412737546024247 0ustar slomoslomo LogImpl.ReloadLevels Method
log4net SDK Reference

LogImpl.ReloadLevels Method 

Virtual method called when the configuration of the repository changes

[Visual Basic]
Overridable Protected Sub ReloadLevels( _
   ByVal repository As ILoggerRepository _
)
[C#]
protected virtual void ReloadLevels(
   ILoggerRepository repository
);

Parameters

repository
the repository holding the levels

Remarks

Virtual method called when the configuration of the repository changes

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttributeConstructor1.html0000644000175000017500000000475010412737540026310 0ustar slomoslomo PluginAttribute Constructor (String)
log4net SDK Reference

PluginAttribute Constructor (String)

Initializes a new instance of the PluginAttribute class with the specified type.

[Visual Basic]
Overloads Public Sub New( _
   ByVal typeName As String _
)
[C#]
public PluginAttribute(
   string typeName
);

Parameters

typeName
The type name of plugin to create.

Remarks

Create the attribute with the plugin type specified.

Where possible use the constructor that takes a Type.

See Also

PluginAttribute Class | log4net.Config Namespace | PluginAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.ITriggeringEventEvaluatorMembers.html0000644000175000017500000000346110412737542026734 0ustar slomoslomo ITriggeringEventEvaluator Members
log4net SDK Reference

ITriggeringEventEvaluator Members

ITriggeringEventEvaluator overview

Public Instance Methods

IsTriggeringEvent Test if this event triggers the action

See Also

ITriggeringEventEvaluator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLock.CloseFile.html0000644000175000017500000000337210412737526030154 0ustar slomoslomo FileAppender.ExclusiveLock.CloseFile Method
log4net SDK Reference

FileAppender.ExclusiveLock.CloseFile Method 

Close the file

[Visual Basic]
Overrides Public Sub CloseFile()
[C#]
public override void CloseFile();

Remarks

Close the file. No further writes will be made.

See Also

FileAppender.ExclusiveLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.AddParameter.html0000644000175000017500000000420510412737520026342 0ustar slomoslomo AdoNetAppender.AddParameter Method
log4net SDK Reference

AdoNetAppender.AddParameter Method 

Adds a parameter to the command.

[Visual Basic]
Public Sub AddParameter( _
   ByVal parameter As AdoNetAppenderParameter _
)
[C#]
public void AddParameter(
   AdoNetAppenderParameter parameter
);

Parameters

parameter
The parameter to add to the command.

Remarks

Adds a parameter to the ordered list of command parameters.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.DeleteFile.html0000644000175000017500000000453310412737532027056 0ustar slomoslomo RollingFileAppender.DeleteFile Method
log4net SDK Reference

RollingFileAppender.DeleteFile Method 

Deletes the specified file if it exists.

[Visual Basic]
Protected Sub DeleteFile( _
   ByVal fileName As String _
)
[C#]
protected void DeleteFile(
   string fileName
);

Parameters

fileName
The file to delete.

Remarks

Delete a file if is exists. The file is first moved to a new filename then deleted. This allows the file to be removed even when it cannot be deleted, but it still can be moved.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.ResetConfiguration.html0000644000175000017500000000521610412737556031262 0ustar slomoslomo Hierarchy.ResetConfiguration Method
log4net SDK Reference

Hierarchy.ResetConfiguration Method 

Reset all values contained in this hierarchy instance to their default.

[Visual Basic]
Overrides Public Sub ResetConfiguration() _
    Implements ILoggerRepository.ResetConfiguration
[C#]
public override void ResetConfiguration();

Implements

ILoggerRepository.ResetConfiguration

Remarks

Reset all values contained in this hierarchy instance to their default. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set its default "off" value.

Existing loggers are not removed. They are just reset.

This method should be used sparingly and with care as it will block all logging until it is completed.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventProperties.html0000644000175000017500000001200310412737544024761 0ustar slomoslomo LoggingEvent Properties
log4net SDK Reference

LoggingEvent Properties

The properties of the LoggingEvent class are listed below. For a complete list of LoggingEvent class members, see the LoggingEvent Members topic.

Public Static (Shared) Properties

StartTime Gets the time when the current process started.

Public Instance Properties

Domain Gets the AppDomain friendly name.
ExceptionObject Gets the exception object used to initialize this event.
Fix The fixed fields in this event
Identity Gets the identity of the current thread principal.
Level Gets the Level of the logging event.
LocationInformation Gets the location information for this logging event.
LoggerName Gets the name of the logger that logged the event.
MessageObject Gets the message object used to initialize this event.
Properties Additional event specific properties.
RenderedMessage Gets the message, rendered through the RendererMap.
Repository The ILoggerRepository that this event was created in.
ThreadName Gets the name of the current thread.
TimeStamp Gets the time of the logging event.
UserName Gets the name of the current user.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.RequiresLayout.html0000644000175000017500000000412110412737534027071 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

TelnetAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionaryMethods.html0000644000175000017500000001340610412737564027517 0ustar slomoslomo ReadOnlyPropertiesDictionary Methods
log4net SDK Reference

ReadOnlyPropertiesDictionary Methods

The methods of the ReadOnlyPropertiesDictionary class are listed below. For a complete list of ReadOnlyPropertiesDictionary class members, see the ReadOnlyPropertiesDictionary Members topic.

Public Instance Methods

Clear Remove all properties from the properties collection
Contains Test if the dictionary contains a specified key
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetKeys Gets the key names.
GetObjectData Serializes this object into the SerializationInfo provided.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBase.AcquireLock.html0000644000175000017500000000432710412737526031074 0ustar slomoslomo FileAppender.LockingModelBase.AcquireLock Method
log4net SDK Reference

FileAppender.LockingModelBase.AcquireLock Method 

Acquire the lock on the file

[Visual Basic]
MustOverride Public Function AcquireLock() As Stream
[C#]
public abstract Stream AcquireLock();

Return Value

A stream that is ready to be written to.

Remarks

Acquire the lock on the file in preparation for writing to it. Return a stream pointing to the file. ReleaseLock must be called to release the lock on the output file.

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateRepository_overload_3.html0000644000175000017500000000762010412737516027070 0ustar slomoslomo LogManager.CreateRepository Method (String, Type)
log4net SDK Reference

LogManager.CreateRepository Method (String, Type)

Creates a repository with the specified name and repository type.

[Visual Basic]
Overloads Public Shared Function CreateRepository( _
   ByVal repository As String, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateRepository(
   string repository,
   Type repositoryType
);

Parameters

repository
The name of the repository, this must be unique to the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LogManager Class | log4net Namespace | LogManager.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyConstructor.html0000644000175000017500000000434310412737556027717 0ustar slomoslomo Hierarchy Constructor
log4net SDK Reference

Hierarchy Constructor

Default constructor

Overload List

Default constructor

public Hierarchy();

Construct with a logger factory

public Hierarchy(ILoggerFactory);

Construct with properties

public Hierarchy(PropertiesDictionary);

Construct with properties and a logger factory

public Hierarchy(PropertiesDictionary,ILoggerFactory);

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ContextPropertiesBaseConstructor.html0000644000175000017500000000323110412737560027104 0ustar slomoslomo ContextPropertiesBase Constructor
log4net SDK Reference

ContextPropertiesBase Constructor 

Initializes a new instance of the ContextPropertiesBase class.

[Visual Basic]
Protected Sub New()
[C#]
protected ContextPropertiesBase();

See Also

ContextPropertiesBase Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.FormatProvider.html0000644000175000017500000000401210412737564026730 0ustar slomoslomo FormatProvider Property
log4net SDK Reference

TextWriterAdapter.FormatProvider Property

Gets an object that controls formatting

[Visual Basic]
Overrides Public ReadOnly Property FormatProvider As IFormatProvider
[C#]
public override System.IFormatProvider FormatProvider {get;}

Property Value

The format provider

Remarks

Gets an object that controls formatting

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverterConstructor.html0000644000175000017500000000316510412737562026125 0ustar slomoslomo PatternConverter Constructor
log4net SDK Reference

PatternConverter Constructor 

Protected constructor

[Visual Basic]
Protected Sub New()
[C#]
protected PatternConverter();

Remarks

Initializes a new instance of the PatternConverter class.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Error_overloads.html0000644000175000017500000000351510412737560024700 0ustar slomoslomo Error Method
log4net SDK Reference

LogLog.Error Method

Writes log4net internal error messages to the standard error stream.

Overload List

Writes log4net internal error messages to the standard error stream.

public static void Error(string);

Writes log4net internal error messages to the standard error stream.

public static void Error(string,Exception);

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.Append_overloads.html0000644000175000017500000000402410412737530027464 0ustar slomoslomo Append Method
log4net SDK Reference

NetSendAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.RemoveAppender_overloads.html0000644000175000017500000000370010412737556031357 0ustar slomoslomo RemoveAppender Method
log4net SDK Reference

AppenderAttachedImpl.RemoveAppender Method

Removes the specified appender from the list of attached appenders.

Overload List

Removes the specified appender from the list of attached appenders.

public IAppender RemoveAppender(IAppender);

Removes the appender with the specified name from the list of appenders.

public IAppender RemoveAppender(string);

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapterMethods.html0000644000175000017500000001733710412737564025330 0ustar slomoslomo TextWriterAdapter Methods
log4net SDK Reference

TextWriterAdapter Methods

The methods of the TextWriterAdapter class are listed below. For a complete list of TextWriterAdapter class members, see the TextWriterAdapter Members topic.

Public Instance Methods

Close Closes the writer and releases any system resources associated with the writer
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteOverloaded. Writes a string to the wrapped TextWriter
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Methods

Dispose Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelConstructor.html0000644000175000017500000000320410412737542023632 0ustar slomoslomo Level Constructor
log4net SDK Reference

Level Constructor

Constructor

Overload List

Constructor

public Level(int,string);

Constructor

public Level(int,string,string);

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertToMembers.html0000644000175000017500000000404710412737566026720 0ustar slomoslomo IConvertTo Members
log4net SDK Reference

IConvertTo Members

IConvertTo overview

Public Instance Methods

CanConvertTo Returns whether this converter can convert the object to the specified type
ConvertTo Converts the given value object to the specified type, using the arguments

See Also

IConvertTo Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeletonMembers.html0000644000175000017500000001456410412737550025211 0ustar slomoslomo LayoutSkeleton Members
log4net SDK Reference

LayoutSkeleton Members

LayoutSkeleton overview

Public Instance Properties

ContentType The content type output by this layout.
Footer The footer for the layout format.
Header The header for the layout format.
IgnoresException Flag indicating if this layout handles exceptions

Public Instance Methods

ActivateOptions Activate component options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Implement this method to create your own layout format.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

LayoutSkeleton Constructor Empty default constructor

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.SecurityContextProviderAttributeConstructor.html0000644000175000017500000000435710412737540031663 0ustar slomoslomo SecurityContextProviderAttribute Constructor
log4net SDK Reference

SecurityContextProviderAttribute Constructor 

Construct provider attribute with type specified

[Visual Basic]
Public Sub New( _
   ByVal providerType As Type _
)
[C#]
public SecurityContextProviderAttribute(
   Type providerType
);

Parameters

providerType
the type of the provider to use

Remarks

The provider specified must subclass the SecurityContextProvider class.

See Also

SecurityContextProviderAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Fatal_overloads.html0000644000175000017500000000417510412737516023375 0ustar slomoslomo Fatal Method
log4net SDK Reference

ILog.Fatal Method

Log a message object with the Fatal level.

Overload List

Log a message object with the Fatal level.

void Fatal(object);

Log a message object with the Fatal level including the stack trace of the Exception passed as a parameter.

void Fatal(object,Exception);

See Also

ILog Interface | log4net Namespace | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.LevelSeverityMembers.html0000644000175000017500000001421710412737530031214 0ustar slomoslomo LocalSyslogAppender.LevelSeverity Members
log4net SDK Reference

LocalSyslogAppender.LevelSeverity Members

LocalSyslogAppender.LevelSeverity overview

Public Instance Constructors

LocalSyslogAppender.LevelSeverity Constructor Initializes a new instance of the LocalSyslogAppender.LevelSeverity class.

Public Instance Properties

Level (inherited from LevelMappingEntry) The level that is the key for this mapping
Severity The mapped syslog severity for the specified level

Public Instance Methods

ActivateOptions (inherited from LevelMappingEntry) Initialize any options defined on this entry
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LocalSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttributeConstructor.html0000644000175000017500000000421610412737566032312 0ustar slomoslomo TypeConverterAttribute Constructor
log4net SDK Reference

TypeConverterAttribute Constructor

Default constructor

Overload List

Default constructor

public TypeConverterAttribute();

Create a new type converter attribute for the specified type name

public TypeConverterAttribute(string);

Create a new type converter attribute for the specified type

public TypeConverterAttribute(Type);

See Also

TypeConverterAttribute Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.GetLogger.html0000644000175000017500000000471410412737554027124 0ustar slomoslomo ILoggerRepository.GetLogger Method
log4net SDK Reference

ILoggerRepository.GetLogger Method 

Returns a named logger instance

[Visual Basic]
Function GetLogger( _
   ByVal name As String _
) As ILogger
[C#]
ILogger GetLogger(
   string name
);

Parameters

name
The name of the logger to retrieve

Return Value

The logger object with the name specified

Remarks

Returns a named logger instance.

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.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Append_overload_1.html0000644000175000017500000000476210412737522027757 0ustar slomoslomo AppenderSkeleton.Append Method (LoggingEvent[])
log4net SDK Reference

AppenderSkeleton.Append Method (LoggingEvent[])

Append a bulk array of logging events.

[Visual Basic]
Overridable Overloads Protected Sub Append( _
   ByVal loggingEvents As LoggingEvent() _
)
[C#]
protected virtual void Append(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
the array of logging events

Remarks

This base class implementation calls the Append method for each element in the bulk array.

A sub class that can better process a bulk array of events should override this method in addition to Append.

See Also

AppenderSkeleton Class | log4net.Appender Namespace | AppenderSkeleton.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.IsSynchronized.html0000644000175000017500000000527410412737542026363 0ustar slomoslomo IsSynchronized Property
log4net SDK Reference

LevelCollection.IsSynchronized Property

Gets a value indicating whether access to the collection is synchronized (thread-safe).

[Visual Basic]
Overridable Public ReadOnly Property IsSynchronized As Boolean _
    Implements ICollection.IsSynchronized
[C#]
public virtual bool IsSynchronized {get;}

Property Value

true if access to the ICollection is synchronized (thread-safe); otherwise, false.

Implements

ICollection.IsSynchronized

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.IsSynchronized

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Warn.html0000644000175000017500000000350510412737542022276 0ustar slomoslomo Level.Warn Field
log4net SDK Reference

Level.Warn Field

The Warn level designates potentially harmful situations.

[Visual Basic]
Public Shared ReadOnly Warn As Level
[C#]
public static readonly Level Warn;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Warn

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventMethods.html0000644000175000017500000001613010412737544024235 0ustar slomoslomo LoggingEvent Methods
log4net SDK Reference

LoggingEvent Methods

The methods of the LoggingEvent class are listed below. For a complete list of LoggingEvent class members, see the LoggingEvent Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FixVolatileDataOverloaded. Fix instance fields that hold volatile data.
GetExceptionString Returns this event's exception's rendered using the RendererMap.
GetExceptionStrRepObsolete. Returns this event's exception's rendered using the RendererMap.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLoggingEventDataOverloaded. Gets the portable data for this LoggingEvent.
GetObjectData Serializes this object into the SerializationInfo provided.
GetProperties Get all the composite properties in this event
GetType (inherited from Object) Gets the Type of the current instance.
LookupProperty Lookup a composite property in this event
ToString (inherited from Object) Returns a String that represents the current Object.
WriteRenderedMessage Write the rendered message to a TextWriter

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FixVolatileDataOverloaded. Fix the fields specified by the FixFlags parameter
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.html0000644000175000017500000000512110412737552022324 0ustar slomoslomo log4net.ObjectRenderer
log4net SDK Reference

log4net.ObjectRenderer Namespace

Message object to string renderer framework.

Namespace hierarchy

Classes

Class Description
DefaultRenderer The default object Renderer.
RendererMap Map class objects to an IObjectRenderer.

Interfaces

Interface Description
IObjectRenderer Implement this interface in order to render objects as strings

log4net-1.2.10/doc/release/sdk/log4net.Util.GlobalContextProperties.Item.html0000644000175000017500000000516710412737560026073 0ustar slomoslomo Item Property
log4net SDK Reference

GlobalContextProperties.Item Property

Gets or sets the value of a property

[Visual Basic]
Overrides Public Default Property Item( _
   ByVal key As String _
) As Object
[C#]
public override object this[
   string key
] {get; set;}

Parameters

key
Missing <param> documentation for key

Property Value

The value for the property with the specified key

Remarks

Reading the value for a key is faster than setting the value. When the value is written a new read only copy of the properties is created.

See Also

GlobalContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.Remove.html0000644000175000017500000000411210412737520021261 0ustar slomoslomo NDC.Remove Method
log4net SDK Reference

NDC.Remove Method 

Removes the context information for this thread. It is not required to call this method.

[Visual Basic]
Public Shared Sub Remove()
[C#]
public static void Remove();

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

This method is not implemented.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawTimeStampLayout.Format.html0000644000175000017500000000603410412737552025711 0ustar slomoslomo RawTimeStampLayout.Format Method
log4net SDK Reference

RawTimeStampLayout.Format Method 

Gets the TimeStamp as a DateTime.

[Visual Basic]
Overridable Public Function Format( _
   ByVal loggingEvent As LoggingEvent _
) As Object _
    Implements IRawLayout.Format
[C#]
public virtual object Format(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to format

Return Value

returns the time stamp

Implements

IRawLayout.Format

Remarks

Gets the TimeStamp as a DateTime.

The time stamp is in local time. To format the time stamp in universal time use RawUtcTimeStampLayout.

See Also

RawTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.Append_overloads.html0000644000175000017500000000405110412737526027010 0ustar slomoslomo Append Method
log4net SDK Reference

FileAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

This method is called by the DoAppend method.

protected override void Append(LoggingEvent[]);

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternStringMembers.html0000644000175000017500000001402710412737562024470 0ustar slomoslomo PatternString Members
log4net SDK Reference

PatternString Members

PatternString overview

Public Instance Constructors

PatternString Overloaded. Initializes a new instance of the PatternString class.

Public Instance Properties

ConversionPattern Gets or sets the pattern formatting string

Public Instance Methods

ActivateOptions Initialize object options
AddConverterOverloaded. Add a converter to this PatternString
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatOverloaded. Produces a formatted string as specified by the conversion pattern.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverterMethods.html0000644000175000017500000001301110412737562025025 0ustar slomoslomo OptionConverter Methods
log4net SDK Reference

OptionConverter Methods

The methods of the OptionConverter class are listed below. For a complete list of OptionConverter class members, see the OptionConverter Members topic.

Public Static (Shared) Methods

CanConvertTypeTo Checks if there is an appropriate type conversion from the source type to the target type.
ConvertStringTo Converts a string to an object.
ConvertTypeTo Converts an object to the target type.
InstantiateByClassName Instantiates an object given a class name.
SubstituteVariables Performs variable substitution in string val from the values of keys found in props.
ToBoolean Converts a string to a Boolean value.
ToFileSize Parses a file size into a number.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ThreadContextMembers.html0000644000175000017500000000763610412737520023526 0ustar slomoslomo ThreadContext Members
log4net SDK Reference

ThreadContext Members

ThreadContext overview

Public Static (Shared) Properties

Properties The thread properties map
Stacks The thread stacks

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ThreadContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.ActivateOptions.html0000644000175000017500000000754410412737536026523 0ustar slomoslomo UdpAppender.ActivateOptions Method
log4net SDK Reference

UdpAppender.ActivateOptions Method 

Initialize the appender based on the options set.

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

The appender will be ignored if no RemoteAddress was specified or an invalid remote or local TCP port number was specified.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThe required property RemoteAddress was not specified.
ArgumentOutOfRangeExceptionThe TCP port number assigned to LocalPort or RemotePort is less than MinPort or greater than MaxPort.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.AliasRepository.html0000644000175000017500000000676510412737540030647 0ustar slomoslomo DefaultRepositorySelector.AliasRepository Method
log4net SDK Reference

DefaultRepositorySelector.AliasRepository Method 

Aliases a repository to an existing repository.

[Visual Basic]
Public Sub AliasRepository( _
   ByVal repositoryAlias As String, _
   ByVal repositoryTarget As ILoggerRepository _
)
[C#]
public void AliasRepository(
   string repositoryAlias,
   ILoggerRepository repositoryTarget
);

Parameters

repositoryAlias
The repository to alias.
repositoryTarget
The repository that the repository is aliased to.

Remarks

The repository specified will be aliased to the repository when created. The repository must not already exist.

When the repository is created it must utilize the same repository type as the repository it is aliased to, otherwise the aliasing will fail.

Exceptions

Exception TypeCondition
ArgumentNullException

repositoryAlias is a null reference (Nothing in Visual Basic).

-or-

repositoryTarget is a null reference (Nothing in Visual Basic).

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILoggerProperties.html0000644000175000017500000000407310412737540023725 0ustar slomoslomo ILogger Properties
log4net SDK Reference

ILogger Properties

The properties of the ILogger interface are listed below. For a complete list of ILogger interface members, see the ILogger Members topic.

Public Instance Properties

Name Gets the name of the logger.
Repository Gets the ILoggerRepository where this Logger instance is attached to.

See Also

ILogger Interface | log4net.Core Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.CreateRepository_overloads.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.CreateRepository_overloads.htm0000644000175000017500000000371010412737540032710 0ustar slomoslomo CreateRepository Method
log4net SDK Reference

CompactRepositorySelector.CreateRepository Method

Create a new repository for the assembly specified

Overload List

Create a new repository for the assembly specified

public ILoggerRepository CreateRepository(Assembly,Type);

Create a new repository for the repository specified

public ILoggerRepository CreateRepository(string,Type);

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overload_1.html0000644000175000017500000000503610412737556027605 0ustar slomoslomo Logger.Log Method (LoggingEvent)
log4net SDK Reference

Logger.Log Method (LoggingEvent)

This is the most generic printing method that is intended to be used by wrappers.

[Visual Basic]
Overridable Overloads Public Sub Log( _
   ByVal logEvent As LoggingEvent _
) _
    Implements ILogger.Log
[C#]
public virtual void Log(
   LoggingEvent logEvent
);

Parameters

logEvent
The event being logged.

Implements

ILogger.Log

Remarks

Logs the specified logging event through this logger.

This method must not throw any exception to the caller.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.Log Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextProviderMethods.html0000644000175000017500000001167610412737546026550 0ustar slomoslomo SecurityContextProvider Methods
log4net SDK Reference

SecurityContextProvider Methods

The methods of the SecurityContextProvider class are listed below. For a complete list of SecurityContextProvider class members, see the SecurityContextProvider Members topic.

Public Instance Methods

CreateSecurityContext Create a SecurityContext for a consumer
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SecurityContextProvider Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDCMethods.html0000644000175000017500000001207410412737520021357 0ustar slomoslomo NDC Methods
log4net SDK Reference

NDC Methods

The methods of the NDC class are listed below. For a complete list of NDC class members, see the NDC Members topic.

Public Static (Shared) Methods

Clear Clears all the contextual information held on the current thread.
CloneStack Creates a clone of the stack of context information.
Inherit Inherits the contextual information from another thread.
Pop Removes the top context from the stack.
Push Pushes a new context message.
Remove Removes the context information for this thread. It is not required to call this method.
SetMaxDepth Forces the stack depth to be at most maxDepth.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.MoveNext.html0000644000175000017500000000527010412737562027117 0ustar slomoslomo NullDictionaryEnumerator.MoveNext Method
log4net SDK Reference

NullDictionaryEnumerator.MoveNext Method 

Test if the enumerator can advance, if so advance.

[Visual Basic]
NotOverridable Public Function MoveNext() As Boolean _
    Implements IEnumerator.MoveNext
[C#]
public bool MoveNext();

Return Value

false as the NullDictionaryEnumerator cannot advance.

Implements

IEnumerator.MoveNext

Remarks

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore MoveNext will always return false.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.FatalFormat_overloads.html0000644000175000017500000000554210412737516024545 0ustar slomoslomo FatalFormat Method
log4net SDK Reference

ILog.FatalFormat Method

Log a formatted message string with the Fatal level.

Overload List

Logs a formatted message string with the Fatal level.

void FatalFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the Fatal level.

void FatalFormat(string,object);

Logs a formatted message string with the Fatal level.

void FatalFormat(string,object,object);

Logs a formatted message string with the Fatal level.

void FatalFormat(string,object,object,object);

Logs a formatted message string with the Fatal level.

void FatalFormat(string,params object[]);

See Also

ILog Interface | log4net Namespace | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.GetRepository_overload_1.html0000644000175000017500000000763210412737540032444 0ustar slomoslomo CompactRepositorySelector.GetRepository Method (String)
log4net SDK Reference

CompactRepositorySelector.GetRepository Method (String)

Get the named ILoggerRepository

[Visual Basic]
NotOverridable Overloads Public Function GetRepository( _
   ByVal repositoryName As String _
) As ILoggerRepository _
    Implements IRepositorySelector.GetRepository
[C#]
public ILoggerRepository GetRepository(
   string repositoryName
);

Parameters

repositoryName
the name of the repository to lookup

Return Value

The named ILoggerRepository

Implements

IRepositorySelector.GetRepository

Remarks

Get the named ILoggerRepository. The default repository is log4net-default-repository. Other repositories must be created using the CreateRepository. If the named repository does not exist an exception is thrown.

Exceptions

Exception TypeCondition
ArgumentNullExceptionthrow if repositoryName is null
LogExceptionthrow if the repositoryName does not exist

See Also

CompactRepositorySelector Class | log4net.Core Namespace | CompactRepositorySelector.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.ConsoleOut.html0000644000175000017500000000420510412737520030316 0ustar slomoslomo AnsiColorTerminalAppender.ConsoleOut Field
log4net SDK Reference

AnsiColorTerminalAppender.ConsoleOut Field

The Target to use when writing to the Console standard output stream.

[Visual Basic]
Public Const ConsoleOut As String = "Console.Out"
[C#]
public const string ConsoleOut = "Console.Out";

Remarks

The Target to use when writing to the Console standard output stream.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_8.html0000644000175000017500000000653510412737536027713 0ustar slomoslomo DOMConfigurator.Configure Method (ILoggerRepository, Stream)
log4net SDK Reference

DOMConfigurator.Configure Method (ILoggerRepository, Stream)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Configures the ILoggerRepository using the specified configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal configStream As Stream _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   Stream configStream
);

Parameters

repository
The repository to configure.
configStream
The stream to load the XML configuration from.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

The configuration data must be valid XML. It must contain at least one element called log4net that holds the configuration data.

Note that this method will NOT close the stream parameter.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfiguratorMethods.html0000644000175000017500000001647310412737556032050 0ustar slomoslomo XmlHierarchyConfigurator Methods
log4net SDK Reference

XmlHierarchyConfigurator Methods

The methods of the XmlHierarchyConfigurator class are listed below. For a complete list of XmlHierarchyConfigurator class members, see the XmlHierarchyConfigurator Members topic.

Public Instance Methods

Configure Configure the hierarchy by parsing a DOM tree of XML elements.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

ConvertStringTo Converts a string value to a target type.
CreateObjectFromXml Creates an object as specified in XML.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindAppenderByReference Parse appenders by IDREF.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
ParseAppender Parses an appender element.
ParseChildrenOfLoggerElement Parses the children of a logger element.
ParseLevel Parses a level element.
ParseLogger Parses a logger element.
ParseRenderer Parses an object renderer.
ParseRoot Parses the root logger element.
SetParameter Sets a parameter on an object.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.ILoggerFactoryMethods.html0000644000175000017500000000373010412737556027736 0ustar slomoslomo ILoggerFactory Methods
log4net SDK Reference

ILoggerFactory Methods

The methods of the ILoggerFactory interface are listed below. For a complete list of ILoggerFactory interface members, see the ILoggerFactory Members topic.

Public Instance Methods

CreateLogger Create a new Logger instance

See Also

ILoggerFactory Interface | log4net.Repository.Hierarchy Namespace


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.ConfigurationChanged.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.ConfigurationChanged.html0000644000175000017500000000431510412737554032717 0ustar slomoslomo LoggerRepositorySkeleton.ConfigurationChanged Event
log4net SDK Reference

LoggerRepositorySkeleton.ConfigurationChanged Event

Event to notify that the repository has had its configuration changed.

[Visual Basic]
Public Event ConfigurationChanged As LoggerRepositoryConfigurationChangedEventHandler
[C#]
public event LoggerRepositoryConfigurationChangedEventHandler ConfigurationChanged;

Implements

ILoggerRepository.ConfigurationChanged

Remarks

Event raised when the repository's configuration has been changed.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.m_acceptOnMatch.html0000644000175000017500000000410310412737550027265 0ustar slomoslomo StringMatchFilter.m_acceptOnMatch Field
log4net SDK Reference

StringMatchFilter.m_acceptOnMatch Field

Flag to indicate the behavior when we have a match

[Visual Basic]
Protected m_acceptOnMatch As Boolean
[C#]
protected bool m_acceptOnMatch;

Remarks

Missing <remarks> documentation for F:log4net.Filter.StringMatchFilter.m_acceptOnMatch

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionConstructor3.html0000644000175000017500000000474010412737522027272 0ustar slomoslomo AppenderCollection Constructor (AppenderCollection)
log4net SDK Reference

AppenderCollection Constructor (AppenderCollection)

Initializes a new instance of the AppenderCollection class that contains elements copied from the specified AppenderCollection.

[Visual Basic]
Overloads Public Sub New( _
   ByVal c As AppenderCollection _
)
[C#]
public AppenderCollection(
   AppenderCollection c
);

Parameters

c
The AppenderCollection whose elements are copied to the new collection.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection)

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfiguratorMembers.html0000644000175000017500000001727010412737556032033 0ustar slomoslomo XmlHierarchyConfigurator Members
log4net SDK Reference

XmlHierarchyConfigurator Members

XmlHierarchyConfigurator overview

Public Instance Constructors

XmlHierarchyConfigurator Constructor Construct the configurator for a hierarchy

Public Instance Methods

Configure Configure the hierarchy by parsing a DOM tree of XML elements.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

ConvertStringTo Converts a string value to a target type.
CreateObjectFromXml Creates an object as specified in XML.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindAppenderByReference Parse appenders by IDREF.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
ParseAppender Parses an appender element.
ParseChildrenOfLoggerElement Parses the children of a logger element.
ParseLevel Parses a level element.
ParseLogger Parses a logger element.
ParseRenderer Parses an object renderer.
ParseRoot Parses the root logger element.
SetParameter Sets a parameter on an object.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ShutdownRepository_overload_2.html0000644000175000017500000000550410412737520027471 0ustar slomoslomo LogManager.ShutdownRepository Method (String)
log4net SDK Reference

LogManager.ShutdownRepository Method (String)

Shuts down the repository for the repository specified.

[Visual Basic]
Overloads Public Shared Sub ShutdownRepository( _
   ByVal repository As String _
)
[C#]
public static void ShutdownRepository(
   string repository
);

Parameters

repository
The repository to shutdown.

Remarks

Calling this method will safely close and remove all appenders in all the loggers including root contained in the repository specified.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The shutdown 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.

See Also

LogManager Class | log4net Namespace | LogManager.ShutdownRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManager.Exists_overloads.html0000644000175000017500000000371410412737516025005 0ustar slomoslomo Exists Method
log4net SDK Reference

LogManager.Exists Method

Returns the named logger if it exists.

Overload List

Returns the named logger if it exists.

public static ILog Exists(Assembly,string);

Returns the named logger if it exists.

public static ILog Exists(string);

Returns the named logger if it exists.

public static ILog Exists(string,string);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeletonConstructor.html0000644000175000017500000000420610412737522030525 0ustar slomoslomo BufferingAppenderSkeleton Constructor
log4net SDK Reference

BufferingAppenderSkeleton Constructor

Initializes a new instance of the BufferingAppenderSkeleton class.

Overload List

Initializes a new instance of the BufferingAppenderSkeleton class.

protected BufferingAppenderSkeleton();

Initializes a new instance of the BufferingAppenderSkeleton class.

protected BufferingAppenderSkeleton(bool);

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppenderMembers.html0000644000175000017500000003126310412737534026305 0ustar slomoslomo TextWriterAppender Members
log4net SDK Reference

TextWriterAppender Members

TextWriterAppender overview

Public Instance Constructors

TextWriterAppender Overloaded. Initializes a new instance of the TextWriterAppender class.

Public Instance Properties

ErrorHandler Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush Gets or set whether the appender will flush at the end of each append operation.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
Writer Sets the TextWriter where the log output will go.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

QuietWriter Gets or sets the QuietTextWriter where logging events will be written to.
RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

AppendOverloaded. This method is called by the DoAppend method.
CloseWriter Closes the underlying TextWriter.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Close this appender instance. The underlying stream or writer is also closed.
PreAppendCheck This method determines if there is a sense in attempting to append.
PrepareWriter Called to allow a subclass to lazily initialize the writer
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
Reset Clears internal references to the underlying TextWriter and other variables.
WriteFooter Writes a footer as produced by the embedded layout's Footer property.
WriteFooterAndCloseWriter Writes the footer and closes the underlying TextWriter.
WriteHeader Writes a header produced by the embedded layout's Header property.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionMembers.html0000644000175000017500000002552610412737542024726 0ustar slomoslomo LevelCollection Members
log4net SDK Reference

LevelCollection Members

LevelCollection overview

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a LevelCollection instance.

Public Instance Constructors

LevelCollection Overloaded. Initializes a new instance of the LevelCollection class.

Public Instance Properties

Capacity Gets or sets the number of elements the LevelCollection can contain.
Count Gets the number of elements actually contained in the LevelCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the Level at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Public Instance Methods

Add Adds a Level to the end of the LevelCollection.
AddRangeOverloaded. Adds the elements of a Level collection to the current LevelCollection.
Clear Removes all elements from the LevelCollection.
Clone Creates a shallow copy of the LevelCollection.
Contains Determines whether a given Level is in the LevelCollection.
CopyToOverloaded. Copies the entire LevelCollection to a one-dimensional Level array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the LevelCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a Level in the LevelCollection.
Insert Inserts an element into the LevelCollection at the specified index.
Remove Removes the first occurrence of a specific Level from the LevelCollection.
RemoveAt Removes the element at the specified index of the LevelCollection.
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Protected Internal Instance Constructors

LevelCollection Overloaded. Initializes a new instance of the LevelCollection class.

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.Log4NetConfigurationSectionHandler.html0000644000175000017500000000707410412737536027475 0ustar slomoslomo Log4NetConfigurationSectionHandler Class
log4net SDK Reference

Log4NetConfigurationSectionHandler Class

Class to register for the log4net section of the configuration file

For a list of all members of this type, see Log4NetConfigurationSectionHandler Members.

System.Object
   log4net.Config.Log4NetConfigurationSectionHandler

[Visual Basic]
Public Class Log4NetConfigurationSectionHandler
    Implements IConfigurationSectionHandler
[C#]
public class Log4NetConfigurationSectionHandler : IConfigurationSectionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The log4net section of the configuration file needs to have a section handler registered. This is the section handler used. It simply returns the XML element that is the root of the section.

Example

Example of registering the log4net section handler :

[XML]
<configuration>
    <configSections>
        <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
    </configSections>
    <log4net>
        log4net configuration XML goes here
    </log4net>
</configuration>

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

Log4NetConfigurationSectionHandler Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IBulkAppenderMembers.html0000644000175000017500000000336210412737530025165 0ustar slomoslomo IBulkAppender Members
log4net SDK Reference

IBulkAppender Members

IBulkAppender overview

Public Instance Methods

DoAppend Log the array of logging events in Appender specific way.

See Also

IBulkAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.MDC.Get.html0000644000175000017500000000562110412737520020550 0ustar slomoslomo MDC.Get Method
log4net SDK Reference

MDC.Get Method 

Gets the context value identified by the key parameter.

[Visual Basic]
Public Shared Function Get( _
   ByVal key As String _
) As String
[C#]
public static string Get(
   string key
);

Parameters

key
The key to lookup in the MDC.

Return Value

The string value held for the key, or a null reference if no corresponding value is found.

Remarks

Note   

The MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the ThreadContext.Properties.

If the key parameter does not look up to a previously defined context then null will be returned.

See Also

MDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.FatalFormat_overload_3.html0000644000175000017500000000746510412737516024612 0ustar slomoslomo ILog.FatalFormat Method (String, Object, Object)
log4net SDK Reference

ILog.FatalFormat Method (String, Object, Object)

Logs a formatted message string with the Fatal level.

[Visual Basic]
Sub FatalFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
)
[C#]
void FatalFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

ILog Interface | log4net Namespace | ILog.FatalFormat Overload List | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.AddMapping.html0000644000175000017500000000446110412737524027565 0ustar slomoslomo ColoredConsoleAppender.AddMapping Method
log4net SDK Reference

ColoredConsoleAppender.AddMapping Method 

Add a mapping of level to color - done by the config file

[Visual Basic]
Public Sub AddMapping( _
   ByVal mapping As LevelColors _
)
[C#]
public void AddMapping(
   LevelColors mapping
);

Parameters

mapping
The mapping to add

Remarks

Add a ColoredConsoleAppender.LevelColors mapping to this appender. Each mapping defines the foreground and background colors for a level.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.SecurityContext.html0000644000175000017500000000426010412737534030557 0ustar slomoslomo SecurityContext Property
log4net SDK Reference

SmtpPickupDirAppender.SecurityContext Property

Gets or sets the SecurityContext used to write to the pickup directory.

[Visual Basic]
Public Property SecurityContext As SecurityContext
[C#]
public log4net.Core.SecurityContext SecurityContext {get; set;}

Property Value

The SecurityContext used to write to the pickup directory.

Remarks

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.Encoding.html0000644000175000017500000000426610412737526025261 0ustar slomoslomo Encoding Property
log4net SDK Reference

FileAppender.Encoding Property

Gets or sets Encoding used to write to the file.

[Visual Basic]
Public Property Encoding As Encoding
[C#]
public System.Text.Encoding Encoding {get; set;}

Property Value

The Encoding used to write to the file.

Remarks

The default encoding set is Default which is the encoding for the system's current ANSI code page.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.Add_overload_1.html0000644000175000017500000000533010412737542024626 0ustar slomoslomo LevelMap.Add Method (String, Int32)
log4net SDK Reference

LevelMap.Add Method (String, Int32)

Create a new Level and add it to the map

[Visual Basic]
Overloads Public Sub Add( _
   ByVal name As String, _
   ByVal value As Integer _
)
[C#]
public void Add(
   string name,
   int value
);

Parameters

name
the string to display for the Level
value
the level value to give to the Level

Remarks

Create a new Level and add it to the map

See Also

LevelMap Class | log4net.Core Namespace | LevelMap.Add Overload List | Add


log4net-1.2.10/doc/release/sdk/log4net.LogicalThreadContextProperties.html0000644000175000017500000000412210412737516025553 0ustar slomoslomo LogicalThreadContext Properties
log4net SDK Reference

LogicalThreadContext Properties

The properties of the LogicalThreadContext class are listed below. For a complete list of LogicalThreadContext class members, see the LogicalThreadContext Members topic.

Public Static (Shared) Properties

Properties The thread properties map
Stacks The thread stacks

See Also

LogicalThreadContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/MSDN.css0000644000175000017500000002020410412737506016437 0ustar slomoslomobody /* This body tag requires the use of one of the sets of banner and/or text div ids */ { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; background: #ffffff; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; width: 100%; /*overflow: expression('hidden');*/ } div#scrollyes /* Allows topic to scroll with correct margins. Cannot be used with running head banner */ { /* Must immediately follow . */ padding: 2px 15px 2px 22px; width: 100%; } div#nsbanner /* Creates Nonscrolling banner region */ { position: relative; left: 0px; padding: 0px 0px 0px 0px; border-bottom: 1px solid #999999; /*width: expression(document.body.clientWidth);*/ background-color: #99ccff; } div#nstext /* Creates the scrolling text area for Nonscrolling region topic */ { top: 0px; padding: 5px 20px 0px 22px; /*overflow: expression('auto'); width: expression(document.body.clientWidth); height: expression(document.body.clientHeight - nsbanner.offsetHeight);*/ } div#scrbanner /* Creates the running head bar in a full-scroll topic */ { /* Allows topic to scroll. */ margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; border-bottom: 1px solid #999999; } div#scrtext /* Creates the text area in a full-scroll topic */ { /* Allows topic to scroll. */ padding: 0px 10px 0px 22px; } div#bannerrow1 /* provides full-width color to top row in running head (requires script) */ { } div#titlerow /* provides non-scroll topic title area (requires script) */ { padding: 0px 10px 0px 22px; } h1, h2, h3, h4 { font-family: Verdana, Arial, Helvetica, sans-serif; margin-bottom: .4em; margin-top: 1em; font-weight: bold; } h1 { font-size: 120%; margin-top: 0em; } div#scrollyes h1 /* Changes font size for full-scrolling topic */ { font-size: 150%; } h2 { font-size: 130%; } h3 { font-size: 115%; } h4 { font-size: 100%; } .dtH1, .dtH2, .dtH3, .dtH4 { margin-left: -18px; } div#titlerow h1 { margin-bottom: .2em } table.bannerparthead, table.bannertitle /* General values for the Running Head tables */ { position: relative; left: 0px; top: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; width: 100%; height: 21px; border-collapse: collapse; border-style: solid; border-width: 0px; background-color: #99ccff; font-size: 100%; } table.bannerparthead td /* General Values for cells in the top row of running head */ { margin: 0px 0px 0px 0px; padding: 2px 0px 0px 4px; vertical-align: middle; border-width: 0px; border-style: solid; border-color: #999999; background: transparent; font-style: italic; font-weight: normal; } table.bannerparthead td.product /* Values for top right cell in running head */ { /* Allows for a second text block in the running head */ text-align: right; padding: 2px 5px 0px 5px; } table.bannertitle td /* General Values for cells in the bottom row of running head */ { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 3px; vertical-align: middle; border-width: 0px 0px 1px 0px; border-style: solid; border-color: #999999; background: transparent; font-weight: bold; } td.button1 /* Values for button cells */ { width: 14px; cursor: hand; } p { margin: .5em 0em .5em 0em; } blockquote.dtBlock { margin: .5em 1.5em .5em 1.5em; } div#dtHoverText { color: #000066; } .normal { margin: .5em 0em .5em 0em; } .fineprint { font-size: 90%; /* 90% of 70% */ } .indent { margin: .5em 1.5em .5em 1.5em; } .topicstatus /* Topic Status Boilerplate class */ { display: block; color: red; } p.label { margin-top: 1em; } p.labelproc { margin-top: 1em; color: #000066; } div.tablediv { width: 100%; /* Forces tables to have correct right margins and top spacing */ margin-top: -.4em; } ol div.tablediv, ul div.tablediv, ol div.HxLinkTable, ul div.HxLinkTable { margin-top: 0em; /* Forces tables to have correct right margins and top spacing */ } table.dtTABLE { width: 100%; /* Forces tables to have correct right margin */ margin-top: .6em; margin-bottom: .3em; border-width: 1px 1px 0px 0px; border-style: solid; border-color: #999999; background-color: #999999; font-size: 100%; /* Text in Table is same size as text outside table */ } table.dtTABLE th, table.dtTABLE td { border-style: solid; /* Creates the cell border and color */ border-width: 0px 0px 1px 1px; border-style: solid; border-color: #999999; padding: 4px 6px; text-align: left; } table.dtTABLE th { background: #cccccc; /* Creates the shaded table header row */ vertical-align: bottom; } table.dtTABLE td { background: #ffffff; vertical-align: top; } MSHelp\:ktable { disambiguator: span; separator:  | prefix: | postfix:   filterString: ; } div.HxLinkTable { width: auto; /* Forces tables to have correct right margins and top spacing */ margin-top: -.4em; visibility: visible; } ol div.HxLinkTable, ul div.HxLinkTable { margin-top: 0em; /* Forces tables to have correct right margins and top spacing */ } table.HxLinkTable /* Keep in sync with general table settings below */ { width: auto; margin-top: 1.5em; margin-bottom: .3em; margin-left: -1em; border-width: 1px 1px 0px 0px; border-style: solid; border-color: #999999; background-color: #999999; font-size: 100%; /* Text in Table is same size as text outside table */ behavior:url(hxlinktable.htc); /* Attach the behavior to link elements. */ } table.HxLinkTable th, table.HxLinkTable td /* Keep in sync with general table settings below */ { border-style: solid; /* Creates the cell border and color */ border-width: 0px 0px 1px 1px; border-style: solid; border-color: #999999; padding: 4px 6px; text-align: left; } table.HxLinkTable th /* Keep in sync with general table settings below */ { background: #cccccc; /* Creates the shaded table header row */ vertical-align: bottom; } table.HxLinkTable td /* Keep in sync with general table settings below */ { background: #ffffff; vertical-align: top; } pre.code { background-color: #eeeeee; padding: 4px 6px 4px 6px; } pre, div.syntax { margin-top: .5em; margin-bottom: .5em; } pre, code, .code, div.syntax { font: 100% Monospace, Courier New, Courier; /* This is 100% of 70% */ color: #000066; } pre b, code b { letter-spacing: .1em; /* opens kerning on bold in Syntax/Code */ } pre.syntax, div.syntax { background: #cccccc; padding: 4px 8px; cursor: text; margin-top: 1em; margin-bottom: 1em; color: #000000; border-width: 1px; border-style: solid; border-color: #999999; /* ------------------------------------- */ /* BEGIN changes to dtue.css conventions */ font-weight: bolder; letter-spacing: .1em; } .syntax span.lang { margin: 0; font-weight: normal; } .syntax span.meta { margin: 0; font-weight: normal; font-style: italic; } .syntax a { margin: 0; font-weight: normal; } /* END changes to dtue.css conventions */ /* ----------------------------------- */ .syntax div { padding-left: 24px; text-indent: -24px; } .syntax .attribute { font-weight: normal; } div.footer { font-style: italic; } div.footer hr { color: #999999; height: 1px; } ol, ul { margin: .5em 0em 0em 4em; } li { margin-bottom: .5em; } ul p, ol p, dl p { margin-left: 0em; } ul p.label, ol p.label { margin-top: .5em; } dl { margin-top: 0em; padding-left: 1px; /* Prevents italic-letter descenders from being cut off */ } dd { margin-bottom: 0em; margin-left: 1.5em; } dt { margin-top: .5em; } a:link { color: #0000ff; } a:visited { color: #0000ff; } a:hover { color: #3366ff; } img { border: none; } table.dtTABLE td img { border: none; vertical-align: top; margin-right: 2px; } /* Not in dtue.css. Used by NDoc's "ShowMissing..." options. */ .missing { color: Red; font-weight: bold; } div.Hierarchy { margin: 0.5em,0.0em,0.5em,1.0em; }log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPluginMembers.html0000644000175000017500000000440610412737552023553 0ustar slomoslomo IPlugin Members
log4net SDK Reference

IPlugin Members

IPlugin overview

Public Instance Properties

Name Gets the name of the plugin.

Public Instance Methods

Attach Attaches the plugin to the specified ILoggerRepository.
Shutdown Is called when the plugin is to shutdown.

See Also

IPlugin Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModel.html0000644000175000017500000000465010412737526026077 0ustar slomoslomo LockingModel Property
log4net SDK Reference

FileAppender.LockingModel Property

Gets or sets the LockingModel used to handle locking of the file.

[Visual Basic]
Public Property LockingModel As LockingModelBase
[C#]
public FileAppender.LockingModelBase LockingModel {get; set;}

Property Value

The LockingModel used to lock the file.

Remarks

Gets or sets the LockingModel used to handle locking of the file.

There are two built in locking models, FileAppender.ExclusiveLock and FileAppender.MinimalLock. The former locks the file from the start of logging to the end and the later lock only for the minimal amount of time when logging each message.

The default locking model is the FileAppender.ExclusiveLock.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBaseProperties.html0000644000175000017500000000702710412737552025520 0ustar slomoslomo XmlLayoutBase Properties
log4net SDK Reference

XmlLayoutBase Properties

The properties of the XmlLayoutBase class are listed below. For a complete list of XmlLayoutBase class members, see the XmlLayoutBase Members topic.

Public Instance Properties

ContentType Gets the content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions
InvalidCharReplacement The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

LocationInfo Gets a value indicating whether to include location information in the XML events.

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverter.Convert_overloads.html0000644000175000017500000000420110412737552032515 0ustar slomoslomo Convert Method
log4net SDK Reference

PatternLayoutConverter.Convert Method

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

Overload List

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

protected abstract void Convert(TextWriter,LoggingEvent);

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

protected override void Convert(TextWriter,object);

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertFromMethods.html0000644000175000017500000000425210412737566027250 0ustar slomoslomo IConvertFrom Methods
log4net SDK Reference

IConvertFrom Methods

The methods of the IConvertFrom interface are listed below. For a complete list of IConvertFrom interface members, see the IConvertFrom Members topic.

Public Instance Methods

CanConvertFrom Can the source type be converted to the type supported by this object
ConvertFrom Convert the source object to the type supported by this object

See Also

IConvertFrom Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogExceptionMembers.html0000644000175000017500000002240710412737544024240 0ustar slomoslomo LogException Members
log4net SDK Reference

LogException Members

LogException overview

Public Instance Constructors

LogException Overloaded. Initializes a new instance of the LogException class.

Public Instance Properties

HelpLink (inherited from Exception) Gets or sets a link to the help file associated with this exception.
InnerException (inherited from Exception) Gets the Exception instance that caused the current exception.
Message (inherited from Exception) Gets a message that describes the current exception.
Source (inherited from Exception) Gets or sets the name of the application or the object that causes the error.
StackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
TargetSite (inherited from Exception) Gets the method that throws the current exception.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBaseException (inherited from Exception) When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData (inherited from Exception) When overridden in a derived class, sets the SerializationInfo with information about the exception.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Exception) Creates and returns a string representation of the current exception.

Protected Instance Constructors

LogException Overloaded. Initializes a new instance of the LogException class.

Protected Instance Properties

HResult (inherited from Exception) Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LogException Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.IRawLayoutMethods.html0000644000175000017500000000350610412737550024272 0ustar slomoslomo IRawLayout Methods
log4net SDK Reference

IRawLayout Methods

The methods of the IRawLayout interface are listed below. For a complete list of IRawLayout interface members, see the IRawLayout Members topic.

Public Instance Methods

Format Implement this method to create your own layout format.

See Also

IRawLayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilterMembers.html0000644000175000017500000001533410412737550025365 0ustar slomoslomo LevelRangeFilter Members
log4net SDK Reference

LevelRangeFilter Members

LevelRangeFilter overview

Public Instance Constructors

LevelRangeFilter Constructor Default constructor

Public Instance Properties

AcceptOnMatch Accept when matching LevelMin and LevelMax
LevelMax Sets the maximum matched Level
LevelMin Set the minimum matched Level
Next (inherited from FilterSkeleton) Property to get and set the next filter

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Check if the event should be logged.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.html0000644000175000017500000000757410412737556025462 0ustar slomoslomo Hierarchy Class
log4net SDK Reference

Hierarchy Class

Hierarchical organization of loggers

For a list of all members of this type, see Hierarchy Members.

System.Object
   log4net.Repository.LoggerRepositorySkeleton
      log4net.Repository.Hierarchy.Hierarchy

[Visual Basic]
Public Class Hierarchy
    Inherits LoggerRepositorySkeleton
    Implements IBasicRepositoryConfigurator, IXmlRepositoryConfigurator
[C#]
public class Hierarchy : LoggerRepositorySkeleton, IBasicRepositoryConfigurator, IXmlRepositoryConfigurator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The casual user should not have to deal with this class directly.

This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy. Implements the ILoggerRepository interface.

The structure of the logger hierarchy is maintained by the GetLogger method. The hierarchy is such that children link to their parent but parents do not have any references to their children. Moreover, loggers can be instantiated in any order, in particular descendant before ancestor.

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.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

Hierarchy Members | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapterConstructor.html0000644000175000017500000000520610412737564026242 0ustar slomoslomo TextWriterAdapter Constructor
log4net SDK Reference

TextWriterAdapter Constructor 

Create an instance of TextWriterAdapter that forwards all messages to a TextWriter.

[Visual Basic]
Protected Sub New( _
   ByVal writer As TextWriter _
)
[C#]
protected TextWriterAdapter(
   TextWriter writer
);

Parameters

writer
The TextWriter to forward to

Remarks

Create an instance of TextWriterAdapter that forwards all messages to a TextWriter.

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Layout2RawLayoutAdapterMembers.html0000644000175000017500000001240510412737550026727 0ustar slomoslomo Layout2RawLayoutAdapter Members
log4net SDK Reference

Layout2RawLayoutAdapter Members

Layout2RawLayoutAdapter overview

Public Instance Constructors

Layout2RawLayoutAdapter Constructor Construct a new adapter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Format the logging event as an object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Layout2RawLayoutAdapter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionaryConstructor1.html0000644000175000017500000000351110412737564030516 0ustar slomoslomo ReadOnlyPropertiesDictionary Constructor ()
log4net SDK Reference

ReadOnlyPropertiesDictionary Constructor ()

Constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public ReadOnlyPropertiesDictionary();

Remarks

Initializes a new instance of the ReadOnlyPropertiesDictionary class.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace | ReadOnlyPropertiesDictionary Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.WriteHeader.html0000644000175000017500000000362210412737536027174 0ustar slomoslomo TextWriterAppender.WriteHeader Method
log4net SDK Reference

TextWriterAppender.WriteHeader Method 

Writes a header produced by the embedded layout's Header property.

[Visual Basic]
Overridable Protected Sub WriteHeader()
[C#]
protected virtual void WriteHeader();

Remarks

Writes a header produced by the embedded layout's Header property.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.DebugFormat_overload_4.html0000644000175000017500000000765410412737546026215 0ustar slomoslomo LogImpl.DebugFormat Method (String, Object)
log4net SDK Reference

LogImpl.DebugFormat Method (String, Object)

Logs a formatted message string with the DEBUG level.

[Visual Basic]
Overridable Overloads Public Sub DebugFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
) _
    Implements ILog.DebugFormat
[C#]
public virtual void DebugFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Implements

ILog.DebugFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the DebugFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.DebugFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.FixVolatileData_overload_3.html0000644000175000017500000000451710412737544030053 0ustar slomoslomo LoggingEvent.FixVolatileData Method (FixFlags)
log4net SDK Reference

LoggingEvent.FixVolatileData Method (FixFlags)

Fix the fields specified by the FixFlags parameter

[Visual Basic]
Overloads Protected Sub FixVolatileData( _
   ByVal flags As FixFlags _
)
[C#]
protected void FixVolatileData(
   FixFlags flags
);

Parameters

flags
the fields to fix

Remarks

Only fields specified in the flags will be fixed. Fields will not be fixed if they have previously been fixed. It is not possible to 'unfix' a field.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent.FixVolatileData Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.AddMapping.html0000644000175000017500000000473110412737526026400 0ustar slomoslomo EventLogAppender.AddMapping Method
log4net SDK Reference

EventLogAppender.AddMapping Method 

Add a mapping of level to EventLogEntryType - done by the config file

[Visual Basic]
Public Sub AddMapping( _
   ByVal mapping As Level2EventLogEntryType _
)
[C#]
public void AddMapping(
   Level2EventLogEntryType mapping
);

Parameters

mapping
The mapping to add

Remarks

Add a EventLogAppender.Level2EventLogEntryType mapping to this appender. Each mapping defines the event log entry type for a level.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Alert.html0000644000175000017500000000354410412737542022441 0ustar slomoslomo Level.Alert Field
log4net SDK Reference

Level.Alert Field

The Alert level designates very severe error events. Take immediate action, alerts.

[Visual Basic]
Public Shared ReadOnly Alert As Level
[C#]
public static readonly Level Alert;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Alert

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILogger.IsEnabledFor.html0000644000175000017500000000460210412737540024142 0ustar slomoslomo ILogger.IsEnabledFor Method
log4net SDK Reference

ILogger.IsEnabledFor Method 

Checks if this logger is enabled for a given Level passed as parameter.

[Visual Basic]
Function IsEnabledFor( _
   ByVal level As Level _
) As Boolean
[C#]
bool IsEnabledFor(
   Level level
);

Parameters

level
The level to check.

Return Value

true if this logger is enabled for level, otherwise false.

Remarks

Test if this logger is going to log events of the specified level.

See Also

ILogger Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension.html0000644000175000017500000000531110412737540031541 0ustar slomoslomo ConfigFileExtension Property
log4net SDK Reference

XmlConfiguratorAttribute.ConfigFileExtension Property

Gets or sets the extension of the configuration file.

[Visual Basic]
Public Property ConfigFileExtension As String
[C#]
public string ConfigFileExtension {get; set;}

Property Value

The extension of the configuration file.

Remarks

If specified this is the extension for the configuration file. The path to the config file is built by using the application base directory (BaseDirectory), the assembly file name and the config file extension.

If the ConfigFileExtension is set to MyExt then possible config file names would be: MyConsoleApp.exe.MyExt or MyClassLibrary.dll.MyExt.

The ConfigFile takes priority over the ConfigFileExtension.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILogger.Name.html0000644000175000017500000000354610412737540022533 0ustar slomoslomo Name Property
log4net SDK Reference

ILogger.Name Property

Gets the name of the logger.

[Visual Basic]
Property Name As String
[C#]
string Name {get;}

Property Value

The name of the logger.

Remarks

The name of this logger

See Also

ILogger Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayout.Base64EncodeMessage.html0000644000175000017500000000435510412737552026317 0ustar slomoslomo Base64EncodeMessage Property
log4net SDK Reference

XmlLayout.Base64EncodeMessage Property

Set whether or not to base64 encode the message.

[Visual Basic]
Public Property Base64EncodeMessage As Boolean
[C#]
public bool Base64EncodeMessage {get; set;}

Remarks

By default the log message will be written as text to the xml output. This can cause problems when the message contains binary data. By setting this to true the contents of the message will be base64 encoded. If this is set then invalid character replacement (see InvalidCharReplacement) will not be performed on the log message.

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerMethods.html0000644000175000017500000001603210412737556026274 0ustar slomoslomo Logger Methods
log4net SDK Reference

Logger Methods

The methods of the Logger class are listed below. For a complete list of Logger class members, see the Logger Members topic.

Public Instance Methods

AddAppender Add newAppender to the list of appenders of this Logger instance.
CloseNestedAppenders Closes all attached appenders implementing the IAppenderAttachable interface.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender Look for the appender named as name
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IsEnabledFor Checks if this logger is enabled for a given Level passed as parameter.
LogOverloaded. This is the most generic printing method that is intended to be used by wrappers.
RemoveAllAppenders Remove all previously added appenders from this Logger instance.
RemoveAppenderOverloaded. Remove the appender passed as parameter form the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CallAppenders Deliver the LoggingEvent to the attached appenders.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
ForcedLogOverloaded. Creates a new logging event and logs the event without further checks.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.Precision.html0000644000175000017500000000443110412737520027606 0ustar slomoslomo Precision Property
log4net SDK Reference

AdoNetAppenderParameter.Precision Property

Gets or sets the precision for this parameter.

[Visual Basic]
Public Property Precision As Byte
[C#]
public byte Precision {get; set;}

Property Value

The precision for this parameter.

Remarks

The maximum number of digits used to represent the Value.

This property is optional. If not specified the ADO.NET provider will attempt to infer the precision from the value.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace | Precision


log4net-1.2.10/doc/release/sdk/log4net.Config.html0000644000175000017500000001340510412737536020642 0ustar slomoslomo log4net.Config
log4net SDK Reference

log4net.Config Namespace

Configuration types and attributes.

Namespace hierarchy

Classes

Class Description
AliasDomainAttribute Obsolete. Assembly level attribute that specifies a domain to alias to this assembly's repository.
AliasRepositoryAttribute Assembly level attribute that specifies a repository to alias to this assembly's repository.
BasicConfigurator Use this class to quickly configure a Hierarchy.
ConfiguratorAttribute Base class for all log4net configuration attributes.
DomainAttribute Obsolete. Assembly level attribute that specifies the logging domain for the assembly.
DOMConfigurator Obsolete. Use this class to initialize the log4net environment using an Xml tree.
DOMConfiguratorAttribute Obsolete. Assembly level attribute to configure the XmlConfigurator.
Log4NetConfigurationSectionHandler Class to register for the log4net section of the configuration file
PluginAttribute Assembly level attribute that specifies a plugin to attach to the repository.
RepositoryAttribute Assembly level attribute that specifies the logging repository for the assembly.
SecurityContextProviderAttribute Assembly level attribute to configure the SecurityContextProvider.
XmlConfigurator Use this class to initialize the log4net environment using an Xml tree.
XmlConfiguratorAttribute Assembly level attribute to configure the XmlConfigurator.

log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.ActivateOptions.html0000644000175000017500000000467710412737532027557 0ustar slomoslomo RemotingAppender.ActivateOptions Method
log4net SDK Reference

RemotingAppender.ActivateOptions Method 

Initialize the appender based on the options set

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

RemotingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.SmtpAuthentication.html0000644000175000017500000000431310412737534027412 0ustar slomoslomo SmtpAppender.SmtpAuthentication Enumeration
log4net SDK Reference

SmtpAppender.SmtpAuthentication Enumeration

Values for the Authentication property.

[Visual Basic]
Public Enum SmtpAppender.SmtpAuthentication
[C#]
public enum SmtpAppender.SmtpAuthentication

Remarks

SMTP authentication modes.

Members

Member NameDescription
None No authentication
Basic Basic authentication.
Ntlm Integrated authentication

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerCreationEventArgsMembers.html0000644000175000017500000001276310412737556031576 0ustar slomoslomo LoggerCreationEventArgs Members
log4net SDK Reference

LoggerCreationEventArgs Members

LoggerCreationEventArgs overview

Public Instance Constructors

LoggerCreationEventArgs Constructor Constructor

Public Instance Properties

Logger Gets the Logger that has been created.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LoggerCreationEventArgs Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPlugin.Attach.html0000644000175000017500000000514210412737554027204 0ustar slomoslomo RemoteLoggingServerPlugin.Attach Method
log4net SDK Reference

RemoteLoggingServerPlugin.Attach Method 

Attaches this plugin to a ILoggerRepository.

[Visual Basic]
Overrides Public Sub Attach( _
   ByVal repository As ILoggerRepository _
) _
    Implements IPlugin.Attach
[C#]
public override void Attach(
   ILoggerRepository repository
);

Parameters

repository
The ILoggerRepository that this plugin should be attached to.

Implements

IPlugin.Attach

Remarks

A plugin may only be attached to a single repository.

This method is called when the plugin is attached to the repository.

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMapProperties.html0000644000175000017500000000347310412737546024464 0ustar slomoslomo WrapperMap Properties
log4net SDK Reference

WrapperMap Properties

The properties of the WrapperMap class are listed below. For a complete list of WrapperMap class members, see the WrapperMap Members topic.

Protected Instance Properties

Repositories Gets the map of logger repositories.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPlugin.html0000644000175000017500000000607410412737554026006 0ustar slomoslomo RemoteLoggingServerPlugin Class
log4net SDK Reference

RemoteLoggingServerPlugin Class

Plugin that listens for events from the RemotingAppender

For a list of all members of this type, see RemoteLoggingServerPlugin Members.

System.Object
   log4net.Plugin.PluginSkeleton
      log4net.Plugin.RemoteLoggingServerPlugin

[Visual Basic]
Public Class RemoteLoggingServerPlugin
    Inherits PluginSkeleton
[C#]
public class RemoteLoggingServerPlugin : PluginSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This plugin publishes an instance of RemotingAppender.IRemoteLoggingSink on a specified SinkUri. This listens for logging events delivered from a remote RemotingAppender.

When an event is received it is relogged within the attached repository as if it had been raised locally.

Requirements

Namespace: log4net.Plugin

Assembly: log4net (in log4net.dll)

See Also

RemoteLoggingServerPlugin Members | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.FixVolatileData_overload_1.html0000644000175000017500000000540010412737544030041 0ustar slomoslomo LoggingEvent.FixVolatileData Method ()
log4net SDK Reference

LoggingEvent.FixVolatileData Method ()

NOTE: This method is now obsolete.

Use Fix property


Fix instance fields that hold volatile data.

[Visual Basic]
Overloads Public Sub FixVolatileData()
[C#]
public void FixVolatileData();

Remarks

Some of the values in instances of LoggingEvent are considered volatile, that is the values are correct at the time the event is delivered to appenders, but will not be consistent at any time afterwards. If an event is to be stored and then processed at a later time these volatile values must be fixed by calling FixVolatileData. There is a performance penalty incurred by calling FixVolatileData but it is essential to maintaining data consistency.

Calling FixVolatileData is equivalent to calling FixVolatileData passing the parameter false.

See FixVolatileData for more information.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent.FixVolatileData Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.Append_overloads.html0000644000175000017500000000400410412737536026660 0ustar slomoslomo Append Method
log4net SDK Reference

UdpAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.IsFixedSize.html0000644000175000017500000000515710412737542025576 0ustar slomoslomo IsFixedSize Property
log4net SDK Reference

LevelCollection.IsFixedSize Property

Gets a value indicating whether the collection has a fixed size.

[Visual Basic]
Overridable Public ReadOnly Property IsFixedSize As Boolean _
    Implements IList.IsFixedSize
[C#]
public virtual bool IsFixedSize {get;}

Property Value

true if the collection has a fixed size; otherwise, false. The default is false

Implements

IList.IsFixedSize

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.IsFixedSize

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawTimeStampLayout.html0000644000175000017500000000476010412737552024466 0ustar slomoslomo RawTimeStampLayout Class
log4net SDK Reference

RawTimeStampLayout Class

Extract the date from the LoggingEvent

For a list of all members of this type, see RawTimeStampLayout Members.

System.Object
   log4net.Layout.RawTimeStampLayout

[Visual Basic]
Public Class RawTimeStampLayout
    Implements IRawLayout
[C#]
public class RawTimeStampLayout : IRawLayout

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Extract the date from the LoggingEvent

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

RawTimeStampLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.RenderLoggingEvent_overload_2.html0000644000175000017500000000672510412737522032302 0ustar slomoslomo AppenderSkeleton.RenderLoggingEvent Method (TextWriter, LoggingEvent)
log4net SDK Reference

AppenderSkeleton.RenderLoggingEvent Method (TextWriter, LoggingEvent)

Renders the LoggingEvent to a string.

[Visual Basic]
Overloads Protected Sub RenderLoggingEvent( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected void RenderLoggingEvent(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
The event to render.

Remarks

Helper method to render a LoggingEvent to a string. This appender must have a Layout set to render the loggingEvent to a string.

If there is exception data in the logging event and the layout does not process the exception, this method will append the exception text to the rendered string.

Use this method in preference to RenderLoggingEvent where possible. If, however, the caller needs to render the event to a string then RenderLoggingEvent does provide an efficient mechanism for doing so.

See Also

AppenderSkeleton Class | log4net.Appender Namespace | AppenderSkeleton.RenderLoggingEvent Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfiguratorMethods.html0000644000175000017500000000771310412737536025576 0ustar slomoslomo BasicConfigurator Methods
log4net SDK Reference

BasicConfigurator Methods

The methods of the BasicConfigurator class are listed below. For a complete list of BasicConfigurator class members, see the BasicConfigurator Members topic.

Public Static (Shared) Methods

ConfigureOverloaded. Initializes the log4net system with a default configuration.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

BasicConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.AddRange_overloads.html0000644000175000017500000000456710412737554027677 0ustar slomoslomo AddRange Method
log4net SDK Reference

PluginCollection.AddRange Method

Adds the elements of a IPlugin array to the current PluginCollection.

Overload List

Adds the elements of a IPlugin array to the current PluginCollection.

public virtual int AddRange(IPlugin[]);

Adds the elements of another PluginCollection to the current PluginCollection.

public virtual int AddRange(PluginCollection);

Adds the elements of a IPlugin collection to the current PluginCollection.

public virtual int AddRange(ICollection);

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.HierarchyHierarchy.html0000644000175000017500000001020710412737556025367 0ustar slomoslomo log4net.Repository.HierarchyHierarchy
log4net SDK Reference

log4net.Repository.Hierarchy Hierarchy

System.Object

See Also

log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.UserName.html0000644000175000017500000000356410412737544025230 0ustar slomoslomo LoggingEventData.UserName Field
log4net SDK Reference

LoggingEventData.UserName Field

String representation of the user

[Visual Basic]
Public UserName As String
[C#]
public string UserName;

Remarks

String representation of the user's windows name, like DOMAIN\username

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.GetLogger_overloads.html0000644000175000017500000000376410412737556031413 0ustar slomoslomo GetLogger Method
log4net SDK Reference

Hierarchy.GetLogger Method

Return a new logger instance named as the first parameter using the default factory.

Overload List

Return a new logger instance named as the first parameter using the default factory.

public override ILogger GetLogger(string);

Return a new logger instance named as the first parameter using factory.

public Logger GetLogger(string,ILoggerFactory);

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.From.html0000644000175000017500000000365410412737534024501 0ustar slomoslomo From Property
log4net SDK Reference

SmtpAppender.From Property

Gets or sets the e-mail address of the sender.

[Visual Basic]
Public Property From As String
[C#]
public string From {get; set;}

Property Value

The e-mail address of the sender.

Remarks

The e-mail address of the sender.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeleton.html0000644000175000017500000000521210412737554023632 0ustar slomoslomo PluginSkeleton Class
log4net SDK Reference

PluginSkeleton Class

Base implementation of IPlugin

For a list of all members of this type, see PluginSkeleton Members.

System.Object
   log4net.Plugin.PluginSkeleton
      log4net.Plugin.RemoteLoggingServerPlugin

[Visual Basic]
MustInherit Public Class PluginSkeleton
    Implements IPlugin
[C#]
public abstract class PluginSkeleton : IPlugin

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Default abstract implementation of the IPlugin interface. This base class can be used by implementors of the IPlugin interface.

Requirements

Namespace: log4net.Plugin

Assembly: log4net (in log4net.dll)

See Also

PluginSkeleton Members | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.Append.html0000644000175000017500000000455310412737560024120 0ustar slomoslomo CyclicBuffer.Append Method
log4net SDK Reference

CyclicBuffer.Append Method 

Appends a loggingEvent to the buffer.

[Visual Basic]
Public Function Append( _
   ByVal loggingEvent As LoggingEvent _
) As LoggingEvent
[C#]
public LoggingEvent Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to append to the buffer.

Return Value

The event discarded from the buffer, if the buffer is full, otherwise null.

Remarks

Append an event to the buffer. If the buffer still contains free space then null is returned. If the buffer is full then an event will be dropped to make space for the new event, the event dropped is returned.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.html0000644000175000017500000000641310412737542024313 0ustar slomoslomo IRepositorySelector Interface
log4net SDK Reference

IRepositorySelector Interface

Interface used by the LogManager to select the ILoggerRepository.

For a list of all members of this type, see IRepositorySelector Members.

[Visual Basic]
Public Interface IRepositorySelector
[C#]
public interface IRepositorySelector

Types that implement IRepositorySelector

Type Description
CompactRepositorySelector The implementation of the IRepositorySelector interface suitable for use with the compact framework
DefaultRepositorySelector The default implementation of the IRepositorySelector interface.

Remarks

The LogManager uses a IRepositorySelector to specify the policy for selecting the correct ILoggerRepository to return to the caller.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

IRepositorySelector Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPlugin.SinkUri.html0000644000175000017500000000423010412737554027361 0ustar slomoslomo SinkUri Property
log4net SDK Reference

RemoteLoggingServerPlugin.SinkUri Property

Gets or sets the URI of this sink.

[Visual Basic]
Overridable Public Property SinkUri As String
[C#]
public virtual string SinkUri {get; set;}

Property Value

The URI of this sink.

Remarks

This is the name under which the object is marshaled. Marshal

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.ConsoleError.html0000644000175000017500000000421310412737524030170 0ustar slomoslomo ColoredConsoleAppender.ConsoleError Field
log4net SDK Reference

ColoredConsoleAppender.ConsoleError Field

The Target to use when writing to the Console standard error output stream.

[Visual Basic]
Public Const ConsoleError As String = "Console.Error"
[C#]
public const string ConsoleError = "Console.Error";

Remarks

The Target to use when writing to the Console standard error output stream.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventMembers.html0000644000175000017500000003060510412737544024227 0ustar slomoslomo LoggingEvent Members
log4net SDK Reference

LoggingEvent Members

LoggingEvent overview

Public Static (Shared) Fields

HostNameProperty The key into the Properties map for the host name value.
IdentityProperty The key into the Properties map for the thread identity value.
UserNameProperty The key into the Properties map for the user name value.

Public Static (Shared) Properties

StartTime Gets the time when the current process started.

Public Instance Constructors

LoggingEvent Overloaded. Initializes a new instance of the LoggingEvent class.

Public Instance Properties

Domain Gets the AppDomain friendly name.
ExceptionObject Gets the exception object used to initialize this event.
Fix The fixed fields in this event
Identity Gets the identity of the current thread principal.
Level Gets the Level of the logging event.
LocationInformation Gets the location information for this logging event.
LoggerName Gets the name of the logger that logged the event.
MessageObject Gets the message object used to initialize this event.
Properties Additional event specific properties.
RenderedMessage Gets the message, rendered through the RendererMap.
Repository The ILoggerRepository that this event was created in.
ThreadName Gets the name of the current thread.
TimeStamp Gets the time of the logging event.
UserName Gets the name of the current user.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FixVolatileDataOverloaded. Fix instance fields that hold volatile data.
GetExceptionString Returns this event's exception's rendered using the RendererMap.
GetExceptionStrRepObsolete. Returns this event's exception's rendered using the RendererMap.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLoggingEventDataOverloaded. Gets the portable data for this LoggingEvent.
GetObjectData Serializes this object into the SerializationInfo provided.
GetProperties Get all the composite properties in this event
GetType (inherited from Object) Gets the Type of the current instance.
LookupProperty Lookup a composite property in this event
ToString (inherited from Object) Returns a String that represents the current Object.
WriteRenderedMessage Write the rendered message to a TextWriter

Protected Instance Constructors

LoggingEvent Overloaded. Initializes a new instance of the LoggingEvent class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FixVolatileDataOverloaded. Fix the fields specified by the FixFlags parameter
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ThreadContext.Stacks.html0000644000175000017500000000340310412737520023426 0ustar slomoslomo Stacks Property
log4net SDK Reference

ThreadContext.Stacks Property

The thread stacks

[Visual Basic]
Public Shared ReadOnly Property Stacks As ThreadContextStacks
[C#]
public static Util.ThreadContextStacks Stacks {get;}

Property Value

stack map

Remarks

The thread local stacks.

See Also

ThreadContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.NewLine.html0000644000175000017500000000370110412737564024010 0ustar slomoslomo NewLine Property
log4net SDK Reference

SystemInfo.NewLine Property

Gets the system dependent line terminator.

[Visual Basic]
Public Shared ReadOnly Property NewLine As String
[C#]
public static string NewLine {get;}

Property Value

The system dependent line terminator.

Remarks

Gets the system dependent line terminator.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeletonConstructor.html0000644000175000017500000000413510412737554026103 0ustar slomoslomo PluginSkeleton Constructor
log4net SDK Reference

PluginSkeleton Constructor 

Constructor

[Visual Basic]
Protected Sub New( _
   ByVal name As String _
)
[C#]
protected PluginSkeleton(
   string name
);

Parameters

name
the name of the plugin

Remarks

Initializes a new Plugin with the specified name.

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluatorMembers.html0000644000175000017500000001310510412737542024563 0ustar slomoslomo LevelEvaluator Members
log4net SDK Reference

LevelEvaluator Members

LevelEvaluator overview

Public Instance Constructors

LevelEvaluator Overloaded. Initializes a new instance of the LevelEvaluator class.

Public Instance Properties

Threshold the threshold to trigger at

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IsTriggeringEvent Is this loggingEvent the triggering event?
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelEvaluator Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.ClearFilters.html0000644000175000017500000000336410412737522027011 0ustar slomoslomo AppenderSkeleton.ClearFilters Method
log4net SDK Reference

AppenderSkeleton.ClearFilters Method 

Clears the filter list for this appender.

[Visual Basic]
Overridable Public Sub ClearFilters()
[C#]
public virtual void ClearFilters();

Remarks

Clears the filter list for this appender.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelectorConstructor.html0000644000175000017500000000631410412737540027753 0ustar slomoslomo DefaultRepositorySelector Constructor
log4net SDK Reference

DefaultRepositorySelector Constructor 

Creates a new repository selector.

[Visual Basic]
Public Sub New( _
   ByVal defaultRepositoryType As Type _
)
[C#]
public DefaultRepositorySelector(
   Type defaultRepositoryType
);

Parameters

defaultRepositoryType
The type of the repositories to create, must implement ILoggerRepository

Remarks

Create an new repository selector. The default type for repositories must be specified, an appropriate value would be Hierarchy.

Exceptions

Exception TypeCondition
ArgumentNullExceptiondefaultRepositoryType is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeExceptiondefaultRepositoryType does not implement ILoggerRepository.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollectionProperties.html0000644000175000017500000000622010412737560025532 0ustar slomoslomo EmptyCollection Properties
log4net SDK Reference

EmptyCollection Properties

The properties of the EmptyCollection class are listed below. For a complete list of EmptyCollection class members, see the EmptyCollection Members topic.

Public Static (Shared) Properties

Instance Gets the singleton instance of the empty collection.

Public Instance Properties

Count Gets the number of elements contained in the ICollection.
IsSynchronized Gets a value indicating if access to the ICollection is synchronized (thread-safe).
SyncRoot Gets an object that can be used to synchronize access to the ICollection.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogicalThreadContextProperties.Remove.html0000644000175000017500000000433110412737560027724 0ustar slomoslomo LogicalThreadContextProperties.Remove Method
log4net SDK Reference

LogicalThreadContextProperties.Remove Method 

Remove a property

[Visual Basic]
Public Sub Remove( _
   ByVal key As String _
)
[C#]
public void Remove(
   string key
);

Parameters

key
the key for the entry to remove

Remarks

Remove the value for the specified key from the context.

See Also

LogicalThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.html0000644000175000017500000000550210412737530024112 0ustar slomoslomo MemoryAppender Class
log4net SDK Reference

MemoryAppender Class

Stores logging events in an array.

For a list of all members of this type, see MemoryAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.MemoryAppender

[Visual Basic]
Public Class MemoryAppender
    Inherits AppenderSkeleton
[C#]
public class MemoryAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The memory appender stores all the logging events that are appended in an in-memory array.

Use the GetEvents method to get the current list of events that have been appended.

Use the Clear method to clear the current list of events.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

MemoryAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overloads.html0000644000175000017500000001112310412737536027634 0ustar slomoslomo Configure Method
log4net SDK Reference

DOMConfigurator.Configure Method

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Automatically configures the log4net system based on the application's configuration settings.

Overload List

Obsolete. Automatically configures the log4net system based on the application's configuration settings.

public static void Configure();

Obsolete. Automatically configures the ILoggerRepository using settings stored in the application's configuration file.

public static void Configure(ILoggerRepository);

Obsolete. Configures the ILoggerRepository using the specified configuration file.

public static void Configure(ILoggerRepository,FileInfo);

Obsolete. Configures the ILoggerRepository using the specified configuration file.

public static void Configure(ILoggerRepository,Stream);

Obsolete. Configures the ILoggerRepository using the specified XML element.

public static void Configure(ILoggerRepository,XmlElement);

Obsolete. Configures log4net using the specified configuration file.

public static void Configure(FileInfo);

Obsolete. Configures log4net using the specified configuration file.

public static void Configure(Stream);

Obsolete. Configures log4net using a log4net element

public static void Configure(XmlElement);

See Also

DOMConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.Log.html0000644000175000017500000000523310412737556026170 0ustar slomoslomo Hierarchy.Log Method
log4net SDK Reference

Hierarchy.Log Method 

Log the logEvent through this hierarchy.

[Visual Basic]
Overrides Public Sub Log( _
   ByVal logEvent As LoggingEvent _
) _
    Implements ILoggerRepository.Log
[C#]
public override void Log(
   LoggingEvent logEvent
);

Parameters

logEvent
the event to log

Implements

ILoggerRepository.Log

Remarks

This method should not normally be used to log. The ILog interface should be used for routine logging. This interface can be obtained using the GetLogger method.

The logEvent is delivered to the appropriate logger and that logger is then responsible for logging the event.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogicalThreadContextMembers.html0000644000175000017500000000772610412737516025026 0ustar slomoslomo LogicalThreadContext Members
log4net SDK Reference

LogicalThreadContext Members

LogicalThreadContext overview

Public Static (Shared) Properties

Properties The thread properties map
Stacks The thread stacks

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogicalThreadContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppenderConstructor.html0000644000175000017500000000307310412737534027653 0ustar slomoslomo SmtpPickupDirAppender Constructor
log4net SDK Reference

SmtpPickupDirAppender Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public SmtpPickupDirAppender();

Remarks

Default constructor

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.Append_overload_2.html0000644000175000017500000000465310412737520031556 0ustar slomoslomo AnsiColorTerminalAppender.Append Method (LoggingEvent)
log4net SDK Reference

AnsiColorTerminalAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the event to the console.

The format of the output will depend on the appender's layout.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace | AnsiColorTerminalAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ConverterInfoProperties.html0000644000175000017500000000424610412737550030362 0ustar slomoslomo PatternLayout.ConverterInfo Properties
log4net SDK Reference

PatternLayout.ConverterInfo Properties

The properties of the PatternLayout.ConverterInfo class are listed below. For a complete list of PatternLayout.ConverterInfo class members, see the PatternLayout.ConverterInfo Members topic.

Public Instance Properties

Name Gets or sets the name of the conversion pattern
Type Gets or sets the type of the converter

See Also

PatternLayout.ConverterInfo Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.GetLogStatement.html0000644000175000017500000000515710412737520027066 0ustar slomoslomo AdoNetAppender.GetLogStatement Method
log4net SDK Reference

AdoNetAppender.GetLogStatement Method 

Formats the log message into database statement text.

[Visual Basic]
Overridable Protected Function GetLogStatement( _
   ByVal logEvent As LoggingEvent _
) As String
[C#]
protected virtual string GetLogStatement(
   LoggingEvent logEvent
);

Parameters

logEvent
The event being logged.

Return Value

Text that can be passed to a IDbCommand.

Remarks

This method can be overridden by subclasses to provide more control over the format of the database statement.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttributeMembers.html0000644000175000017500000001510010412737540026204 0ustar slomoslomo RepositoryAttribute Members
log4net SDK Reference

RepositoryAttribute Members

RepositoryAttribute overview

Public Instance Constructors

RepositoryAttribute Overloaded. Initializes a new instance of the RepositoryAttribute class.

Public Instance Properties

Name Gets or sets the name of the logging repository.
RepositoryType Gets or sets the type of repository to create for this assembly.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ContextPropertiesBaseProperties.html0000644000175000017500000000361210412737560026716 0ustar slomoslomo ContextPropertiesBase Properties
log4net SDK Reference

ContextPropertiesBase Properties

The properties of the ContextPropertiesBase class are listed below. For a complete list of ContextPropertiesBase class members, see the ContextPropertiesBase Members topic.

Public Instance Properties

Item Gets or sets the value of a property

See Also

ContextPropertiesBase Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.Credentials.html0000644000175000017500000000557310412737564027344 0ustar slomoslomo Credentials Property
log4net SDK Reference

WindowsSecurityContext.Credentials Property

Gets or sets the impersonation mode for this security context

[Visual Basic]
Public Property Credentials As ImpersonationMode
[C#]
public WindowsSecurityContext.ImpersonationMode Credentials {get; set;}

Property Value

The impersonation mode for this security context

Remarks

Impersonate either a user with user credentials or revert this thread to the credentials of the process. The value is one of the WindowsSecurityContext.ImpersonationMode enum.

The default value is User

When the mode is set to User the user's credentials are established using the UserName, DomainName and Password values.

When the mode is set to Process no other properties need to be set. If the calling thread is impersonating then it will be reverted back to the process credentials.

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Info_overload_1.html0000644000175000017500000000654010412737546024677 0ustar slomoslomo LogImpl.Info Method (Object, Exception)
log4net SDK Reference

LogImpl.Info Method (Object, Exception)

Logs a message object with the INFO level.

[Visual Basic]
Overridable Overloads Public Sub Info( _
   ByVal message As Object, _
   ByVal exception As Exception _
) _
    Implements ILog.Info
[C#]
public virtual void Info(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Implements

ILog.Info

Remarks

Logs a message object with the INFO level including the stack trace of the Exception exception passed as a parameter.

See the Info form for more detailed information.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Info Overload List | Info


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventConstructor2.html0000644000175000017500000001002010412737544025231 0ustar slomoslomo LoggingEvent Constructor (Type, ILoggerRepository, LoggingEventData, FixFlags)
log4net SDK Reference

LoggingEvent Constructor (Type, ILoggerRepository, LoggingEventData, FixFlags)

Initializes a new instance of the LoggingEvent class using specific data.

[Visual Basic]
Overloads Public Sub New( _
   ByVal callerStackBoundaryDeclaringType As Type, _
   ByVal repository As ILoggerRepository, _
   ByVal data As LoggingEventData, _
   ByVal fixedData As FixFlags _
)
[C#]
public LoggingEvent(
   Type callerStackBoundaryDeclaringType,
   ILoggerRepository repository,
   LoggingEventData data,
   FixFlags fixedData
);

Parameters

callerStackBoundaryDeclaringType
The declaring type of the method that is the stack boundary into the logging system for this call.
repository
The repository this event is logged in.
data
Data used to initialize the logging event.
fixedData
The fields in the struct that have already been fixed.

Remarks

This constructor is provided to allow a LoggingEvent to be created independently of the log4net framework. This can be useful if you require a custom serialization scheme.

Use the GetLoggingEventData method to obtain an instance of the LoggingEventData class.

The fixedData parameter should be used to specify which fields in the data struct have been preset. Fields not specified in the fixedData will be captured from the environment if requested or fixed.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.html0000644000175000017500000001206410412737546020663 0ustar slomoslomo log4net.Filter
log4net SDK Reference

log4net.Filter Namespace

Output event filters.

Namespace hierarchy

Classes

Class Description
DenyAllFilter This filter drops all LoggingEvent.
FilterSkeleton Subclass this type to implement customized logging event filtering
LevelMatchFilter This is a very simple filter based on Level matching.
LevelRangeFilter This is a simple filter based on Level matching.
LoggerMatchFilter Simple filter to match a string in the event's logger name.
MdcFilter Simple filter to match a keyed string in the MDC
NdcFilter Simple filter to match a string in the NDC
PropertyFilter Simple filter to match a string an event property
StringMatchFilter Simple filter to match a string in the rendered message

Interfaces

Interface Description
IFilter Implement this interface to provide customized logging event filtering

Enumerations

Enumeration Description
FilterDecision The return result from Decide

log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextPropertiesMembers.html0000644000175000017500000001021310412737564026510 0ustar slomoslomo ThreadContextProperties Members
log4net SDK Reference

ThreadContextProperties Members

ThreadContextProperties overview

Public Instance Properties

Item Gets or sets the value of a property

Public Instance Methods

Clear Clear all properties
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove a property
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.html0000644000175000017500000000553010412737520025655 0ustar slomoslomo AdoNetAppenderParameter Class
log4net SDK Reference

AdoNetAppenderParameter Class

Parameter type used by the AdoNetAppender.

For a list of all members of this type, see AdoNetAppenderParameter Members.

System.Object
   log4net.Appender.AdoNetAppenderParameter

[Visual Basic]
Public Class AdoNetAppenderParameter
[C#]
public class AdoNetAppenderParameter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class provides the basic database parameter properties as defined by the IDbDataParameter interface.

This type can be subclassed to provide database specific functionality. The two methods that are called externally are Prepare and FormatValue.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

AdoNetAppenderParameter Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLogger_overload_1.html0000644000175000017500000000612410412737544027026 0ustar slomoslomo LoggerManager.GetLogger Method (String, String)
log4net SDK Reference

LoggerManager.GetLogger Method (String, String)

Retrieves or creates a named logger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repository As String, _
   ByVal name As String _
) As ILogger
[C#]
public static ILogger GetLogger(
   string repository,
   string name
);

Parameters

repository
The repository to lookup in.
name
The name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Retrieves a logger named as the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.

By default, loggers do not have a set level but inherit it from the hierarchy. This is one of the central features of log4net.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppenderProperties.html0000644000175000017500000001334510412737526025607 0ustar slomoslomo FileAppender Properties
log4net SDK Reference

FileAppender Properties

The properties of the FileAppender class are listed below. For a complete list of FileAppender class members, see the FileAppender Members topic.

Public Instance Properties

AppendToFile Gets or sets a flag that indicates whether the file should be appended to or overwritten.
Encoding Gets or sets Encoding used to write to the file.
ErrorHandler (inherited from TextWriterAppender) Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
File Gets or sets the path to the file that logging will be written to.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush (inherited from TextWriterAppender) Gets or set whether the appender will flush at the end of each append operation.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LockingModel Gets or sets the LockingModel used to handle locking of the file.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
SecurityContext Gets or sets the SecurityContext used to write to the file.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
Writer (inherited from TextWriterAppender) Sets the TextWriter where the log output will go.

Protected Instance Properties

QuietWriter (inherited from TextWriterAppender) Gets or sets the QuietTextWriter where logging events will be written to.
RequiresLayout (inherited from TextWriterAppender) This appender requires a log4net.Layout to be set.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4jConstructor2.html0000644000175000017500000000531310412737552027215 0ustar slomoslomo XmlLayoutSchemaLog4j Constructor (Boolean)
log4net SDK Reference

XmlLayoutSchemaLog4j Constructor (Boolean)

Constructs an XMLLayoutSchemaLog4j.

[Visual Basic]
Overloads Public Sub New( _
   ByVal locationInfo As Boolean _
)
[C#]
public XmlLayoutSchemaLog4j(
   bool locationInfo
);

Parameters

locationInfo
Missing <param> documentation for locationInfo

Remarks

The LocationInfo option takes a boolean value. By default, it is set to false which means there will be no location information output by this layout. If the the option is set to true, then the file name and line number of the statement at the origin of the log statement will be output.

If you are embedding this layout within an SMTPAppender then make sure to set the LocationInfo option of that appender as well.

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace | XmlLayoutSchemaLog4j Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameterConstructor.html0000644000175000017500000000344310412737520030124 0ustar slomoslomo AdoNetAppenderParameter Constructor
log4net SDK Reference

AdoNetAppenderParameter Constructor 

Initializes a new instance of the AdoNetAppenderParameter class.

[Visual Basic]
Public Sub New()
[C#]
public AdoNetAppenderParameter();

Remarks

Default constructor for the AdoNetAppenderParameter class.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.Exists_overloads.html0000644000175000017500000000345010412737544026370 0ustar slomoslomo Exists Method
log4net SDK Reference

LoggerManager.Exists Method

Returns the named logger if it exists.

Overload List

Returns the named logger if it exists.

public static ILogger Exists(Assembly,string);

Returns the named logger if it exists.

public static ILogger Exists(string,string);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBaseProperties.html0000644000175000017500000000407410412737526030747 0ustar slomoslomo FileAppender.LockingModelBase Properties
log4net SDK Reference

FileAppender.LockingModelBase Properties

The properties of the FileAppender.LockingModelBase class are listed below. For a complete list of FileAppender.LockingModelBase class members, see the FileAppender.LockingModelBase Members topic.

Public Instance Properties

CurrentAppender Gets or sets the FileAppender for this LockingModel

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.ToArray.html0000644000175000017500000000372310412737522026321 0ustar slomoslomo AppenderCollection.ToArray Method
log4net SDK Reference

AppenderCollection.ToArray Method 

Return the collection elements as an array

[Visual Basic]
Overridable Public Function ToArray() As IAppender()
[C#]
public virtual IAppender[] ToArray();

Return Value

the array

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.ToArray

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Verbose.html0000644000175000017500000000360710412737542022777 0ustar slomoslomo Level.Verbose Field
log4net SDK Reference

Level.Verbose Field

The Verbose level designates fine-grained informational events that are most useful to debug an application.

[Visual Basic]
Public Shared ReadOnly Verbose As Level
[C#]
public static readonly Level Verbose;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Verbose

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.html0000644000175000017500000002374610412737562023165 0ustar slomoslomo PatternString Class
log4net SDK Reference

PatternString Class

This class implements a patterned string.

For a list of all members of this type, see PatternString Members.

System.Object
   log4net.Util.PatternString

[Visual Basic]
Public Class PatternString
    Implements IOptionHandler
[C#]
public class PatternString : IOptionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This string has embedded patterns that are resolved and expanded when the string is formatted.

This class functions similarly to the PatternLayout in that it accepts a pattern and renders it to a string. Unlike the PatternLayout however the PatternString does not render the properties of a specific LoggingEvent but of the process in general.

The recognized conversion pattern names are:

Conversion Pattern Name Effect
appdomain

Used to output the friendly name of the current AppDomain.

date

Used to output the date of the logging event in the local time zone. To output the date in universal time use the %utcdate pattern. The date conversion specifier may be followed by a date format specifier enclosed between braces. For example, %date{HH:mm:ss,fff} or %date{dd MMM yyyy HH:mm:ss,fff}. If no date format specifier is given then ISO8601 format is assumed (Iso8601DateFormatter).

The date format specifier admits the same syntax as the time pattern string of the ToString.

For better results it is recommended to use the log4net date formatters. These can be specified using one of the strings "ABSOLUTE", "DATE" and "ISO8601" for specifying AbsoluteTimeDateFormatter, DateTimeDateFormatter and respectively Iso8601DateFormatter. For example, %date{ISO8601} or %date{ABSOLUTE}.

These dedicated date formatters perform significantly better than ToString.

env

Used to output the a specific environment variable. The key to lookup must be specified within braces and directly following the pattern specifier, e.g. %env{COMPUTERNAME} would include the value of the COMPUTERNAME environment variable.

The env pattern is not supported on the .NET Compact Framework.

identity

Used to output the user name for the currently active user (Principal.Identity.Name).

newline

Outputs the platform dependent line separator character or characters.

This conversion pattern name offers the same performance as using non-portable line separator strings such as "\n", or "\r\n". Thus, it is the preferred way of specifying a line separator.

processid

Used to output the system process ID for the current process.

property

Used to output a specific context property. The key to lookup must be specified within braces and directly following the pattern specifier, e.g. %property{user} would include the value from the property that is keyed by the string 'user'. Each property value that is to be included in the log must be specified separately. Properties are stored in logging contexts. By default the log4net:HostName property is set to the name of machine on which the event was originally logged.

If no key is specified, e.g. %property then all the keys and their values are printed in a comma separated list.

The properties of an event are combined from a number of different contexts. These are listed below in the order in which they are searched.

the thread properties
The Properties that are set on the current thread. These properties are shared by all events logged on this thread.
the global properties
The Properties that are set globally. These properties are shared by all the threads in the AppDomain.
random

Used to output a random string of characters. The string is made up of uppercase letters and numbers. By default the string is 4 characters long. The length of the string can be specified within braces directly following the pattern specifier, e.g. %random{8} would output an 8 character string.

username

Used to output the WindowsIdentity for the currently active user.

utcdate

Used to output the date of the logging event in universal time. The date conversion specifier may be followed by a date format specifier enclosed between braces. For example, %utcdate{HH:mm:ss,fff} or %utcdate{dd MMM yyyy HH:mm:ss,fff}. If no date format specifier is given then ISO8601 format is assumed (Iso8601DateFormatter).

The date format specifier admits the same syntax as the time pattern string of the ToString.

For better results it is recommended to use the log4net date formatters. These can be specified using one of the strings "ABSOLUTE", "DATE" and "ISO8601" for specifying AbsoluteTimeDateFormatter, DateTimeDateFormatter and respectively Iso8601DateFormatter. For example, %utcdate{ISO8601} or %utcdate{ABSOLUTE}.

These dedicated date formatters perform significantly better than ToString.

%

The sequence %% outputs a single percent sign.

Additional pattern converters may be registered with a specific PatternString instance using AddConverter or AddConverter.

See the PatternLayout for details on the format modifiers supported by the patterns.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

PatternString Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.CloneStack.html0000644000175000017500000000470610412737520022063 0ustar slomoslomo NDC.CloneStack Method
log4net SDK Reference

NDC.CloneStack Method 

Creates a clone of the stack of context information.

[Visual Basic]
Public Shared Function CloneStack() As Stack
[C#]
public static Stack CloneStack();

Return Value

A clone of the context info for this thread.

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

The results of this method can be passed to the Inherit method to allow child threads to inherit the context of their parent thread.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Level.html0000644000175000017500000000353410412737556026021 0ustar slomoslomo Level Property
log4net SDK Reference

Logger.Level Property

Gets or sets the assigned Level, if any, for this Logger.

[Visual Basic]
Overridable Public Property Level As Level
[C#]
public virtual log4net.Core.Level Level {get; set;}

Property Value

The Level of this logger.

Remarks

The assigned Level can be null.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderProperties.html0000644000175000017500000000732310412737524026327 0ustar slomoslomo ConsoleAppender Properties
log4net SDK Reference

ConsoleAppender Properties

The properties of the ConsoleAppender class are listed below. For a complete list of ConsoleAppender class members, see the ConsoleAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Target Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.OnClose.html0000644000175000017500000000353010412737536026331 0ustar slomoslomo TextWriterAppender.OnClose Method
log4net SDK Reference

TextWriterAppender.OnClose Method 

Close this appender instance. The underlying stream or writer is also closed.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Closed appenders cannot be reused.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.m_parameters.html0000644000175000017500000000403110412737520026465 0ustar slomoslomo AdoNetAppender.m_parameters Field
log4net SDK Reference

AdoNetAppender.m_parameters Field

The list of AdoNetAppenderParameter objects.

[Visual Basic]
Protected m_parameters As ArrayList
[C#]
protected ArrayList m_parameters;

Remarks

The list of AdoNetAppenderParameter objects.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.Root.html0000644000175000017500000000332510412737556026372 0ustar slomoslomo Root Property
log4net SDK Reference

Hierarchy.Root Property

Get the root of this hierarchy

[Visual Basic]
Public ReadOnly Property Root As Logger
[C#]
public Logger Root {get;}

Remarks

Get the root of this hierarchy.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.MdcFilter.html0000644000175000017500000000555110412737550022531 0ustar slomoslomo MdcFilter Class
log4net SDK Reference

MdcFilter Class

Simple filter to match a keyed string in the MDC

For a list of all members of this type, see MdcFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.StringMatchFilter
         log4net.Filter.PropertyFilter
            log4net.Filter.MdcFilter

[Visual Basic]
Public Class MdcFilter
    Inherits PropertyFilter
[C#]
public class MdcFilter : PropertyFilter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Simple filter to match a keyed string in the MDC

As the MDC has been replaced with layered properties the PropertyFilter should be used instead.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

MdcFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumerator.Reset.html0000644000175000017500000000401210412737542031714 0ustar slomoslomo LevelCollection.ILevelCollectionEnumerator.Reset Method
log4net SDK Reference

LevelCollection.ILevelCollectionEnumerator.Reset Method 

Sets the enumerator to its initial position, before the first element in the collection.

[Visual Basic]
Sub Reset()
[C#]
void Reset();

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Reset

See Also

LevelCollection.ILevelCollectionEnumerator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.IsDisabled.html0000644000175000017500000000536510412737556027460 0ustar slomoslomo Hierarchy.IsDisabled Method
log4net SDK Reference

Hierarchy.IsDisabled Method 

Test if this hierarchy is disabled for the specified Level.

[Visual Basic]
Public Function IsDisabled( _
   ByVal level As Level _
) As Boolean
[C#]
public bool IsDisabled(
   Level level
);

Parameters

level
The level to check against.

Return Value

true if the repository is disabled for the level argument, false otherwise.

Remarks

If this hierarchy has not been configured then this method will always return true.

This method will return true if this repository is disabled for level object passed as parameter and false otherwise.

See also the Threshold property.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock.html0000644000175000017500000000344110412737526030475 0ustar slomoslomo FileAppender.ExclusiveLock.ReleaseLock Method
log4net SDK Reference

FileAppender.ExclusiveLock.ReleaseLock Method 

Release the lock on the file

[Visual Basic]
Overrides Public Sub ReleaseLock()
[C#]
public override void ReleaseLock();

Remarks

Does nothing. The lock will be released when the file is closed.

See Also

FileAppender.ExclusiveLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriter.Write_overloads.html0000644000175000017500000001741510412737560030362 0ustar slomoslomo Write Method
log4net SDK Reference

CountingQuietTextWriter.Write Method

Writes a character to the underlying writer and counts the number of bytes written.

Overload List

Inherited from TextWriter.

public virtual void Write(bool);

Writes a character to the underlying writer and counts the number of bytes written.

public override void Write(char);

Inherited from TextWriter.

public virtual void Write(char[]);

Writes a buffer to the underlying writer and counts the number of bytes written.

public override void Write(char[],int,int);

Inherited from TextWriter.

public virtual void Write(decimal);

Inherited from TextWriter.

public virtual void Write(double);

Inherited from TextWriter.

public virtual void Write(int);

Inherited from TextWriter.

public virtual void Write(long);

Inherited from TextWriter.

public virtual void Write(object);

Inherited from TextWriter.

public virtual void Write(float);

Writes a string to the output and counts the number of bytes written.

public override void Write(string);

Inherited from TextWriter.

public virtual void Write(string,object);

Inherited from TextWriter.

public virtual void Write(string,object,object);

Inherited from TextWriter.

public virtual void Write(string,object,object,object);

Inherited from TextWriter.

public virtual void Write(string,params object[]);

Inherited from TextWriter.

public virtual void Write(uint);

Inherited from TextWriter.

public virtual void Write(ulong);

See Also

CountingQuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLock.html0000644000175000017500000000566310412737564023571 0ustar slomoslomo ReaderWriterLock Class
log4net SDK Reference

ReaderWriterLock Class

Defines a lock that supports single writers and multiple readers

For a list of all members of this type, see ReaderWriterLock Members.

System.Object
   log4net.Util.ReaderWriterLock

[Visual Basic]
NotInheritable Public Class ReaderWriterLock
[C#]
public sealed class ReaderWriterLock

Thread Safety

This type is not safe for multithreaded operations.

Remarks

ReaderWriterLock is used to synchronize access to a resource. At any given time, it allows either concurrent read access for multiple threads, or write access for a single thread. In a situation where a resource is changed infrequently, a ReaderWriterLock provides better throughput than a simple one-at-a-time lock, such as Monitor.

If a platform does not support a System.Threading.ReaderWriterLock implementation then all readers and writers are serialized. Therefore the caller must not rely on multiple simultaneous readers.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ReaderWriterLock Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyMembers.html0000644000175000017500000003303310412737556026762 0ustar slomoslomo Hierarchy Members
log4net SDK Reference

Hierarchy Members

Hierarchy overview

Public Instance Constructors

Hierarchy Overloaded. Initializes a new instance of the Hierarchy class.

Public Instance Properties

Configured (inherited from LoggerRepositorySkeleton) Flag indicates if this repository has been configured.
EmittedNoAppenderWarning Has no appender warning been emitted
LevelMap (inherited from LoggerRepositorySkeleton) Get the level map for the Repository.
LoggerFactory Gets or sets the default ILoggerFactory instance.
Name (inherited from LoggerRepositorySkeleton) The name of the repository
PluginMap (inherited from LoggerRepositorySkeleton) The plugin map for this repository.
Properties (inherited from LoggerRepositorySkeleton) Repository specific properties
RendererMap (inherited from LoggerRepositorySkeleton) RendererMap accesses the object renderer map for this repository.
Root Get the root of this hierarchy
Threshold (inherited from LoggerRepositorySkeleton) The threshold for all events in this repository

Public Instance Methods

AddRenderer (inherited from LoggerRepositorySkeleton) Adds an object renderer for a specific class.
Clear Clear all logger definitions from the internal hashtable
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Exists Test if a logger exists
GetAppenders Returns all the Appenders that are currently configured
GetCurrentLoggers Returns all the currently defined loggers in the hierarchy as an Array
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLoggerOverloaded. Return a new logger instance named as the first parameter using the default factory.
GetType (inherited from Object) Gets the Type of the current instance.
IsDisabled Test if this hierarchy is disabled for the specified Level.
Log Log the logEvent through this hierarchy.
RaiseConfigurationChanged (inherited from LoggerRepositorySkeleton) Raise a configuration changed event on this repository
ResetConfiguration Reset all values contained in this hierarchy instance to their default.
Shutdown Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

ConfigurationChanged (inherited from LoggerRepositorySkeleton) Event to notify that the repository has had its configuration changed.
ConfigurationReset (inherited from LoggerRepositorySkeleton) Event to notify that the repository has had its configuration reset.
LoggerCreatedEvent Event used to notify that a logger has been created.
ShutdownEvent (inherited from LoggerRepositorySkeleton) Event to notify that the repository has been shutdown.

Protected Instance Methods

BasicRepositoryConfigure Initialize the log4net system using the specified appender
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnConfigurationChanged (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository has had its configuration changed
OnConfigurationReset (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository has had its configuration reset
OnLoggerCreationEvent Sends a logger creation event to all registered listeners
OnShutdown (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository is shutting down
XmlRepositoryConfigure Initialize the log4net system using the specified config

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepositoryProperties.html0000644000175000017500000000626210412737554027323 0ustar slomoslomo ILoggerRepository Properties
log4net SDK Reference

ILoggerRepository Properties

The properties of the ILoggerRepository interface are listed below. For a complete list of ILoggerRepository interface members, see the ILoggerRepository Members topic.

Public Instance Properties

Configured Flag indicates if this repository has been configured.
LevelMap Get the level map for the Repository.
Name The name of the repository
PluginMap The plugin map for this repository.
Properties Repository specific properties
RendererMap RendererMap accesses the object renderer map for this repository.
Threshold The threshold for all events in this repository

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeleton.Attach.html0000644000175000017500000000506710412737554025045 0ustar slomoslomo PluginSkeleton.Attach Method
log4net SDK Reference

PluginSkeleton.Attach Method 

Attaches this plugin to a ILoggerRepository.

[Visual Basic]
Overridable Public Sub Attach( _
   ByVal repository As ILoggerRepository _
) _
    Implements IPlugin.Attach
[C#]
public virtual void Attach(
   ILoggerRepository repository
);

Parameters

repository
The ILoggerRepository that this plugin should be attached to.

Implements

IPlugin.Attach

Remarks

A plugin may only be attached to a single repository.

This method is called when the plugin is attached to the repository.

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Clone.html0000644000175000017500000000522210412737522025774 0ustar slomoslomo AppenderCollection.Clone Method
log4net SDK Reference

AppenderCollection.Clone Method 

Creates a shallow copy of the AppenderCollection.

[Visual Basic]
Overridable Public Function Clone() As Object _
    Implements ICloneable.Clone
[C#]
public virtual object Clone();

Return Value

A new AppenderCollection with a shallow copy of the collection data.

Implements

ICloneable.Clone

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.Clone

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor.html0000644000175000017500000000356610412737524031655 0ustar slomoslomo BackColor Property
log4net SDK Reference

ColoredConsoleAppender.LevelColors.BackColor Property

The mapped background color for the specified level

[Visual Basic]
Public Property BackColor As Colors
[C#]
public ColoredConsoleAppender.Colors BackColor {get; set;}

Remarks

Required property. The mapped background color for the specified level.

See Also

ColoredConsoleAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.html0000644000175000017500000001022110412737534023563 0ustar slomoslomo SmtpAppender Class
log4net SDK Reference

SmtpAppender Class

Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.

For a list of all members of this type, see SmtpAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.BufferingAppenderSkeleton
         log4net.Appender.SmtpAppender

[Visual Basic]
Public Class SmtpAppender
    Inherits BufferingAppenderSkeleton
[C#]
public class SmtpAppender : BufferingAppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The number of logging events delivered in this e-mail depend on the value of BufferSize option. The SmtpAppender keeps only the last BufferSize logging events in its cyclic buffer. This keeps memory requirements at a reasonable level while still delivering useful application context.

CAUTION    Authentication and setting the server Port are only available on the MS .NET 1.1 runtime. For these features to be enabled you need to ensure that you are using a version of the log4net assembly that is built against the MS .NET 1.1 framework and that you are running the your application on the MS .NET 1.1 runtime. On all other platforms only sending unauthenticated messages to a server listening on port 25 (the default) is supported.

Authentication is supported by setting the Authentication property to either Basic or Ntlm. If using Basic authentication then the Username and Password properties must also be set.

To set the SMTP server port use the Port property. The default port is 25.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

SmtpAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_1.html0000644000175000017500000000504410412737540030012 0ustar slomoslomo XmlConfigurator.Configure Method ()
log4net SDK Reference

XmlConfigurator.Configure Method ()

Automatically configures the log4net system based on the application's configuration settings.

[Visual Basic]
Overloads Public Shared Sub Configure()
[C#]
public static void Configure();

Remarks

Each application has a configuration file. This has the same name as the application with '.config' appended. This file is XML and calling this function prompts the configurator to look in that file for a section called log4net that contains the configuration data.

To use this method to configure log4net you must specify the Log4NetConfigurationSectionHandler section handler for the log4net configuration section. See the Log4NetConfigurationSectionHandler for an example.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List | Log4NetConfigurationSectionHandler


log4net-1.2.10/doc/release/sdk/log4net.Repository.IXmlRepositoryConfiguratorMethods.html0000644000175000017500000000375510412737554030502 0ustar slomoslomo IXmlRepositoryConfigurator Methods
log4net SDK Reference

IXmlRepositoryConfigurator Methods

The methods of the IXmlRepositoryConfigurator interface are listed below. For a complete list of IXmlRepositoryConfigurator interface members, see the IXmlRepositoryConfigurator Members topic.

Public Instance Methods

Configure Initialize the repository using the specified config

See Also

IXmlRepositoryConfigurator Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.Item.html0000644000175000017500000000467510412737560023614 0ustar slomoslomo Item Property
log4net SDK Reference

CyclicBuffer.Item Property

Gets the ith oldest event currently in the buffer.

[Visual Basic]
Public Default ReadOnly Property Item( _
   ByVal i As Integer _
) As LoggingEvent
[C#]
public log4net.Core.LoggingEvent this[
   int i
] {get;}

Parameters

i
Missing <param> documentation for i

Property Value

The ith oldest event currently in the buffer.

Remarks

If i is outside the range 0 to the number of events currently in the buffer, then null is returned.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderFields.html0000644000175000017500000000457410412737524026716 0ustar slomoslomo ColoredConsoleAppender Fields
log4net SDK Reference

ColoredConsoleAppender Fields

The fields of the ColoredConsoleAppender class are listed below. For a complete list of ColoredConsoleAppender class members, see the ColoredConsoleAppender Members topic.

Public Static (Shared) Fields

ConsoleError The Target to use when writing to the Console standard error output stream.
ConsoleOut The Target to use when writing to the Console standard output stream.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttributeConstructor3.html0000644000175000017500000000472410412737566032401 0ustar slomoslomo TypeConverterAttribute Constructor (Type)
log4net SDK Reference

TypeConverterAttribute Constructor (Type)

Create a new type converter attribute for the specified type

[Visual Basic]
Overloads Public Sub New( _
   ByVal converterType As Type _
)
[C#]
public TypeConverterAttribute(
   Type converterType
);

Parameters

converterType
The type of the type converter

Remarks

The type specified must implement the IConvertFrom or the IConvertTo interfaces.

See Also

TypeConverterAttribute Class | log4net.Util.TypeConverters Namespace | TypeConverterAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeletonMembers.html0000644000175000017500000002242610412737522025746 0ustar slomoslomo AppenderSkeleton Members
log4net SDK Reference

AppenderSkeleton Members

AppenderSkeleton overview

Public Instance Properties

ErrorHandler Gets or sets the IErrorHandler for this appender.
FilterHead The filter chain.
Layout Gets or sets the ILayout for this appender.
Name Gets or sets the name of this appender.
Threshold Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter Adds a filter to the end of the filter chain.
ClearFilters Clears the filter list for this appender.
Close Closes the appender and release resources.
DoAppendOverloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

AppenderSkeleton Constructor Default constructor

Protected Instance Properties

RequiresLayout Tests if this appender requires a Layout to be set.

Protected Instance Methods

AppendOverloaded. Append a bulk array of logging events.
FilterEvent Test if the logging event should we output by this appender
Finalize Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck Called before Append as a precondition.
RenderLoggingEventOverloaded. Renders the LoggingEvent to a string.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.html0000644000175000017500000000754110412737546022203 0ustar slomoslomo log4net.DateFormatter
log4net SDK Reference

log4net.DateFormatter Namespace

Date formatting types.

Namespace hierarchy

Classes

Class Description
AbsoluteTimeDateFormatter Formats a DateTime as "HH:mm:ss,fff".
DateTimeDateFormatter Formats a DateTime as "dd MMM yyyy HH:mm:ss,fff"
Iso8601DateFormatter Formats the DateTime as "yyyy-MM-dd HH:mm:ss,fff".
SimpleDateFormatter Formats the DateTime using the ToString method.

Interfaces

Interface Description
IDateFormatter Render a DateTime as a string.

././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverter.Convert_overload_2.htmllog4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverter.Convert_overload_2.html0000644000175000017500000000651310412737552032563 0ustar slomoslomo PatternLayoutConverter.Convert Method (TextWriter, Object)
log4net SDK Reference

PatternLayoutConverter.Convert Method (TextWriter, Object)

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

[Visual Basic]
Overrides Overloads Protected Sub Convert( _
   ByVal writer As TextWriter, _
   ByVal state As Object _
)
[C#]
protected override void Convert(
   TextWriter writer,
   object state
);

Parameters

writer
TextWriter that will receive the formatted result.
state
The state object on which the pattern converter should be executed.

Remarks

Missing <remarks> documentation for M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,System.Object)

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace | PatternLayoutConverter.Convert Overload List


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositoryConfigurationResetEventHandler.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositoryConfigurationResetEventHandler.htm0000644000175000017500000000556610412737554033022 0ustar slomoslomo LoggerRepositoryConfigurationResetEventHandler Delegate
log4net SDK Reference

LoggerRepositoryConfigurationResetEventHandler Delegate

Delegate used to handle logger repository configuration reset event notifications

[Visual Basic]
Public Delegate Sub LoggerRepositoryConfigurationResetEventHandler( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
public delegate void LoggerRepositoryConfigurationResetEventHandler(
   object sender,
   EventArgs e
);

Parameters

sender
The ILoggerRepository that has had its configuration reset.
e
Empty event args

Remarks

Delegate used to handle logger repository configuration reset event notifications.

Requirements

Namespace: log4net.Repository

Assembly: log4net (in log4net.dll)

See Also

log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.WarnFormat_overload_1.html0000644000175000017500000001040310412737546026055 0ustar slomoslomo LogImpl.WarnFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

LogImpl.WarnFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the WARN level.

[Visual Basic]
Overridable Overloads Public Sub WarnFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.WarnFormat
[C#]
public virtual void WarnFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.WarnFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.WarnFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.IdentityProperty.html0000644000175000017500000000414210412737544026246 0ustar slomoslomo LoggingEvent.IdentityProperty Field
log4net SDK Reference

LoggingEvent.IdentityProperty Field

The key into the Properties map for the thread identity value.

[Visual Basic]
Public Const IdentityProperty As String = "log4net:Identity"
[C#]
public const string IdentityProperty = "log4net:Identity";

Remarks

Missing <remarks> documentation for F:log4net.Core.LoggingEvent.IdentityProperty

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.html0000644000175000017500000000543310412737516021451 0ustar slomoslomo LogManager Class
log4net SDK Reference

LogManager Class

This class is used by client applications to request logger instances.

For a list of all members of this type, see LogManager Members.

System.Object
   log4net.LogManager

[Visual Basic]
NotInheritable Public Class LogManager
[C#]
public sealed class LogManager

Thread Safety

This type is safe for multithreaded operations.

Remarks

This class has static methods that are used by a client to request a logger instance. The GetLogger method is used to retrieve a logger.

See the ILog interface for more details.

Example

Simple example of logging messages

[C#]
ILog log = LogManager.GetLogger("application-log");

log.Info("Application Start");
log.Debug("This is a debug message");

if (log.IsDebugEnabled)
{
    log.Debug("This is another debug message");
}

Requirements

Namespace: log4net

Assembly: log4net (in log4net.dll)

See Also

LogManager Members | log4net Namespace | ILog


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfigurator.html0000644000175000017500000000551010412737536024243 0ustar slomoslomo BasicConfigurator Class
log4net SDK Reference

BasicConfigurator Class

Use this class to quickly configure a Hierarchy.

For a list of all members of this type, see BasicConfigurator Members.

System.Object
   log4net.Config.BasicConfigurator

[Visual Basic]
NotInheritable Public Class BasicConfigurator
[C#]
public sealed class BasicConfigurator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Allows very simple programmatic configuration of log4net.

Only one appender can be configured using this configurator. The appender is set at the root of the hierarchy and all logging events will be delivered to that appender.

Appenders can also implement the IOptionHandler interface. Therefore they would require that the ActivateOptions method be called after the appenders properties have been configured.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

BasicConfigurator Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ConverterInfoMembers.html0000644000175000017500000001077110412737562027254 0ustar slomoslomo PatternString.ConverterInfo Members
log4net SDK Reference

PatternString.ConverterInfo Members

PatternString.ConverterInfo overview

Public Instance Constructors

PatternString.ConverterInfo Constructor default constructor

Public Instance Properties

Name Gets or sets the name of the conversion pattern
Type Gets or sets the type of the converter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PatternString.ConverterInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.RemoveAppender_overload_1.html0000644000175000017500000000576310412737556032007 0ustar slomoslomo Logger.RemoveAppender Method (String)
log4net SDK Reference

Logger.RemoveAppender Method (String)

Remove the appender passed as parameter form the list of appenders.

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual IAppender RemoveAppender(
   string name
);

Parameters

name
The name of the appender to remove

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

Remove the named appender passed as parameter form the list of appenders. The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfo.html0000644000175000017500000000470510412737560023277 0ustar slomoslomo FormattingInfo Class
log4net SDK Reference

FormattingInfo Class

Contain the information obtained when parsing formatting modifiers in conversion modifiers.

For a list of all members of this type, see FormattingInfo Members.

System.Object
   log4net.Util.FormattingInfo

[Visual Basic]
Public Class FormattingInfo
[C#]
public class FormattingInfo

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Holds the formatting information extracted from the format string by the PatternParser. This is used by the PatternConverter objects when rendering the output.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

FormattingInfo Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.XmlRepositoryConfigure.html0000644000175000017500000000477610412737556032164 0ustar slomoslomo Hierarchy.XmlRepositoryConfigure Method
log4net SDK Reference

Hierarchy.XmlRepositoryConfigure Method 

Initialize the log4net system using the specified config

[Visual Basic]
Protected Sub XmlRepositoryConfigure( _
   ByVal element As XmlElement _
)
[C#]
protected void XmlRepositoryConfigure(
   XmlElement element
);

Parameters

element
the element containing the root of the config

Remarks

This method provides the same functionality as the Configure method implemented on this object, but it is protected and therefore can be called by subclasses.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumerator.Current.html0000644000175000017500000000367310412737542032270 0ustar slomoslomo Current Property
log4net SDK Reference

LevelCollection.ILevelCollectionEnumerator.Current Property

Gets the current element in the collection.

[Visual Basic]
Property Current As Level
[C#]
Level Current {get;}

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Current

See Also

LevelCollection.ILevelCollectionEnumerator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.ConfiguratorAttribute.Configure.html0000644000175000017500000000543710412737536027115 0ustar slomoslomo ConfiguratorAttribute.Configure Method
log4net SDK Reference

ConfiguratorAttribute.Configure Method 

Configures the ILoggerRepository for the specified assembly.

[Visual Basic]
MustOverride Public Sub Configure( _
   ByVal sourceAssembly As Assembly, _
   ByVal targetRepository As ILoggerRepository _
)
[C#]
public abstract void Configure(
   Assembly sourceAssembly,
   ILoggerRepository targetRepository
);

Parameters

sourceAssembly
The assembly that this attribute was defined on.
targetRepository
The repository to configure.

Remarks

Abstract method implemented by a subclass. When this method is called the subclass should configure the targetRepository.

See Also

ConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.IsInfoEnabled.html0000644000175000017500000000457110412737516022732 0ustar slomoslomo IsInfoEnabled Property
log4net SDK Reference

ILog.IsInfoEnabled Property

Checks if this logger is enabled for the Info level.

[Visual Basic]
Property IsInfoEnabled As Boolean
[C#]
bool IsInfoEnabled {get;}

Property Value

true if this logger is enabled for Info events, false otherwise.

Remarks

For more information see IsDebugEnabled.

See Also

ILog Interface | log4net Namespace | Info | InfoFormat | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Config.DomainAttributeConstructor.html0000644000175000017500000000400110412737536026172 0ustar slomoslomo DomainAttribute Constructor
log4net SDK Reference

DomainAttribute Constructor

Initializes a new instance of the DomainAttribute class.

Overload List

Initializes a new instance of the DomainAttribute class.

public DomainAttribute();

Initialize a new instance of the DomainAttribute class with the name of the domain.

public DomainAttribute(string);

See Also

DomainAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Repository.html0000644000175000017500000000461310412737556027130 0ustar slomoslomo Repository Property
log4net SDK Reference

Logger.Repository Property

Gets the ILoggerRepository where this Logger instance is attached to.

[Visual Basic]
NotOverridable Public ReadOnly Property Repository As ILoggerRepository _
    Implements ILogger.Repository
[C#]
public log4net.Repository.ILoggerRepository Repository {get;}

Property Value

The ILoggerRepository that this logger belongs to.

Implements

ILogger.Repository

Remarks

Gets the ILoggerRepository where this Logger instance is attached to.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Info_overloads.html0000644000175000017500000000344710412737546024645 0ustar slomoslomo Info Method
log4net SDK Reference

LogImpl.Info Method

Logs a message object with the INFO level.

Overload List

Logs a message object with the INFO level.

public virtual void Info(object);

Logs a message object with the INFO level.

public virtual void Info(object,Exception);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStack.ToString.html0000644000175000017500000000373710412737564025673 0ustar slomoslomo ThreadContextStack.ToString Method
log4net SDK Reference

ThreadContextStack.ToString Method 

Gets the current context information for this stack.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

Return Value

Gets the current context information

Remarks

Gets the current context information for this stack.

See Also

ThreadContextStack Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppenderMembers.html0000644000175000017500000002443010412737522026330 0ustar slomoslomo AspNetTraceAppender Members
log4net SDK Reference

AspNetTraceAppender Members

AspNetTraceAppender overview

Public Instance Constructors

AspNetTraceAppender Constructor Initializes a new instance of the AspNetTraceAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Write the logging event to the ASP.NET trace
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

AspNetTraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.HasConnections.html0000644000175000017500000000425710412737534031551 0ustar slomoslomo HasConnections Property
log4net SDK Reference

TelnetAppender.SocketHandler.HasConnections Property

Test if this handler has active connections

[Visual Basic]
Public ReadOnly Property HasConnections As Boolean
[C#]
public bool HasConnections {get;}

Property Value

true if this handler has active connections

Remarks

This property will be true while this handler has active connections, that is at least one connection that the handler will attempt to send a message to.

See Also

TelnetAppender.SocketHandler Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionConstructor1.html0000644000175000017500000000364210412737542025735 0ustar slomoslomo LevelCollection Constructor ()
log4net SDK Reference

LevelCollection Constructor ()

Initializes a new instance of the LevelCollection class that is empty and has the default initial capacity.

[Visual Basic]
Overloads Public Sub New()
[C#]
public LevelCollection();

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.#ctor

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_4.html0000644000175000017500000000562310412737540030020 0ustar slomoslomo XmlConfigurator.Configure Method (ILoggerRepository, XmlElement)
log4net SDK Reference

XmlConfigurator.Configure Method (ILoggerRepository, XmlElement)

Configures the ILoggerRepository using the specified XML element.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal element As XmlElement _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   XmlElement element
);

Parameters

repository
The repository to configure.
element
The element to parse.

Remarks

Loads the log4net configuration from the XML element supplied as element.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttribute.html0000644000175000017500000000577010412737536023771 0ustar slomoslomo PluginAttribute Class
log4net SDK Reference

PluginAttribute Class

Assembly level attribute that specifies a plugin to attach to the repository.

For a list of all members of this type, see PluginAttribute Members.

System.Object
   System.Attribute
      log4net.Config.PluginAttribute

[Visual Basic]
NotInheritable Public Class PluginAttribute
    Inherits Attribute
    Implements IPluginFactory
[C#]
public sealed class PluginAttribute : Attribute, IPluginFactory

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Specifies the type of a plugin to create and attach to the assembly's repository. The plugin type must implement the IPlugin interface.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

PluginAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Item.html0000644000175000017500000000657010412737554025046 0ustar slomoslomo Item Property
log4net SDK Reference

PluginCollection.Item Property

Gets or sets the IPlugin at the specified index.

[Visual Basic]
Overridable Public Default Property Item( _
   ByVal index As Integer _
) As IPlugin
[C#]
public virtual IPlugin this[
   int index
] {get; set;}

Parameters

index
The zero-based index of the element to get or set.

Property Value

The IPlugin at the specified index.

Remarks

Missing <remarks> documentation for P:log4net.Plugin.PluginCollection.Item(System.Int32)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperCreationHandler.html0000644000175000017500000000516210412737546024731 0ustar slomoslomo WrapperCreationHandler Delegate
log4net SDK Reference

WrapperCreationHandler Delegate

Delegate used to handle creation of new wrappers.

[Visual Basic]
Public Delegate Function WrapperCreationHandler( _
   ByVal logger As ILogger _
) As ILoggerWrapper
[C#]
public delegate ILoggerWrapper WrapperCreationHandler(
   ILogger logger
);

Parameters

logger
The logger to wrap in a wrapper.

Return Value

Missing <returns> documentation for T:log4net.Core.WrapperCreationHandler

Remarks

Delegate used to handle creation of new wrappers. This delegate is called from the CreateNewWrapperObject method to construct the wrapper for the specified logger.

The delegate to use is supplied to the WrapperMap constructor.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Info_overloads.html0000644000175000017500000000412110412737516023230 0ustar slomoslomo Info Method
log4net SDK Reference

ILog.Info Method

Log a message object with the Info level.

Overload List

Logs a message object with the Info level.

void Info(object);

Logs a message object with the INFO level including the stack trace of the Exception passed as a parameter.

void Info(object,Exception);

See Also

ILog Interface | log4net Namespace | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextProvider.html0000644000175000017500000000736010412737546025217 0ustar slomoslomo SecurityContextProvider Class
log4net SDK Reference

SecurityContextProvider Class

The SecurityContextProvider providers default SecurityContext instances.

For a list of all members of this type, see SecurityContextProvider Members.

System.Object
   log4net.Core.SecurityContextProvider

[Visual Basic]
Public Class SecurityContextProvider
[C#]
public class SecurityContextProvider

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A configured component that interacts with potentially protected system resources uses a SecurityContext to provide the elevated privileges required. If the SecurityContext object has been not been explicitly provided to the component then the component will request one from this SecurityContextProvider.

By default the DefaultProvider is an instance of SecurityContextProvider which returns only NullSecurityContext objects. This is a reasonable default where the privileges required are not know by the system.

This default behavior can be overridden by subclassing the SecurityContextProvider and overriding the CreateSecurityContext method to return the desired SecurityContext objects. The default provider can be replaced by programmatically setting the value of the DefaultProvider property.

An alternative is to use the log4net.Config.SecurityContextProviderAttribute This attribute can be applied to an assembly in the same way as the log4net.Config.XmlConfiguratorAttribute". The attribute takes the type to use as the SecurityContextProvider as an argument.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

SecurityContextProvider Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Contains.html0000644000175000017500000000602410412737560025246 0ustar slomoslomo EmptyDictionary.Contains Method
log4net SDK Reference

EmptyDictionary.Contains Method 

Determines whether the EmptyDictionary contains an element with the specified key.

[Visual Basic]
NotOverridable Public Function Contains( _
   ByVal key As Object _
) As Boolean _
    Implements IDictionary.Contains
[C#]
public bool Contains(
   object key
);

Parameters

key
The key to locate in the EmptyDictionary.

Return Value

false

Implements

IDictionary.Contains

Remarks

As the collection is empty the Contains method always returns false.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.ToBoolean.html0000644000175000017500000000631210412737562025370 0ustar slomoslomo OptionConverter.ToBoolean Method
log4net SDK Reference

OptionConverter.ToBoolean Method 

Converts a string to a Boolean value.

[Visual Basic]
Public Shared Function ToBoolean( _
   ByVal argValue As String, _
   ByVal defaultValue As Boolean _
) As Boolean
[C#]
public static bool ToBoolean(
   string argValue,
   bool defaultValue
);

Parameters

argValue
String to convert.
defaultValue
The default value.

Return Value

The Boolean value of argValue.

Remarks

If argValue is "true", then true is returned. If argValue is "false", then false is returned. Otherwise, defaultValue is returned.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeletonMembers.html0000644000175000017500000001421310412737554025146 0ustar slomoslomo PluginSkeleton Members
log4net SDK Reference

PluginSkeleton Members

PluginSkeleton overview

Public Instance Properties

Name Gets or sets the name of the plugin.

Public Instance Methods

Attach Attaches this plugin to a ILoggerRepository.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Shutdown Is called when the plugin is to shutdown.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

PluginSkeleton Constructor Constructor

Protected Instance Properties

LoggerRepository The repository for this plugin

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Instance.html0000644000175000017500000000354210412737560025236 0ustar slomoslomo Instance Property
log4net SDK Reference

EmptyDictionary.Instance Property

Gets the singleton instance of the EmptyDictionary.

[Visual Basic]
Public Shared ReadOnly Property Instance As EmptyDictionary
[C#]
public static EmptyDictionary Instance {get;}

Remarks

Gets the singleton instance of the EmptyDictionary.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeleton.ActivateOptions.html0000644000175000017500000000474510412737550027011 0ustar slomoslomo LayoutSkeleton.ActivateOptions Method
log4net SDK Reference

LayoutSkeleton.ActivateOptions Method 

Activate component options

[Visual Basic]
MustOverride Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public abstract void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

This method must be implemented by the subclass.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeletonMethods.html0000644000175000017500000002104010412737524027600 0ustar slomoslomo BufferingAppenderSkeleton Methods
log4net SDK Reference

BufferingAppenderSkeleton Methods

The methods of the BufferingAppenderSkeleton class are listed below. For a complete list of BufferingAppenderSkeleton class members, see the BufferingAppenderSkeleton Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FlushOverloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Close this appender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Sends the events.
SendFromBuffer Sends the contents of the buffer.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.RepositoryHierarchy.html0000644000175000017500000000671010412737554023454 0ustar slomoslomo log4net.RepositoryHierarchy
log4net SDK Reference

log4net.Repository Hierarchy

System.Object

See Also

log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternStringConstructor.html0000644000175000017500000000331610412737562025422 0ustar slomoslomo PatternString Constructor
log4net SDK Reference

PatternString Constructor

Default constructor

Overload List

Default constructor

public PatternString();

Constructs a PatternString

public PatternString(string);

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Hierarchy.html0000644000175000017500000000366710412737556026677 0ustar slomoslomo Hierarchy Property
log4net SDK Reference

Logger.Hierarchy Property

Gets or sets the Hierarchy where this Logger instance is attached to.

[Visual Basic]
Overridable Public Property Hierarchy As Hierarchy
[C#]
public virtual Hierarchy Hierarchy {get; set;}

Property Value

The hierarchy that this logger belongs to.

Remarks

This logger must be attached to a single Hierarchy.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayoutConstructor2.html0000644000175000017500000000512310412737550026046 0ustar slomoslomo PatternLayout Constructor (String)
log4net SDK Reference

PatternLayout Constructor (String)

Constructs a PatternLayout using the supplied conversion pattern

[Visual Basic]
Overloads Public Sub New( _
   ByVal pattern As String _
)
[C#]
public PatternLayout(
   string pattern
);

Parameters

pattern
the pattern to use

Remarks

Note to Inheritors: This constructor calls the virtual method CreatePatternParser. If you override this method be aware that it will be called before your is called constructor.

When using this constructor the ActivateOptions method need not be called. This may not be the case when using a subclass.

See Also

PatternLayout Class | log4net.Layout Namespace | PatternLayout Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Error_overload_2.html0000644000175000017500000000651710412737546025102 0ustar slomoslomo LogImpl.Error Method (Object)
log4net SDK Reference

LogImpl.Error Method (Object)

Logs a message object with the ERROR level.

[Visual Basic]
Overridable Overloads Public Sub Error( _
   ByVal message As Object _
) _
    Implements ILog.Error
[C#]
public virtual void Error(
   object message
);

Parameters

message
The message object to log.

Implements

ILog.Error

Remarks

This method first checks if this logger is ERROR enabled by comparing the level of this logger with the ERROR level. If this logger is ERROR enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Error form instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.Threshold.html0000644000175000017500000000352610412737554027201 0ustar slomoslomo Threshold Property
log4net SDK Reference

ILoggerRepository.Threshold Property

The threshold for all events in this repository

[Visual Basic]
Property Threshold As Level
[C#]
log4net.Core.Level Threshold {get; set;}

Property Value

The threshold for all events in this repository

Remarks

The threshold for all events in this repository.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.SecurityContextProviderAttribute.ProviderType.html0000644000175000017500000000413510412737540032042 0ustar slomoslomo ProviderType Property
log4net SDK Reference

SecurityContextProviderAttribute.ProviderType Property

Gets or sets the type of the provider to use.

[Visual Basic]
Public Property ProviderType As Type
[C#]
public System.Type ProviderType {get; set;}

Property Value

the type of the provider to use.

Remarks

The provider specified must subclass the SecurityContextProvider class.

See Also

SecurityContextProviderAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.From.html0000644000175000017500000000370710412737534026313 0ustar slomoslomo From Property
log4net SDK Reference

SmtpPickupDirAppender.From Property

Gets or sets the e-mail address of the sender.

[Visual Basic]
Public Property From As String
[C#]
public string From {get; set;}

Property Value

The e-mail address of the sender.

Remarks

The e-mail address of the sender.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.Append_overloads.html0000644000175000017500000000406010412737524031041 0ustar slomoslomo Append Method
log4net SDK Reference

ColoredConsoleAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.IRemoteLoggingSink.html0000644000175000017500000000467210412737532030136 0ustar slomoslomo RemotingAppender.IRemoteLoggingSink Interface
log4net SDK Reference

RemotingAppender.IRemoteLoggingSink Interface

Interface used to deliver LoggingEvent objects to a remote sink.

For a list of all members of this type, see RemotingAppender.IRemoteLoggingSink Members.

[Visual Basic]
Public Interface RemotingAppender.IRemoteLoggingSink
[C#]
public interface RemotingAppender.IRemoteLoggingSink

Remarks

This interface must be implemented by a remoting sink if the RemotingAppender is to be used to deliver logging events to the sink.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

RemotingAppender.IRemoteLoggingSink Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPlugin.html0000644000175000017500000000637110412737552022243 0ustar slomoslomo IPlugin Interface
log4net SDK Reference

IPlugin Interface

Interface implemented by logger repository plugins.

For a list of all members of this type, see IPlugin Members.

[Visual Basic]
Public Interface IPlugin
[C#]
public interface IPlugin

Types that implement IPlugin

Type Description
PluginSkeleton Base implementation of IPlugin
RemoteLoggingServerPlugin Plugin that listens for events from the RemotingAppender

Remarks

Plugins define additional behavior that can be associated with a ILoggerRepository. The PluginMap held by the PluginMap property is used to store the plugins for a repository.

The log4net.Config.PluginAttribute can be used to attach plugins to repositories created using configuration attributes.

Requirements

Namespace: log4net.Plugin

Assembly: log4net (in log4net.dll)

See Also

IPlugin Members | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBaseMethods.html0000644000175000017500000001233010412737552024760 0ustar slomoslomo XmlLayoutBase Methods
log4net SDK Reference

XmlLayoutBase Methods

The methods of the XmlLayoutBase class are listed below. For a complete list of XmlLayoutBase class members, see the XmlLayoutBase Members topic.

Public Instance Methods

ActivateOptions Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Produces a formatted string.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatXml Does the actual writing of the XML.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlLayoutBase Class | log4net.Layout Namespace


././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindAppenderByReference.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindAppenderByR0000644000175000017500000000473510412737556032532 0ustar slomoslomo XmlHierarchyConfigurator.FindAppenderByReference Method
log4net SDK Reference

XmlHierarchyConfigurator.FindAppenderByReference Method 

Parse appenders by IDREF.

[Visual Basic]
Protected Function FindAppenderByReference( _
   ByVal appenderRef As XmlElement _
) As IAppender
[C#]
protected IAppender FindAppenderByReference(
   XmlElement appenderRef
);

Parameters

appenderRef
The appender ref element.

Return Value

The instance of the appender that the ref refers to.

Remarks

Parse an XML element that represents an appender and return the appender.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLoggerRepository_overload_3.html0000644000175000017500000000575410412737520027545 0ustar slomoslomo LogManager.GetLoggerRepository Method (Assembly)
log4net SDK Reference

LogManager.GetLoggerRepository Method (Assembly)

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository


Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetLoggerRepository( _
   ByVal repositoryAssembly As Assembly _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetLoggerRepository(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Return Value

The default ILoggerRepository instance.

Remarks

Gets the ILoggerRepository for the repository specified by the repositoryAssembly argument.

See Also

LogManager Class | log4net Namespace | LogManager.GetLoggerRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.GetRepository_overload_2.html0000644000175000017500000001065610412737540032443 0ustar slomoslomo DefaultRepositorySelector.GetRepository Method (Assembly)
log4net SDK Reference

DefaultRepositorySelector.GetRepository Method (Assembly)

Gets the ILoggerRepository for the specified assembly.

[Visual Basic]
NotOverridable Overloads Public Function GetRepository( _
   ByVal repositoryAssembly As Assembly _
) As ILoggerRepository _
    Implements IRepositorySelector.GetRepository
[C#]
public ILoggerRepository GetRepository(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly use to lookup the ILoggerRepository.

Return Value

The ILoggerRepository for the assembly

Implements

IRepositorySelector.GetRepository

Remarks

The type of the ILoggerRepository created and the repository to create can be overridden by specifying the RepositoryAttribute attribute on the repositoryAssembly.

The default values are to use the Hierarchy implementation of the ILoggerRepository interface and to use the Name as the name of the repository.

The ILoggerRepository created will be automatically configured using any ConfiguratorAttribute attributes defined on the repositoryAssembly.

Exceptions

Exception TypeCondition
ArgumentNullExceptionrepositoryAssembly is a null reference (Nothing in Visual Basic).

See Also

DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.html0000644000175000017500000000607010412737546027255 0ustar slomoslomo AbsoluteTimeDateFormatter Class
log4net SDK Reference

AbsoluteTimeDateFormatter Class

Formats a DateTime as "HH:mm:ss,fff".

For a list of all members of this type, see AbsoluteTimeDateFormatter Members.

System.Object
   log4net.DateFormatter.AbsoluteTimeDateFormatter
      log4net.DateFormatter.DateTimeDateFormatter
      log4net.DateFormatter.Iso8601DateFormatter

[Visual Basic]
Public Class AbsoluteTimeDateFormatter
    Implements IDateFormatter
[C#]
public class AbsoluteTimeDateFormatter : IDateFormatter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Formats a DateTime in the format "HH:mm:ss,fff" for example, "15:49:37,459".

Requirements

Namespace: log4net.DateFormatter

Assembly: log4net (in log4net.dll)

See Also

AbsoluteTimeDateFormatter Members | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositoryShutdownEventHandler.html0000644000175000017500000000545110412737554031170 0ustar slomoslomo LoggerRepositoryShutdownEventHandler Delegate
log4net SDK Reference

LoggerRepositoryShutdownEventHandler Delegate

Delegate used to handle logger repository shutdown event notifications

[Visual Basic]
Public Delegate Sub LoggerRepositoryShutdownEventHandler( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
public delegate void LoggerRepositoryShutdownEventHandler(
   object sender,
   EventArgs e
);

Parameters

sender
The ILoggerRepository that is shutting down.
e
Empty event args

Remarks

Delegate used to handle logger repository shutdown event notifications.

Requirements

Namespace: log4net.Repository

Assembly: log4net (in log4net.dll)

See Also

log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppenderMethods.html0000644000175000017500000002134110412737526025715 0ustar slomoslomo EventLogAppender Methods
log4net SDK Reference

EventLogAppender Methods

The methods of the EventLogAppender class are listed below. For a complete list of EventLogAppender class members, see the EventLogAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to EventLogEntryType - done by the config file
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetEntryType Get the equivalent EventLogEntryType for a Level p
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.IDateFormatterMembers.html0000644000175000017500000000340410412737546026361 0ustar slomoslomo IDateFormatter Members
log4net SDK Reference

IDateFormatter Members

IDateFormatter overview

Public Instance Methods

FormatDate Formats the specified date as a string.

See Also

IDateFormatter Interface | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextMethods.html0000644000175000017500000001153310412737546025025 0ustar slomoslomo SecurityContext Methods
log4net SDK Reference

SecurityContext Methods

The methods of the SecurityContext class are listed below. For a complete list of SecurityContext class members, see the SecurityContext Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Impersonate Impersonate this SecurityContext
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SecurityContext Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppenderMethods.html0000644000175000017500000002527010412737526025056 0ustar slomoslomo FileAppender Methods
log4net SDK Reference

FileAppender Methods

The methods of the FileAppender class are listed below. For a complete list of FileAppender class members, see the FileAppender Members topic.

Protected Static (Shared) Methods

ConvertToFullPath Convert a path into a fully qualified path.

Public Instance Methods

ActivateOptions Activate the options on the file appender.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

AppendOverloaded. This method is called by the DoAppend method.
CloseFile Closes the previously opened file.
CloseWriter Closes the underlying TextWriter.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from TextWriterAppender) Close this appender instance. The underlying stream or writer is also closed.
OpenFile Sets and opens the file where the log output will go. The specified file must be writable.
PreAppendCheck (inherited from TextWriterAppender) This method determines if there is a sense in attempting to append.
PrepareWriter Called to initialize the file writer
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
Reset Closes any previously opened file and calls the parent's Reset.
SafeOpenFile Sets and opens the file where the log output will go. The specified file must be writable.
SetQWForFilesOverloaded. Sets the quiet writer being used.
WriteFooter Writes a footer as produced by the embedded layout's Footer property.
WriteFooterAndCloseWriter (inherited from TextWriterAppender) Writes the footer and closes the underlying TextWriter.
WriteHeader Writes a header produced by the embedded layout's Header property.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfoConstructor.html0000644000175000017500000000330010412737542025144 0ustar slomoslomo LocationInfo Constructor
log4net SDK Reference

LocationInfo Constructor

Constructor

Overload List

Constructor

public LocationInfo(string,string,string,string);

Constructor

public LocationInfo(Type);

See Also

LocationInfo Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.html0000644000175000017500000001312410412737532024427 0ustar slomoslomo RemotingAppender Class
log4net SDK Reference

RemotingAppender Class

Delivers logging events to a remote logging sink.

For a list of all members of this type, see RemotingAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.BufferingAppenderSkeleton
         log4net.Appender.RemotingAppender

[Visual Basic]
Public Class RemotingAppender
    Inherits BufferingAppenderSkeleton
[C#]
public class RemotingAppender : BufferingAppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This Appender is designed to deliver events to a remote sink. That is any object that implements the RemotingAppender.IRemoteLoggingSink interface. It delivers the events using .NET remoting. The object to deliver events to is specified by setting the appenders Sink property.

The RemotingAppender buffers events before sending them. This allows it to make more efficient use of the remoting infrastructure.

Once the buffer is full the events are still not sent immediately. They are scheduled to be sent using a pool thread. The effect is that the send occurs asynchronously. This is very important for a number of non obvious reasons. The remoting infrastructure will flow thread local variables (stored in the CallContext), if they are marked as ILogicalThreadAffinative, across the remoting boundary. If the server is not contactable then the remoting infrastructure will clear the ILogicalThreadAffinative objects from the CallContext. To prevent a logging failure from having side effects on the calling application the remoting call must be made from a separate thread to the one used by the application. A ThreadPool thread is used for this. If no ThreadPool thread is available then the events will block in the thread pool manager until a thread is available.

Because the events are sent asynchronously using pool threads it is possible to close this appender before all the queued events have been sent. When closing the appender attempts to wait until all the queued events have been sent, but this will timeout after 30 seconds regardless.

If this appender is being closed because the ProcessExit event has fired it may not be possible to send all the queued events. During process exit the runtime limits the time that a ProcessExit event handler is allowed to run for. If the runtime terminates the threads before the queued events have been sent then they will be lost. To ensure that all events are sent the appender must be closed before the application exits. See Shutdown for details on how to shutdown log4net programmatically.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

RemotingAppender Members | log4net.Appender Namespace | RemotingAppender.IRemoteLoggingSink


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate.html0000644000175000017500000000664610412737546031313 0ustar slomoslomo AbsoluteTimeDateFormatter.FormatDate Method
log4net SDK Reference

AbsoluteTimeDateFormatter.FormatDate Method 

Renders the date into a string. Format is "HH:mm:ss,fff".

[Visual Basic]
Overridable Public Sub FormatDate( _
   ByVal dateToFormat As Date, _
   ByVal writer As TextWriter _
) _
    Implements IDateFormatter.FormatDate
[C#]
public virtual void FormatDate(
   DateTime dateToFormat,
   TextWriter writer
);

Parameters

dateToFormat
The date to render into a string.
writer
The writer to write to.

Implements

IDateFormatter.FormatDate

Remarks

Uses the FormatDateWithoutMillis method to generate the time string up to the seconds and then appends the current milliseconds. The results from FormatDateWithoutMillis are cached and FormatDateWithoutMillis is called at most once per second.

Sub classes should override FormatDateWithoutMillis rather than FormatDate.

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateRepository_overload_3.html0000644000175000017500000000726510412737544030463 0ustar slomoslomo LoggerManager.CreateRepository Method (Assembly, Type)
log4net SDK Reference

LoggerManager.CreateRepository Method (Assembly, Type)

Creates a repository for the specified assembly and repository type.

[Visual Basic]
Overloads Public Shared Function CreateRepository( _
   ByVal repositoryAssembly As Assembly, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateRepository(
   Assembly repositoryAssembly,
   Type repositoryType
);

Parameters

repositoryAssembly
The assembly to use to get the name of the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same assembly specified will return the same repository instance.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.Item.html0000644000175000017500000000520210412737564027063 0ustar slomoslomo Item Property
log4net SDK Reference

ReadOnlyPropertiesDictionary.Item Property

Gets or sets the value of the property with the specified key.

[Visual Basic]
Overridable Public Default Property Item( _
   ByVal key As String _
) As Object
[C#]
public virtual object this[
   string key
] {get; set;}

Parameters

key
The key of the property to get or set.

Property Value

The value of the property with the specified key.

Remarks

The property value will only be serialized if it is serializable. If it cannot be serialized it will be silently ignored if a serialization operation is performed.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverter.html0000644000175000017500000000564310412737552027033 0ustar slomoslomo PatternLayoutConverter Class
log4net SDK Reference

PatternLayoutConverter Class

Abstract class that provides the formatting functionality that derived classes need.

For a list of all members of this type, see PatternLayoutConverter Members.

System.Object
   log4net.Util.PatternConverter
      log4net.Layout.Pattern.PatternLayoutConverter

[Visual Basic]
MustInherit Public Class PatternLayoutConverter
    Inherits PatternConverter
[C#]
public abstract class PatternLayoutConverter : PatternConverter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Conversion specifiers in a conversion patterns are parsed to individual PatternConverters. Each of which is responsible for converting a logging event in a converter specific manner.

Requirements

Namespace: log4net.Layout.Pattern

Assembly: log4net (in log4net.dll)

See Also

PatternLayoutConverter Members | log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.GetAllRepositories.html0000644000175000017500000000406510412737542030073 0ustar slomoslomo IRepositorySelector.GetAllRepositories Method
log4net SDK Reference

IRepositorySelector.GetAllRepositories Method 

Gets an array of all currently defined repositories.

[Visual Basic]
Function GetAllRepositories() As ILoggerRepository()
[C#]
ILoggerRepository[] GetAllRepositories();

Return Value

An array of the ILoggerRepository instances created by this IRepositorySelector.

Remarks

Gets an array of all of the repositories created by this selector.

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetRepository_overload_1.html0000644000175000017500000000451110412737520026371 0ustar slomoslomo LogManager.GetRepository Method ()
log4net SDK Reference

LogManager.GetRepository Method ()

Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetRepository() As ILoggerRepository
[C#]
public static ILoggerRepository GetRepository();

Return Value

The ILoggerRepository instance for the default repository.

Remarks

Gets the ILoggerRepository for the repository specified by the callers assembly (GetCallingAssembly).

See Also

LogManager Class | log4net Namespace | LogManager.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppenderMembers.html0000644000175000017500000002542210412737530027616 0ustar slomoslomo OutputDebugStringAppender Members
log4net SDK Reference

OutputDebugStringAppender Members

OutputDebugStringAppender overview

Protected Static (Shared) Methods

OutputDebugString Stub for OutputDebugString native method

Public Instance Constructors

OutputDebugStringAppender Constructor Initializes a new instance of the OutputDebugStringAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Write the logging event to the output debug string API
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.IDateTime.Now.html0000644000175000017500000000370110412737534027421 0ustar slomoslomo Now Property
log4net SDK Reference

RollingFileAppender.IDateTime.Now Property

Gets the current time.

[Visual Basic]
Property Now As Date
[C#]
System.DateTime Now {get;}

Property Value

The current time.

Remarks

Gets the current time.

See Also

RollingFileAppender.IDateTime Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.html0000644000175000017500000000525110412737536023643 0ustar slomoslomo DOMConfigurator Class
log4net SDK Reference

DOMConfigurator Class

NOTE: This class is now obsolete.

Use XmlConfigurator instead of DOMConfigurator


Use this class to initialize the log4net environment using an Xml tree.

For a list of all members of this type, see DOMConfigurator Members.

System.Object
   log4net.Config.DOMConfigurator

[Visual Basic]
NotInheritable Public Class DOMConfigurator
[C#]
public sealed class DOMConfigurator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

Configures a ILoggerRepository using an Xml tree.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

DOMConfigurator Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppenderConstructor2.html0000644000175000017500000000451310412737524026224 0ustar slomoslomo DebugAppender Constructor (ILayout)
log4net SDK Reference

DebugAppender Constructor (ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property


Initializes a new instance of the DebugAppender with a specified layout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout _
)
[C#]
public DebugAppender(
   ILayout layout
);

Parameters

layout
The layout to use with this appender.

Remarks

Obsolete constructor.

See Also

DebugAppender Class | log4net.Appender Namespace | DebugAppender Constructor Overload List


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overload_1.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overload_1.ht0000644000175000017500000001103510412737540032565 0ustar slomoslomo DefaultRepositorySelector.CreateRepository Method (String, Type)
log4net SDK Reference

DefaultRepositorySelector.CreateRepository Method (String, Type)

Creates a new repository for the specified repository.

[Visual Basic]
NotOverridable Overloads Public Function CreateRepository( _
   ByVal repositoryName As String, _
   ByVal repositoryType As Type _
) As ILoggerRepository _
    Implements IRepositorySelector.CreateRepository
[C#]
public ILoggerRepository CreateRepository(
   string repositoryName,
   Type repositoryType
);

Parameters

repositoryName
The repository to associate with the ILoggerRepository.
repositoryType
The type of repository to create, must implement ILoggerRepository. If this param is a null reference (Nothing in Visual Basic) then the default repository type is used.

Return Value

The new repository.

Implements

IRepositorySelector.CreateRepository

Remarks

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same repository specified will return the same repository instance.

Exceptions

Exception TypeCondition
ArgumentNullExceptionrepositoryName is a null reference (Nothing in Visual Basic).
LogExceptionrepositoryName already exists.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.NotAvailableText.html0000644000175000017500000000416110412737564025656 0ustar slomoslomo NotAvailableText Property
log4net SDK Reference

SystemInfo.NotAvailableText Property

Text to output when an unsupported feature is requested.

[Visual Basic]
Public Shared Property NotAvailableText As String
[C#]
public static string NotAvailableText {get; set;}

Remarks

Use this value when an unsupported feature is requested.

The default value is NOT AVAILABLE. This value can be overridden by specifying a value for the log4net.NotAvailableText appSetting in the application's .config file.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttributeMembers.html0000644000175000017500000001246610412737566031365 0ustar slomoslomo TypeConverterAttribute Members
log4net SDK Reference

TypeConverterAttribute Members

TypeConverterAttribute overview

Public Instance Constructors

TypeConverterAttribute Overloaded. Initializes a new instance of the TypeConverterAttribute class.

Public Instance Properties

ConverterTypeName The string type name of the type converter
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

TypeConverterAttribute Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.LevelSeverityProperties.html0000644000175000017500000000443610412737532032163 0ustar slomoslomo RemoteSyslogAppender.LevelSeverity Properties
log4net SDK Reference

RemoteSyslogAppender.LevelSeverity Properties

The properties of the RemoteSyslogAppender.LevelSeverity class are listed below. For a complete list of RemoteSyslogAppender.LevelSeverity class members, see the RemoteSyslogAppender.LevelSeverity Members topic.

Public Instance Properties

Level (inherited from LevelMappingEntry) The level that is the key for this mapping
Severity The mapped syslog severity for the specified level

See Also

RemoteSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogicalThreadContextPropertiesProperties.html0000644000175000017500000000373310412737560030552 0ustar slomoslomo LogicalThreadContextProperties Properties
log4net SDK Reference

LogicalThreadContextProperties Properties

The properties of the LogicalThreadContextProperties class are listed below. For a complete list of LogicalThreadContextProperties class members, see the LogicalThreadContextProperties Members topic.

Public Instance Properties

Item Gets or sets the value of a property

See Also

LogicalThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBase.ReleaseLock.html0000644000175000017500000000365310412737526031064 0ustar slomoslomo FileAppender.LockingModelBase.ReleaseLock Method
log4net SDK Reference

FileAppender.LockingModelBase.ReleaseLock Method 

Release the lock on the file

[Visual Basic]
MustOverride Public Sub ReleaseLock()
[C#]
public abstract void ReleaseLock();

Remarks

Release the lock on the file. No further writes will be made to the stream until AcquireLock is called again.

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilterMethods.html0000644000175000017500000001215310412737550025372 0ustar slomoslomo LevelRangeFilter Methods
log4net SDK Reference

LevelRangeFilter Methods

The methods of the LevelRangeFilter class are listed below. For a complete list of LevelRangeFilter class members, see the LevelRangeFilter Members topic.

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Check if the event should be logged.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawTimeStampLayoutConstructor.html0000644000175000017500000000335510412737552026733 0ustar slomoslomo RawTimeStampLayout Constructor
log4net SDK Reference

RawTimeStampLayout Constructor 

Constructs a RawTimeStampLayout

[Visual Basic]
Public Sub New()
[C#]
public RawTimeStampLayout();

Remarks

Missing <remarks> documentation for M:log4net.Layout.RawTimeStampLayout.#ctor

See Also

RawTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionConstructor1.html0000644000175000017500000000366510412737552026500 0ustar slomoslomo PluginCollection Constructor ()
log4net SDK Reference

PluginCollection Constructor ()

Initializes a new instance of the PluginCollection class that is empty and has the default initial capacity.

[Visual Basic]
Overloads Public Sub New()
[C#]
public PluginCollection();

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.#ctor

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.FixFlags.html0000644000175000017500000000667310412737540022033 0ustar slomoslomo FixFlags Enumeration
log4net SDK Reference

FixFlags Enumeration

Flags passed to the Fix property

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
Public Enum FixFlags
[C#]
public enum FixFlags

Remarks

Flags passed to the Fix property

Members

Member NameDescriptionValue
MdcObsolete.  Replaced by composite Properties
Fix the MDC
1
Ndc Fix the NDC 2
Message Fix the rendered message 4
ThreadName Fix the thread name 8
LocationInfo Fix the callers location information 16
UserName Fix the callers windows user name 32
Domain Fix the domain friendly name 64
Identity Fix the callers principal name 128
Exception Fix the exception text 256
Properties Fix the event properties 512
None No fields fixed 0
All All fields fixed 268435455
Partial Partial fields fixed 844

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluator.html0000644000175000017500000000514110412737542023251 0ustar slomoslomo LevelEvaluator Class
log4net SDK Reference

LevelEvaluator Class

An evaluator that triggers at a threshold level

For a list of all members of this type, see LevelEvaluator Members.

System.Object
   log4net.Core.LevelEvaluator

[Visual Basic]
Public Class LevelEvaluator
    Implements ITriggeringEventEvaluator
[C#]
public class LevelEvaluator : ITriggeringEventEvaluator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This evaluator will trigger if the level of the event passed to IsTriggeringEvent is equal to or greater than the Threshold level.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LevelEvaluator Members | log4net.Core Namespace


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext.html0000644000175000017500000000601310412737542032402 0ustar slomoslomo LevelCollection.ILevelCollectionEnumerator.MoveNext Method
log4net SDK Reference

LevelCollection.ILevelCollectionEnumerator.MoveNext Method 

Advances the enumerator to the next element in the collection.

[Visual Basic]
Function MoveNext() As Boolean
[C#]
bool MoveNext();

Return Value

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext

Exceptions

Exception Type Condition
InvalidOperationException The collection was modified after the enumerator was created.

See Also

LevelCollection.ILevelCollectionEnumerator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Append_overload_2.html0000644000175000017500000000530010412737526027710 0ustar slomoslomo EventLogAppender.Append Method (LoggingEvent)
log4net SDK Reference

EventLogAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to log

Remarks

Writes the event to the system event log using the ApplicationName.

If the event has an EventID property (see Properties) set then this integer will be used as the event log event id.

There is a limit of 32K characters for an event log message

See Also

EventLogAppender Class | log4net.Appender Namespace | EventLogAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilterMembers.html0000644000175000017500000001473710412737550025543 0ustar slomoslomo LoggerMatchFilter Members
log4net SDK Reference

LoggerMatchFilter Members

LoggerMatchFilter overview

Public Instance Constructors

LoggerMatchFilter Constructor Default constructor

Public Instance Properties

AcceptOnMatch Accept when matching LoggerToMatch
LoggerToMatch The LoggerName that the filter will match
Next (inherited from FilterSkeleton) Property to get and set the next filter

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LoggerMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.AddFilter.html0000644000175000017500000000426510412737522026271 0ustar slomoslomo AppenderSkeleton.AddFilter Method
log4net SDK Reference

AppenderSkeleton.AddFilter Method 

Adds a filter to the end of the filter chain.

[Visual Basic]
Overridable Public Sub AddFilter( _
   ByVal filter As IFilter _
)
[C#]
public virtual void AddFilter(
   IFilter filter
);

Parameters

filter
the filter to add to this appender

Remarks

The Filters are organized in a linked list.

Setting this property causes the new filter to be pushed onto the back of the filter chain.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.AddRange_overload_2.html0000644000175000017500000000545410412737542027171 0ustar slomoslomo LevelCollection.AddRange Method (Level[])
log4net SDK Reference

LevelCollection.AddRange Method (Level[])

Adds the elements of a Level array to the current LevelCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal x As Level() _
) As Integer
[C#]
public virtual int AddRange(
   Level[] x
);

Parameters

x
The Level array whose elements should be added to the end of the LevelCollection.

Return Value

The new Count of the LevelCollection.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.AddRange(log4net.Core.Level[])

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttribute.Watch.html0000644000175000017500000000510510412737540026706 0ustar slomoslomo Watch Property
log4net SDK Reference

XmlConfiguratorAttribute.Watch Property

Gets or sets a value indicating whether to watch the configuration file.

[Visual Basic]
Public Property Watch As Boolean
[C#]
public bool Watch {get; set;}

Property Value

true if the configuration should be watched, false otherwise.

Remarks

If this flag is specified and set to true then the framework will watch the configuration file and will reload the config each time the file is modified.

The config file can only be watched if it is loaded from local disk. In a No-Touch (Smart Client) deployment where the application is downloaded from a web server the config file may not reside on the local disk and therefore it may not be able to watch it.

Note    Watching configuration is not supported on the SSCLI.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ITriggeringEventEvaluator.IsTriggeringEvent.html0000644000175000017500000000464310412737542031022 0ustar slomoslomo ITriggeringEventEvaluator.IsTriggeringEvent Method
log4net SDK Reference

ITriggeringEventEvaluator.IsTriggeringEvent Method 

Test if this event triggers the action

[Visual Basic]
Function IsTriggeringEvent( _
   ByVal loggingEvent As LoggingEvent _
) As Boolean
[C#]
bool IsTriggeringEvent(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to check

Return Value

true if this event triggers the action, otherwise false

Remarks

Return true if this event triggers the action

See Also

ITriggeringEventEvaluator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImplProperties.html0000644000175000017500000000360310412737556026445 0ustar slomoslomo AppenderAttachedImpl Properties
log4net SDK Reference

AppenderAttachedImpl Properties

The properties of the AppenderAttachedImpl class are listed below. For a complete list of AppenderAttachedImpl class members, see the AppenderAttachedImpl Members topic.

Public Instance Properties

Appenders Gets all attached appenders.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilter.Decide.html0000644000175000017500000000564010412737550025225 0ustar slomoslomo LevelMatchFilter.Decide Method
log4net SDK Reference

LevelMatchFilter.Decide Method 

Tests if the Level of the logging event matches that of the filter

[Visual Basic]
Overrides Public Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision _
    Implements IFilter.Decide
[C#]
public override FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to filter

Return Value

see remarks

Implements

IFilter.Decide

Remarks

If the Level of the event matches the level of the filter then the result of the function depends on the value of AcceptOnMatch. If it is true then the function will return Accept, it it is false then it will return Deny. If the Level does not match then the result will be Neutral.

See Also

LevelMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeletonProperties.html0000644000175000017500000000353010412737546025667 0ustar slomoslomo FilterSkeleton Properties
log4net SDK Reference

FilterSkeleton Properties

The properties of the FilterSkeleton class are listed below. For a complete list of FilterSkeleton class members, see the FilterSkeleton Members topic.

Public Instance Properties

Next Property to get and set the next filter

See Also

FilterSkeleton Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.CompareTo.html0000644000175000017500000001057710412737542023267 0ustar slomoslomo Level.CompareTo Method
log4net SDK Reference

Level.CompareTo Method 

Compares this instance to a specified object and returns an indication of their relative values.

[Visual Basic]
NotOverridable Public Function CompareTo( _
   ByVal r As Object _
) As Integer _
    Implements IComparable.CompareTo
[C#]
public int CompareTo(
   object r
);

Parameters

r
A Level instance or a null reference (Nothing in Visual Basic) to compare with this instance.

Return Value

A 32-bit signed integer that indicates the relative order of the values compared. The return value has these meanings:

Value Meaning
Less than zero This instance is less than r.
Zero This instance is equal to r.
Greater than zero

This instance is greater than r.

-or-

r is a null reference (Nothing in Visual Basic).

Implements

IComparable.CompareTo

Remarks

r must be an instance of Level or a null reference (Nothing in Visual Basic); otherwise, an exception is thrown.

Exceptions

Exception TypeCondition
ArgumentExceptionr is not a Level.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.html0000644000175000017500000000520410412737552024531 0ustar slomoslomo RendererMap Class
log4net SDK Reference

RendererMap Class

Map class objects to an IObjectRenderer.

For a list of all members of this type, see RendererMap Members.

System.Object
   log4net.ObjectRenderer.RendererMap

[Visual Basic]
Public Class RendererMap
[C#]
public class RendererMap

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Maintains a mapping between types that require special rendering and the IObjectRenderer that is used to render them.

The FindAndRender method is used to render an object using the appropriate renderers defined in this map.

Requirements

Namespace: log4net.ObjectRenderer

Assembly: log4net (in log4net.dll)

See Also

RendererMap Members | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColorsMethods.html0000644000175000017500000001204710412737524031335 0ustar slomoslomo ColoredConsoleAppender.LevelColors Methods
log4net SDK Reference

ColoredConsoleAppender.LevelColors Methods

The methods of the ColoredConsoleAppender.LevelColors class are listed below. For a complete list of ColoredConsoleAppender.LevelColors class members, see the ColoredConsoleAppender.LevelColors Members topic.

Public Instance Methods

ActivateOptions Initialize the options for the object
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ColoredConsoleAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.FilterHierarchy.html0000644000175000017500000000731310412737546022523 0ustar slomoslomo log4net.FilterHierarchy
log4net SDK Reference

log4net.Filter Hierarchy

System.Object

See Also

log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatterHierarchy.html0000644000175000017500000000466210412737546024043 0ustar slomoslomo log4net.DateFormatterHierarchy
log4net SDK Reference

log4net.DateFormatter Hierarchy

System.Object

See Also

log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.Instance.html0000644000175000017500000000370510412737562027117 0ustar slomoslomo Instance Property
log4net SDK Reference

NullDictionaryEnumerator.Instance Property

Gets the singleton instance of the NullDictionaryEnumerator.

[Visual Basic]
Public Shared ReadOnly Property Instance As NullDictionaryEnumerator
[C#]
public static NullDictionaryEnumerator Instance {get;}

Remarks

Gets the singleton instance of the NullDictionaryEnumerator.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.SyslogFacility.html0000644000175000017500000000730510412737532030247 0ustar slomoslomo RemoteSyslogAppender.SyslogFacility Enumeration
log4net SDK Reference

RemoteSyslogAppender.SyslogFacility Enumeration

syslog facilities

[Visual Basic]
Public Enum RemoteSyslogAppender.SyslogFacility
[C#]
public enum RemoteSyslogAppender.SyslogFacility

Remarks

The syslog facilities

Members

Member NameDescription
Kernel kernel messages
User random user-level messages
Mail mail system
Daemons system daemons
Authorization security/authorization messages
Syslog messages generated internally by syslogd
Printer line printer subsystem
News network news subsystem
Uucp UUCP subsystem
Clock clock (cron/at) daemon
Authorization2 security/authorization messages (private)
Ftp ftp daemon
Ntp NTP subsystem
Audit log audit
Alert log alert
Clock2 clock daemon
Local0 reserved for local use
Local1 reserved for local use
Local2 reserved for local use
Local3 reserved for local use
Local4 reserved for local use
Local5 reserved for local use
Local6 reserved for local use
Local7 reserved for local use

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppenderConstructor.html0000644000175000017500000000426110412737526025775 0ustar slomoslomo FileAppender Constructor
log4net SDK Reference

FileAppender Constructor

Default constructor

Overload List

Default constructor

public FileAppender();

Obsolete. Construct a new appender using the layout and file specified. The file will be appended to.

public FileAppender(ILayout,string);

Obsolete. Construct a new appender using the layout, file and append mode.

public FileAppender(ILayout,string,bool);

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.GetAppender.html0000644000175000017500000000524210412737556026566 0ustar slomoslomo AppenderAttachedImpl.GetAppender Method
log4net SDK Reference

AppenderAttachedImpl.GetAppender Method 

Gets an attached appender with the specified name.

[Visual Basic]
NotOverridable Public Function GetAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.GetAppender
[C#]
public IAppender GetAppender(
   string name
);

Parameters

name
The name of the appender to get.

Return Value

The appender with the name specified, or null if no appender with the specified name is found.

Implements

IAppenderAttachable.GetAppender

Remarks

Lookup an attached appender by name.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelectorMembers.html0000644000175000017500000001607610412737540027026 0ustar slomoslomo DefaultRepositorySelector Members
log4net SDK Reference

DefaultRepositorySelector Members

DefaultRepositorySelector overview

Public Instance Constructors

DefaultRepositorySelector Constructor Creates a new repository selector.

Public Instance Methods

AliasRepository Aliases a repository to an existing repository.
CreateRepositoryOverloaded. Creates a new repository for the specified repository.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ExistsRepository Test if a named repository exists
GetAllRepositories Gets a list of ILoggerRepository objects
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRepositoryOverloaded. Gets the ILoggerRepository for the specified repository.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

LoggerRepositoryCreatedEvent Event to notify that a logger repository has been created.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnLoggerRepositoryCreatedEvent Notifies the registered listeners that the repository has been created.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColorsConstructor.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColorsConstructor.htm0000644000175000017500000000342310412737522032552 0ustar slomoslomo AnsiColorTerminalAppender.LevelColors Constructor
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors Constructor 

Initializes a new instance of the AnsiColorTerminalAppender.LevelColors class.

[Visual Basic]
Public Sub New()
[C#]
public AnsiColorTerminalAppender.LevelColors();

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.OpenFile.html0000644000175000017500000000560010412737526025225 0ustar slomoslomo FileAppender.OpenFile Method
log4net SDK Reference

FileAppender.OpenFile Method 

Sets and opens the file where the log output will go. The specified file must be writable.

[Visual Basic]
Overridable Protected Sub OpenFile( _
   ByVal fileName As String, _
   ByVal append As Boolean _
)
[C#]
protected virtual void OpenFile(
   string fileName,
   bool append
);

Parameters

fileName
The path to the log file. Must be a fully qualified path.
append
If true will append to fileName. Otherwise will truncate fileName

Remarks

If there was already an opened file, then the previous file is closed first.

This method will ensure that the directory structure for the fileName specified exists.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttributeMethods.html0000644000175000017500000000765410412737540025313 0ustar slomoslomo PluginAttribute Methods
log4net SDK Reference

PluginAttribute Methods

The methods of the PluginAttribute class are listed below. For a complete list of PluginAttribute class members, see the PluginAttribute Members topic.

Public Instance Methods

CreatePlugin Creates the plugin object defined by this attribute.
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString Returns a representation of the properties of this object.

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLock.AcquireLock.html0000644000175000017500000000427310412737526030131 0ustar slomoslomo FileAppender.MinimalLock.AcquireLock Method
log4net SDK Reference

FileAppender.MinimalLock.AcquireLock Method 

Acquire the lock on the file

[Visual Basic]
Overrides Public Function AcquireLock() As Stream
[C#]
public override Stream AcquireLock();

Return Value

A stream that is ready to be written to.

Remarks

Acquire the lock on the file in preparation for writing to it. Return a stream pointing to the file. ReleaseLock must be called to release the lock on the output file.

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.Append_overloads.html0000644000175000017500000000410710412737536030255 0ustar slomoslomo Append Method
log4net SDK Reference

TextWriterAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

This method is called by the DoAppend method.

protected override void Append(LoggingEvent[]);

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImplConstructor.html0000644000175000017500000000320110412737556026630 0ustar slomoslomo AppenderAttachedImpl Constructor
log4net SDK Reference

AppenderAttachedImpl Constructor 

Constructor

[Visual Basic]
Public Sub New()
[C#]
public AppenderAttachedImpl();

Remarks

Initializes a new instance of the AppenderAttachedImpl class.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.IsReadOnly.html0000644000175000017500000000477610412737560025515 0ustar slomoslomo IsReadOnly Property
log4net SDK Reference

EmptyDictionary.IsReadOnly Property

Gets a value indicating whether the EmptyDictionary is read-only.

[Visual Basic]
NotOverridable Public ReadOnly Property IsReadOnly As Boolean _
    Implements IDictionary.IsReadOnly
[C#]
public bool IsReadOnly {get;}

Property Value

true

Implements

IDictionary.IsReadOnly

Remarks

As the collection is empty IsReadOnly always returns true.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Trace.html0000644000175000017500000000357310412737542022432 0ustar slomoslomo Level.Trace Field
log4net SDK Reference

Level.Trace Field

The Trace level designates fine-grained informational events that are most useful to debug an application.

[Visual Basic]
Public Shared ReadOnly Trace As Level
[C#]
public static readonly Level Trace;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Trace

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.Transform.WriteEscapedXmlString.html0000644000175000017500000000641410412737564026555 0ustar slomoslomo Transform.WriteEscapedXmlString Method
log4net SDK Reference

Transform.WriteEscapedXmlString Method 

Write a string to an XmlWriter

[Visual Basic]
Public Shared Sub WriteEscapedXmlString( _
   ByVal writer As XmlWriter, _
   ByVal textData As String, _
   ByVal invalidCharReplacement As String _
)
[C#]
public static void WriteEscapedXmlString(
   XmlWriter writer,
   string textData,
   string invalidCharReplacement
);

Parameters

writer
the writer to write to
textData
the string to write
invalidCharReplacement
The string to replace non XML compliant chars with

Remarks

The test is escaped either using XML escape entities or using CDATA sections.

See Also

Transform Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Fatal.html0000644000175000017500000000357010412737542022420 0ustar slomoslomo Level.Fatal Field
log4net SDK Reference

Level.Fatal Field

The Fatal level designates very severe error events that will presumably lead the application to abort.

[Visual Basic]
Public Shared ReadOnly Fatal As Level
[C#]
public static readonly Level Fatal;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Fatal

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Count.html0000644000175000017500000000472510412737542024500 0ustar slomoslomo Count Property
log4net SDK Reference

LevelCollection.Count Property

Gets the number of elements actually contained in the LevelCollection.

[Visual Basic]
Overridable Public ReadOnly Property Count As Integer _
    Implements ICollection.Count
[C#]
public virtual int Count {get;}

Implements

ICollection.Count

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.Count

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.AddAppender.html0000644000175000017500000000514010412737530027110 0ustar slomoslomo ForwardingAppender.AddAppender Method
log4net SDK Reference

ForwardingAppender.AddAppender Method 

Adds an IAppender to the list of appenders of this instance.

[Visual Basic]
Overridable Public Sub AddAppender( _
   ByVal newAppender As IAppender _
) _
    Implements IAppenderAttachable.AddAppender
[C#]
public virtual void AddAppender(
   IAppender newAppender
);

Parameters

newAppender
The IAppender to add to this appender.

Implements

IAppenderAttachable.AddAppender

Remarks

If the specified IAppender is already in the list of appenders, then it won't be added again.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderMethods.html0000644000175000017500000002236110412737520025341 0ustar slomoslomo AdoNetAppender Methods
log4net SDK Reference

AdoNetAppender Methods

The methods of the AdoNetAppender class are listed below. For a complete list of AdoNetAppender class members, see the AdoNetAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddParameter Adds a parameter to the command.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetLogStatement Formats the log message into database statement text.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Override the parent method to close the database
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
ResolveConnectionType Retrieves the class type of the ADO.NET provider.
SendBufferOverloaded. Writes the events to the database using the transaction specified.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorMethods.html0000644000175000017500000001050110412737540025275 0ustar slomoslomo XmlConfigurator Methods
log4net SDK Reference

XmlConfigurator Methods

The methods of the XmlConfigurator class are listed below. For a complete list of XmlConfigurator class members, see the XmlConfigurator Members topic.

Public Static (Shared) Methods

ConfigureOverloaded. Automatically configures the log4net system based on the application's configuration settings.
ConfigureAndWatchOverloaded. Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

XmlConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.Encoding.html0000644000175000017500000000377010412737536025132 0ustar slomoslomo Encoding Property
log4net SDK Reference

UdpAppender.Encoding Property

Gets or sets Encoding used to write the packets.

[Visual Basic]
Public Property Encoding As Encoding
[C#]
public System.Text.Encoding Encoding {get; set;}

Property Value

The Encoding used to write the packets.

Remarks

The Encoding used to write the packets.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.ImmediateFlush.html0000644000175000017500000000520510412737534027666 0ustar slomoslomo ImmediateFlush Property
log4net SDK Reference

TextWriterAppender.ImmediateFlush Property

Gets or set whether the appender will flush at the end of each append operation.

[Visual Basic]
Public Property ImmediateFlush As Boolean
[C#]
public bool ImmediateFlush {get; set;}

Property Value

The default behavior is to flush at the end of each append operation.

If this option is set to false, then the underlying stream can defer persisting the logging event to a later time.

Remarks

Avoiding the flush operation at the end of each append results in a performance gain of 10 to 20 percent. However, there is safety trade-off involved in skipping flushing. Indeed, when flushing is skipped, then it is likely that the last few log events will not be recorded on disk when the application exits. This is a high price to pay even for a 20% performance gain.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.WarnFormat_overload_3.html0000644000175000017500000001047610412737546026071 0ustar slomoslomo LogImpl.WarnFormat Method (String, Object, Object)
log4net SDK Reference

LogImpl.WarnFormat Method (String, Object, Object)

Logs a formatted message string with the WARN level.

[Visual Basic]
Overridable Overloads Public Sub WarnFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
) _
    Implements ILog.WarnFormat
[C#]
public virtual void WarnFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Implements

ILog.WarnFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the WarnFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.WarnFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateRepository_overload_1.html0000644000175000017500000000656410412737544030462 0ustar slomoslomo LoggerManager.CreateRepository Method (String)
log4net SDK Reference

LoggerManager.CreateRepository Method (String)

Creates a repository with the specified name.

[Visual Basic]
Overloads Public Shared Function CreateRepository( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateRepository(
   string repository
);

Parameters

repository
The name of the repository, this must be unique amongst repositories.

Return Value

The ILoggerRepository created for the repository.

Remarks

Creates the default type of ILoggerRepository which is a Hierarchy object.

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMap.Add.html0000644000175000017500000000451210412737554023254 0ustar slomoslomo PluginMap.Add Method
log4net SDK Reference

PluginMap.Add Method 

Adds a IPlugin to the map.

[Visual Basic]
Public Sub Add( _
   ByVal plugin As IPlugin _
)
[C#]
public void Add(
   IPlugin plugin
);

Parameters

plugin
The IPlugin to add to the map.

Remarks

The IPlugin will be attached to the repository when added.

If there already exists a plugin with the same name attached to the repository then the old plugin will be Shutdown and replaced with the new plugin.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayoutMethods.html0000644000175000017500000001277010412737550025050 0ustar slomoslomo PatternLayout Methods
log4net SDK Reference

PatternLayout Methods

The methods of the PatternLayout class are listed below. For a complete list of PatternLayout class members, see the PatternLayout Members topic.

Public Instance Methods

ActivateOptions Initialize layout options
AddConverterOverloaded. Add a converter to this PatternLayout
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Produces a formatted string as specified by the conversion pattern.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CreatePatternParser Create the pattern parser instance
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ConverterInfo.html0000644000175000017500000000455710412737562025746 0ustar slomoslomo PatternString.ConverterInfo Class
log4net SDK Reference

PatternString.ConverterInfo Class

Wrapper class used to map converter names to converter types

For a list of all members of this type, see PatternString.ConverterInfo Members.

System.Object
   log4net.Util.PatternString.ConverterInfo

[Visual Basic]
NotInheritable Public Class PatternString.ConverterInfo
[C#]
public sealed class PatternString.ConverterInfo

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Wrapper class used to map converter names to converter types

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

PatternString.ConverterInfo Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ThreadContextProperties.html0000644000175000017500000000401410412737520024253 0ustar slomoslomo ThreadContext Properties
log4net SDK Reference

ThreadContext Properties

The properties of the ThreadContext class are listed below. For a complete list of ThreadContext class members, see the ThreadContext Members topic.

Public Static (Shared) Properties

Properties The thread properties map
Stacks The thread stacks

See Also

ThreadContext Class | log4net Namespace


././@LongLink0000000000000000000000000000015100000000000011562 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttribute.ConverterTypeName.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttribute.ConverterTypeName.0000644000175000017500000000431110412737566032564 0ustar slomoslomo ConverterTypeName Property
log4net SDK Reference

TypeConverterAttribute.ConverterTypeName Property

The string type name of the type converter

[Visual Basic]
Public Property ConverterTypeName As String
[C#]
public string ConverterTypeName {get; set;}

Property Value

The string type name of the type converter

Remarks

The type specified must implement the IConvertFrom or the IConvertTo interfaces.

See Also

TypeConverterAttribute Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent.html0000644000175000017500000000614010412737542032120 0ustar slomoslomo IRepositorySelector.LoggerRepositoryCreatedEvent Event
log4net SDK Reference

IRepositorySelector.LoggerRepositoryCreatedEvent Event

Event to notify that a logger repository has been created.

[Visual Basic]
Event LoggerRepositoryCreatedEvent As LoggerRepositoryCreationEventHandler
[C#]
event LoggerRepositoryCreationEventHandler LoggerRepositoryCreatedEvent;

Event Data

The event handler receives an argument of type LoggerRepositoryCreationEventArgs containing data related to this event. The following LoggerRepositoryCreationEventArgs property provides information specific to this event.

Property Description
LoggerRepository The ILoggerRepository that has been created

Remarks

Event raised when a new repository is created. The event source will be this selector. The event args will be a LoggerRepositoryCreationEventArgs which holds the newly created ILoggerRepository.

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilterConstructor.html0000644000175000017500000000332510412737550026315 0ustar slomoslomo LevelRangeFilter Constructor
log4net SDK Reference

LevelRangeFilter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public LevelRangeFilter();

Remarks

Missing <remarks> documentation for M:log4net.Filter.LevelRangeFilter.#ctor

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ProtectCloseTextWriterConstructor.html0000644000175000017500000000411710412737562027266 0ustar slomoslomo ProtectCloseTextWriter Constructor
log4net SDK Reference

ProtectCloseTextWriter Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal writer As TextWriter _
)
[C#]
public ProtectCloseTextWriter(
   TextWriter writer
);

Parameters

writer
the writer to actually write to

Remarks

Create a new ProtectCloseTextWriter using a writer

See Also

ProtectCloseTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.AppenderHierarchy.html0000644000175000017500000002544710412737520023034 0ustar slomoslomo log4net.AppenderHierarchy
log4net SDK Reference

log4net.Appender Hierarchy

System.Object

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppenderMethods.html0000644000175000017500000002122010412737532025747 0ustar slomoslomo RemotingAppender Methods
log4net SDK Reference

RemotingAppender Methods

The methods of the RemotingAppender class are listed below. For a complete list of RemotingAppender class members, see the RemotingAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Override base class close.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Send the contents of the buffer to the remote sink.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

RemotingAppender Class | log4net.Appender Namespace | RemotingAppender.IRemoteLoggingSink


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Dispose.html0000644000175000017500000000426410412737564025404 0ustar slomoslomo TextWriterAdapter.Dispose Method
log4net SDK Reference

TextWriterAdapter.Dispose Method 

Dispose this writer

[Visual Basic]
Overrides Protected Sub Dispose( _
   ByVal disposing As Boolean _
)
[C#]
protected override void Dispose(
   bool disposing
);

Parameters

disposing
flag indicating if we are being disposed

Remarks

Dispose this writer

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogicalThreadContextProperties.Item.html0000644000175000017500000000507510412737560027373 0ustar slomoslomo Item Property
log4net SDK Reference

LogicalThreadContextProperties.Item Property

Gets or sets the value of a property

[Visual Basic]
Overrides Public Default Property Item( _
   ByVal key As String _
) As Object
[C#]
public override object this[
   string key
] {get; set;}

Parameters

key
Missing <param> documentation for key

Property Value

The value for the property with the specified key

Remarks

Get or set the property value for the key specified.

See Also

LogicalThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.UserName.html0000644000175000017500000000647210412737544024437 0ustar slomoslomo UserName Property
log4net SDK Reference

LoggingEvent.UserName Property

Gets the name of the current user.

[Visual Basic]
Public ReadOnly Property UserName As String
[C#]
public string UserName {get;}

Property Value

The name of the current user, or NOT AVAILABLE when the underlying runtime has no support for retrieving the name of the current user.

Remarks

Calls WindowsIdentity.GetCurrent().Name to get the name of the current windows user.

To improve performance, we could cache the string representation of the name, and reuse that as long as the identity stayed constant. Once the identity changed, we would need to re-assign and re-render the string.

However, the WindowsIdentity.GetCurrent() call seems to return different objects every time, so the current implementation doesn't do this type of caching.

Timing for these operations:

Method Results
WindowsIdentity.GetCurrent() 10000 loops, 00:00:00.2031250 seconds
WindowsIdentity.GetCurrent().Name 10000 loops, 00:00:08.0468750 seconds

This means we could speed things up almost 40 times by caching the value of the WindowsIdentity.GetCurrent().Name property, since this takes (8.04-0.20) = 7.84375 seconds.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluator.Threshold.html0000644000175000017500000000373610412737542025214 0ustar slomoslomo Threshold Property
log4net SDK Reference

LevelEvaluator.Threshold Property

the threshold to trigger at

[Visual Basic]
Public Property Threshold As Level
[C#]
public Level Threshold {get; set;}

Property Value

The Level that will cause this evaluator to trigger

Remarks

This evaluator will trigger if the level of the event passed to IsTriggeringEvent is equal to or greater than the Threshold level.

See Also

LevelEvaluator Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.GeneratePriority.html0000644000175000017500000000524710412737532030601 0ustar slomoslomo RemoteSyslogAppender.GeneratePriority Method
log4net SDK Reference

RemoteSyslogAppender.GeneratePriority Method 

Generate a syslog priority.

[Visual Basic]
Public Shared Function GeneratePriority( _
   ByVal facility As SyslogFacility, _
   ByVal severity As SyslogSeverity _
) As Integer
[C#]
public static int GeneratePriority(
   SyslogFacility facility,
   SyslogSeverity severity
);

Parameters

facility
The syslog facility.
severity
The syslog severity.

Return Value

A syslog priority.

Remarks

Generate a syslog priority.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPluginMethods.html0000644000175000017500000000405110412737552023560 0ustar slomoslomo IPlugin Methods
log4net SDK Reference

IPlugin Methods

The methods of the IPlugin interface are listed below. For a complete list of IPlugin interface members, see the IPlugin Members topic.

Public Instance Methods

Attach Attaches the plugin to the specified ILoggerRepository.
Shutdown Is called when the plugin is to shutdown.

See Also

IPlugin Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.DenyAllFilterMembers.html0000644000175000017500000001134010412737546024667 0ustar slomoslomo DenyAllFilter Members
log4net SDK Reference

DenyAllFilter Members

DenyAllFilter overview

Public Instance Constructors

DenyAllFilter Constructor Default constructor

Public Instance Properties

Next (inherited from FilterSkeleton) Property to get and set the next filter

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Always returns the integer constant Deny
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DenyAllFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.html0000644000175000017500000000575410412737522031201 0ustar slomoslomo AnsiColorTerminalAppender.AnsiAttributes Enumeration
log4net SDK Reference

AnsiColorTerminalAppender.AnsiAttributes Enumeration

The enum of possible display attributes

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
Public Enum AnsiColorTerminalAppender.AnsiAttributes
[C#]
public enum AnsiColorTerminalAppender.AnsiAttributes

Remarks

The following flags can be combined together to form the ANSI color attributes.

Members

Member NameDescriptionValue
Bright text is bright 1
Dim text is dim 2
Underscore text is underlined 4
Blink text is blinking 8
Reverse text and background colors are reversed 16
Hidden text is hidden 32
Strikethrough text is displayed with a strikethrough 64

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace | AnsiColorTerminalAppender


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Remove.html0000644000175000017500000000653310412737560024732 0ustar slomoslomo EmptyDictionary.Remove Method
log4net SDK Reference

EmptyDictionary.Remove Method 

Removes the element with the specified key from the EmptyDictionary.

[Visual Basic]
NotOverridable Public Sub Remove( _
   ByVal key As Object _
) _
    Implements IDictionary.Remove
[C#]
public void Remove(
   object key
);

Parameters

key
The key of the element to remove.

Implements

IDictionary.Remove

Remarks

As the collection is empty no values can be removed. A InvalidOperationException is thrown if this method is called.

Exceptions

Exception TypeCondition
InvalidOperationExceptionThis dictionary is always empty and cannot be modified.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Debug_overloads.html0000644000175000017500000000352010412737560024631 0ustar slomoslomo Debug Method
log4net SDK Reference

LogLog.Debug Method

Writes log4net internal debug messages to the standard output stream.

Overload List

Writes log4net internal debug messages to the standard output stream.

public static void Debug(string);

Writes log4net internal debug messages to the standard output stream.

public static void Debug(string,Exception);

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyConstructor2.html0000644000175000017500000000427510412737556030005 0ustar slomoslomo Hierarchy Constructor (PropertiesDictionary)
log4net SDK Reference

Hierarchy Constructor (PropertiesDictionary)

Construct with properties

[Visual Basic]
Overloads Public Sub New( _
   ByVal properties As PropertiesDictionary _
)
[C#]
public Hierarchy(
   PropertiesDictionary properties
);

Parameters

properties
The properties to pass to this repository.

Remarks

Initializes a new instance of the Hierarchy class.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace | Hierarchy Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.ITriggeringEventEvaluatorMethods.html0000644000175000017500000000371010412737542026742 0ustar slomoslomo ITriggeringEventEvaluator Methods
log4net SDK Reference

ITriggeringEventEvaluator Methods

The methods of the ITriggeringEventEvaluator interface are listed below. For a complete list of ITriggeringEventEvaluator interface members, see the ITriggeringEventEvaluator Members topic.

Public Instance Methods

IsTriggeringEvent Test if this event triggers the action

See Also

ITriggeringEventEvaluator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Debug_overload_2.html0000644000175000017500000000632010412737516023424 0ustar slomoslomo ILog.Debug Method (Object)
log4net SDK Reference

ILog.Debug Method (Object)

Log a message object with the Debug level.

[Visual Basic]
Sub Debug( _
   ByVal message As Object _
)
[C#]
void Debug(
   object message
);

Parameters

message
The message object to log.

Remarks

This method first checks if this logger is DEBUG enabled by comparing the level of this logger with the Debug level. If this logger is DEBUG enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Debug form instead.

See Also

ILog Interface | log4net Namespace | ILog.Debug Overload List | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Util.LogicalThreadContextPropertiesMethods.html0000644000175000017500000001000210412737560030004 0ustar slomoslomo LogicalThreadContextProperties Methods
log4net SDK Reference

LogicalThreadContextProperties Methods

The methods of the LogicalThreadContextProperties class are listed below. For a complete list of LogicalThreadContextProperties class members, see the LogicalThreadContextProperties Members topic.

Public Instance Methods

Clear Clear all the context properties
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove a property
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogicalThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.GetCurrentLoggers.html0000644000175000017500000000433710412737554032247 0ustar slomoslomo LoggerRepositorySkeleton.GetCurrentLoggers Method
log4net SDK Reference

LoggerRepositorySkeleton.GetCurrentLoggers Method 

Returns all the currently defined loggers in the repository

[Visual Basic]
MustOverride Public Function GetCurrentLoggers() As ILogger() _
    Implements ILoggerRepository.GetCurrentLoggers
[C#]
public abstract ILogger[] GetCurrentLoggers();

Return Value

All the defined loggers

Implements

ILoggerRepository.GetCurrentLoggers

Remarks

Returns all the currently defined loggers in the repository as an Array.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.FixVolatileData_overloads.html0000644000175000017500000000466410412737544030017 0ustar slomoslomo FixVolatileData Method
log4net SDK Reference

LoggingEvent.FixVolatileData Method

NOTE: This method is now obsolete.

Use Fix property


Fix instance fields that hold volatile data.

Overload List

Obsolete. Fix instance fields that hold volatile data.

public void FixVolatileData();

Fix the fields specified by the FixFlags parameter

protected void FixVolatileData(FixFlags);

Obsolete. Fixes instance fields that hold volatile data.

public void FixVolatileData(bool);

See Also

LoggingEvent Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.CreateRepository_overload_1.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.CreateRepository_overload_1.ht0000644000175000017500000001125610412737540032574 0ustar slomoslomo CompactRepositorySelector.CreateRepository Method (String, Type)
log4net SDK Reference

CompactRepositorySelector.CreateRepository Method (String, Type)

Create a new repository for the repository specified

[Visual Basic]
NotOverridable Overloads Public Function CreateRepository( _
   ByVal repositoryName As String, _
   ByVal repositoryType As Type _
) As ILoggerRepository _
    Implements IRepositorySelector.CreateRepository
[C#]
public ILoggerRepository CreateRepository(
   string repositoryName,
   Type repositoryType
);

Parameters

repositoryName
the repository to associate with the ILoggerRepository
repositoryType
the type of repository to create, must implement ILoggerRepository. If this param is null then the default repository type is used.

Return Value

the repository created

Implements

IRepositorySelector.CreateRepository

Remarks

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same repository specified will return the same repository instance.

If the named repository already exists an exception will be thrown.

If repositoryType is null then the default repository type specified to the constructor is used.

Exceptions

Exception TypeCondition
ArgumentNullExceptionthrow if repositoryName is null
LogExceptionthrow if the repositoryName already exists

See Also

CompactRepositorySelector Class | log4net.Core Namespace | CompactRepositorySelector.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ReusableStringWriter.Dispose.html0000644000175000017500000000432010412737564026101 0ustar slomoslomo ReusableStringWriter.Dispose Method
log4net SDK Reference

ReusableStringWriter.Dispose Method 

Override Dispose to prevent closing of writer

[Visual Basic]
Overrides Protected Sub Dispose( _
   ByVal disposing As Boolean _
)
[C#]
protected override void Dispose(
   bool disposing
);

Parameters

disposing
flag

Remarks

Override Dispose to prevent closing of writer

See Also

ReusableStringWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelProperties.html0000644000175000017500000000415110412737542023443 0ustar slomoslomo Level Properties
log4net SDK Reference

Level Properties

The properties of the Level class are listed below. For a complete list of Level class members, see the Level Members topic.

Public Instance Properties

DisplayName Gets the display name of this level.
Name Gets the name of this level.
Value Gets the value of this level.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IAppender.DoAppend.html0000644000175000017500000000406010412737530024521 0ustar slomoslomo IAppender.DoAppend Method
log4net SDK Reference

IAppender.DoAppend Method 

Log the logging event in Appender specific way.

[Visual Basic]
Sub DoAppend( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
void DoAppend(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log

Remarks

This method is called to log a message into this appender.

See Also

IAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.Append_overload_2.html0000644000175000017500000000462510412737526027055 0ustar slomoslomo FileAppender.Append Method (LoggingEvent)
log4net SDK Reference

FileAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes a log statement to the output stream if the output stream exists and is writable.

The format of the output will depend on the appender's layout.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.CopyTo_overload_2.html0000644000175000017500000000471610412737542026741 0ustar slomoslomo LevelCollection.CopyTo Method (Level[])
log4net SDK Reference

LevelCollection.CopyTo Method (Level[])

Copies the entire LevelCollection to a one-dimensional Level array.

[Visual Basic]
Overridable Overloads Public Sub CopyTo( _
   ByVal array As Level() _
)
[C#]
public virtual void CopyTo(
   Level[] array
);

Parameters

array
The one-dimensional Level array to copy to.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[])

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection.CopyTo Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.Format_overload_1.html0000644000175000017500000000454310412737562026521 0ustar slomoslomo PatternString.Format Method (TextWriter)
log4net SDK Reference

PatternString.Format Method (TextWriter)

Produces a formatted string as specified by the conversion pattern.

[Visual Basic]
Overloads Public Sub Format( _
   ByVal writer As TextWriter _
)
[C#]
public void Format(
   TextWriter writer
);

Parameters

writer
The TextWriter to write the formatted event to

Remarks

Format the pattern to the writer.

See Also

PatternString Class | log4net.Util Namespace | PatternString.Format Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.HostNameProperty.html0000644000175000017500000000413410412737544026174 0ustar slomoslomo LoggingEvent.HostNameProperty Field
log4net SDK Reference

LoggingEvent.HostNameProperty Field

The key into the Properties map for the host name value.

[Visual Basic]
Public Const HostNameProperty As String = "log4net:HostName"
[C#]
public const string HostNameProperty = "log4net:HostName";

Remarks

Missing <remarks> documentation for F:log4net.Core.LoggingEvent.HostNameProperty

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.html0000644000175000017500000001060110412737524025553 0ustar slomoslomo ColoredConsoleAppender Class
log4net SDK Reference

ColoredConsoleAppender Class

Appends logging events to the console.

For a list of all members of this type, see ColoredConsoleAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.ColoredConsoleAppender

[Visual Basic]
Public Class ColoredConsoleAppender
    Inherits AppenderSkeleton
[C#]
public class ColoredConsoleAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

ColoredConsoleAppender appends log events to the standard output stream or the error output stream using a layout specified by the user. It also allows the color of a specific type of message to be set.

By default, all output is written to the console's standard output stream. The Target property can be set to direct the output to the error stream.

NOTE: This appender writes directly to the application's attached console not to the System.Console.Out or System.Console.Error TextWriter. The System.Console.Out and System.Console.Error streams can be programmatically redirected (for example NUnit does this to capture program output). This appender will ignore these redirections because it needs to use Win32 API calls to colorize the output. To respect these redirections the ConsoleAppender must be used.

When configuring the colored console appender, mapping should be specified to map a logging level to a color. For example:

[XML]
<mapping>
    <level value="ERROR" />
    <foreColor value="White" />
    <backColor value="Red, HighIntensity" />
</mapping>
<mapping>
    <level value="DEBUG" />
    <backColor value="Green" />
</mapping>

The Level is the standard log4net logging level and ForeColor and BackColor can be any combination of the following values:

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

ColoredConsoleAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.LevelMap.html0000644000175000017500000000356110412737554026751 0ustar slomoslomo LevelMap Property
log4net SDK Reference

ILoggerRepository.LevelMap Property

Get the level map for the Repository.

[Visual Basic]
Property LevelMap As LevelMap
[C#]
log4net.Core.LevelMap LevelMap {get;}

Remarks

Get the level map for the Repository.

The level map defines the mappings between level names and Level objects in this repository.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILoggerWrapperMembers.html0000644000175000017500000000333710412737540024526 0ustar slomoslomo ILoggerWrapper Members
log4net SDK Reference

ILoggerWrapper Members

ILoggerWrapper overview

Public Instance Properties

Logger Get the implementation behind this wrapper object.

See Also

ILoggerWrapper Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.RollOverRenameFiles.html0000644000175000017500000000577610412737534030747 0ustar slomoslomo RollingFileAppender.RollOverRenameFiles Method
log4net SDK Reference

RollingFileAppender.RollOverRenameFiles Method 

Implements file roll.

[Visual Basic]
Protected Sub RollOverRenameFiles( _
   ByVal baseFileName As String _
)
[C#]
protected void RollOverRenameFiles(
   string baseFileName
);

Parameters

baseFileName
the base name to rename

Remarks

If the maximum number of size based backups is reached (curSizeRollBackups == maxSizeRollBackups) then the oldest file is deleted -- its index determined by the sign of countDirection. If countDirection < 0, then files {File.1, ..., File.curSizeRollBackups -1} are renamed to {File.2, ..., File.curSizeRollBackups}.

If maxSizeRollBackups is equal to zero, then the File is truncated with no backup files created.

If maxSizeRollBackups < 0, then File is renamed if needed and no files are deleted.

This is called by RollOverSize to rename the files.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBaseConstructor.html0000644000175000017500000000343510412737552025710 0ustar slomoslomo XmlLayoutBase Constructor
log4net SDK Reference

XmlLayoutBase Constructor

Protected constructor to support subclasses

Overload List

Protected constructor to support subclasses

protected XmlLayoutBase();

Protected constructor to support subclasses

protected XmlLayoutBase(bool);

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandler.Error_overload_3.html0000644000175000017500000000645510412737562027622 0ustar slomoslomo OnlyOnceErrorHandler.Error Method (String, Exception, ErrorCode)
log4net SDK Reference

OnlyOnceErrorHandler.Error Method (String, Exception, ErrorCode)

Log an Error

[Visual Basic]
NotOverridable Overloads Public Sub Error( _
   ByVal message As String, _
   ByVal e As Exception, _
   ByVal errorCode As ErrorCode _
) _
    Implements IErrorHandler.Error
[C#]
public void Error(
   string message,
   Exception e,
   ErrorCode errorCode
);

Parameters

message
The error message.
e
The exception.
errorCode
The internal error code.

Implements

IErrorHandler.Error

Remarks

Prints the message and the stack trace of the exception on the standard error output stream.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace | OnlyOnceErrorHandler.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLock.html0000644000175000017500000000605210412737526025725 0ustar slomoslomo FileAppender.MinimalLock Class
log4net SDK Reference

FileAppender.MinimalLock Class

Acquires the file lock for each write

For a list of all members of this type, see FileAppender.MinimalLock Members.

System.Object
   log4net.Appender.FileAppender.LockingModelBase
      log4net.Appender.FileAppender.MinimalLock

[Visual Basic]
Public Class FileAppender.MinimalLock
    Inherits LockingModelBase
[C#]
public class FileAppender.MinimalLock : LockingModelBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Opens the file once for each AcquireLock/ReleaseLock cycle, thus holding the lock for the minimal amount of time. This method of locking is considerably slower than FileAppender.ExclusiveLock but allows other processes to move/delete the log file whilst logging continues.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

FileAppender.MinimalLock Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerCreationEventHandler.html0000644000175000017500000000572010412737556030737 0ustar slomoslomo LoggerCreationEventHandler Delegate
log4net SDK Reference

LoggerCreationEventHandler Delegate

Delegate used to handle logger creation event notifications.

[Visual Basic]
Public Delegate Sub LoggerCreationEventHandler( _
   ByVal sender As Object, _
   ByVal e As LoggerCreationEventArgs _
)
[C#]
public delegate void LoggerCreationEventHandler(
   object sender,
   LoggerCreationEventArgs e
);

Parameters

sender
The Hierarchy in which the Logger has been created.
e
The LoggerCreationEventArgs event args that hold the Logger instance that has been created.

Remarks

Delegate used to handle logger creation event notifications.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.Facility.html0000644000175000017500000000414110412737530026636 0ustar slomoslomo Facility Property
log4net SDK Reference

LocalSyslogAppender.Facility Property

Syslog facility

[Visual Basic]
Public Property Facility As SyslogFacility
[C#]
public LocalSyslogAppender.SyslogFacility Facility {get; set;}

Remarks

Set to one of the LocalSyslogAppender.SyslogFacility values. The list of facilities is predefined and cannot be extended. The default value is User.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventConstructor5.html0000644000175000017500000000634510412737544025253 0ustar slomoslomo LoggingEvent Constructor (SerializationInfo, StreamingContext)
log4net SDK Reference

LoggingEvent Constructor (SerializationInfo, StreamingContext)

Serialization constructor

[Visual Basic]
Overloads Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
protected LoggingEvent(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo that holds the serialized object data.
context
The StreamingContext that contains contextual information about the source or destination.

Remarks

Initializes a new instance of the LoggingEvent class with serialized data.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilterProperties.html0000644000175000017500000000543710412737550026132 0ustar slomoslomo LevelRangeFilter Properties
log4net SDK Reference

LevelRangeFilter Properties

The properties of the LevelRangeFilter class are listed below. For a complete list of LevelRangeFilter class members, see the LevelRangeFilter Members topic.

Public Instance Properties

AcceptOnMatch Accept when matching LevelMin and LevelMax
LevelMax Sets the maximum matched Level
LevelMin Set the minimum matched Level
Next (inherited from FilterSkeleton) Property to get and set the next filter

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.html0000644000175000017500000001215510412737522026261 0ustar slomoslomo BufferingAppenderSkeleton Class
log4net SDK Reference

BufferingAppenderSkeleton Class

Abstract base class implementation of IAppender that buffers events in a fixed size buffer.

For a list of all members of this type, see BufferingAppenderSkeleton Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.BufferingAppenderSkeleton
         log4net.Appender.AdoNetAppender
         log4net.Appender.BufferingForwardingAppender
         log4net.Appender.RemotingAppender
         log4net.Appender.SmtpAppender
         log4net.Appender.SmtpPickupDirAppender

[Visual Basic]
MustInherit Public Class BufferingAppenderSkeleton
    Inherits AppenderSkeleton
[C#]
public abstract class BufferingAppenderSkeleton : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This base class should be used by appenders that need to buffer a number of events before logging them. For example the AdoNetAppender buffers events and then submits the entire contents of the buffer to the underlying database in one go.

Subclasses should override the SendBuffer method to deliver the buffered events.

The BufferingAppenderSkeleton maintains a fixed size cyclic buffer of events. The size of the buffer is set using the BufferSize property.

A ITriggeringEventEvaluator is used to inspect each event as it arrives in the appender. If the Evaluator triggers, then the current buffer is sent immediately (see SendBuffer). Otherwise the event is stored in the buffer. For example, an evaluator can be used to deliver the events immediately when an ERROR event arrives.

The buffering appender can be configured in a Lossy mode. By default the appender is NOT lossy. When the buffer is full all the buffered events are sent with SendBuffer. If the Lossy property is set to true then the buffer will not be sent when it is full, and new events arriving in the appender will overwrite the oldest event in the buffer. In lossy mode the buffer will only be sent when the Evaluator triggers. This can be useful behavior when you need to know about ERROR events but not about events with a lower level, configure an evaluator that will trigger when an ERROR event arrives, the whole buffer will be sent which gives a history of events leading up to the ERROR event.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

BufferingAppenderSkeleton Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CompositePropertiesMethods.html0000644000175000017500000000773610412737560025723 0ustar slomoslomo CompositeProperties Methods
log4net SDK Reference

CompositeProperties Methods

The methods of the CompositeProperties class are listed below. For a complete list of CompositeProperties class members, see the CompositeProperties Members topic.

Public Instance Methods

Add Add a Properties Dictionary to this composite collection
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flatten Flatten this composite collection into a single properties dictionary
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

CompositeProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.OnClose.html0000644000175000017500000000336710412737530026445 0ustar slomoslomo LocalSyslogAppender.OnClose Method
log4net SDK Reference

LocalSyslogAppender.OnClose Method 

Close the syslog when the appender is closed

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Close the syslog when the appender is closed

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.GetAllRepositories.html0000644000175000017500000000456110412737540031266 0ustar slomoslomo DefaultRepositorySelector.GetAllRepositories Method
log4net SDK Reference

DefaultRepositorySelector.GetAllRepositories Method 

Gets a list of ILoggerRepository objects

[Visual Basic]
NotOverridable Public Function GetAllRepositories() As ILoggerRepository() _
    Implements IRepositorySelector.GetAllRepositories
[C#]
public ILoggerRepository[] GetAllRepositories();

Return Value

an array of all known ILoggerRepository objects

Implements

IRepositorySelector.GetAllRepositories

Remarks

Gets an array of all of the repositories created by this selector.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeletonMethods.html0000644000175000017500000001217310412737546025141 0ustar slomoslomo FilterSkeleton Methods
log4net SDK Reference

FilterSkeleton Methods

The methods of the FilterSkeleton class are listed below. For a complete list of FilterSkeleton class members, see the FilterSkeleton Members topic.

Public Instance Methods

ActivateOptions Initialize the filter with the options set
Decide Decide if the LoggingEvent should be logged through an appender.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FilterSkeleton Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasRepositoryAttributeProperties.html0000644000175000017500000000450510412737536027734 0ustar slomoslomo AliasRepositoryAttribute Properties
log4net SDK Reference

AliasRepositoryAttribute Properties

The properties of the AliasRepositoryAttribute class are listed below. For a complete list of AliasRepositoryAttribute class members, see the AliasRepositoryAttribute Members topic.

Public Instance Properties

Name Gets or sets the repository to alias to this assemby's repository.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

AliasRepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.ShutdownRepository_overload_2.html0000644000175000017500000000600210412737544031056 0ustar slomoslomo LoggerManager.ShutdownRepository Method (Assembly)
log4net SDK Reference

LoggerManager.ShutdownRepository Method (Assembly)

Shuts down the repository for the repository specified.

[Visual Basic]
Overloads Public Shared Sub ShutdownRepository( _
   ByVal repositoryAssembly As Assembly _
)
[C#]
public static void ShutdownRepository(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Remarks

Calling this method will safely close and remove all appenders in all the loggers including root contained in the repository for the repository. The repository is looked up using the repositoryAssembly specified.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The shutdown 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.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.ShutdownRepository Overload List


log4net-1.2.10/doc/release/sdk/pubevent.gif0000644000175000017500000000154510412737506017512 0ustar slomoslomoGIF89a÷ÿÿÿÿÿ€€ ÿÿÿÿÿÿ ÏÏÏÈÈÈÀÀÀ€€€<<< ÿÿÿ!ù,@BH° Á pp°  6t ±áA2V4ø°@Š. I²¤I„GZLø‘äŒC>T¹’æÉ›;log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.InstantiateByClassName.html0000644000175000017500000000710310412737562030052 0ustar slomoslomo OptionConverter.InstantiateByClassName Method
log4net SDK Reference

OptionConverter.InstantiateByClassName Method 

Instantiates an object given a class name.

[Visual Basic]
Public Shared Function InstantiateByClassName( _
   ByVal className As String, _
   ByVal superClass As Type, _
   ByVal defaultValue As Object _
) As Object
[C#]
public static object InstantiateByClassName(
   string className,
   Type superClass,
   object defaultValue
);

Parameters

className
The fully qualified class name of the object to instantiate.
superClass
The class to which the new object should belong.
defaultValue
The object to return in case of non-fulfillment.

Return Value

An instance of the className or defaultValue if the object could not be instantiated.

Remarks

Checks that the className is a subclass of superClass. If that test fails or the object could not be instantiated, then defaultValue is returned.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerRepositoryCreationEventArgs.LoggerRepository.html0000644000175000017500000000416110412737544032463 0ustar slomoslomo LoggerRepository Property
log4net SDK Reference

LoggerRepositoryCreationEventArgs.LoggerRepository Property

The ILoggerRepository that has been created

[Visual Basic]
Public ReadOnly Property LoggerRepository As ILoggerRepository
[C#]
public log4net.Repository.ILoggerRepository LoggerRepository {get;}

Property Value

The ILoggerRepository that has been created

Remarks

The ILoggerRepository that has been created

See Also

LoggerRepositoryCreationEventArgs Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.PluginMap.html0000644000175000017500000000363710412737554027144 0ustar slomoslomo PluginMap Property
log4net SDK Reference

ILoggerRepository.PluginMap Property

The plugin map for this repository.

[Visual Basic]
Property PluginMap As PluginMap
[C#]
log4net.Plugin.PluginMap PluginMap {get;}

Property Value

The plugin map for this repository.

Remarks

The plugin map holds the IPlugin instances that have been attached to this repository.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.Item.html0000644000175000017500000000441710412737542022726 0ustar slomoslomo Item Property
log4net SDK Reference

LevelMap.Item Property

Lookup a Level by name

[Visual Basic]
Public Default ReadOnly Property Item( _
   ByVal name As String _
) As Level
[C#]
public Level this[
   string name
] {get;}

Parameters

name
The name of the Level to lookup

Remarks

Returns the Level from the map with the name specified. If the no level is found then null is returned.

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.Target.html0000644000175000017500000000435210412737524027006 0ustar slomoslomo Target Property
log4net SDK Reference

ColoredConsoleAppender.Target Property

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

[Visual Basic]
Overridable Public Property Target As String
[C#]
public virtual string Target {get; set;}

Property Value

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

Remarks

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.Target.html0000644000175000017500000000425010412737520027452 0ustar slomoslomo Target Property
log4net SDK Reference

AnsiColorTerminalAppender.Target Property

Target is the value of the console output stream.

[Visual Basic]
Overridable Public Property Target As String
[C#]
public virtual string Target {get; set;}

Property Value

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

Remarks

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLevel.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLevel.html0000644000175000017500000000574210412737556032562 0ustar slomoslomo XmlHierarchyConfigurator.ParseLevel Method
log4net SDK Reference

XmlHierarchyConfigurator.ParseLevel Method 

Parses a level element.

[Visual Basic]
Protected Sub ParseLevel( _
   ByVal element As XmlElement, _
   ByVal log As Logger, _
   ByVal isRoot As Boolean _
)
[C#]
protected void ParseLevel(
   XmlElement element,
   Logger log,
   bool isRoot
);

Parameters

element
The level element.
log
The logger object to set the level on.
isRoot
Flag to indicate if the logger is the root logger.

Remarks

Parse an XML element that represents a level.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeletonConstructor.html0000644000175000017500000000356010412737554031106 0ustar slomoslomo LoggerRepositorySkeleton Constructor
log4net SDK Reference

LoggerRepositorySkeleton Constructor

Default Constructor

Overload List

Default Constructor

protected LoggerRepositorySkeleton();

Construct the repository using specific properties

protected LoggerRepositorySkeleton(PropertiesDictionary);

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilter.html0000644000175000017500000000643110412737550024050 0ustar slomoslomo LevelMatchFilter Class
log4net SDK Reference

LevelMatchFilter Class

This is a very simple filter based on Level matching.

For a list of all members of this type, see LevelMatchFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.LevelMatchFilter

[Visual Basic]
Public Class LevelMatchFilter
    Inherits FilterSkeleton
[C#]
public class LevelMatchFilter : FilterSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The filter admits two options LevelToMatch and AcceptOnMatch. If there is an exact match between the value of the LevelToMatch option and the Level of the LoggingEvent, then the Decide method returns Accept in case the AcceptOnMatch option value is set to true, if it is false then Deny is returned. If the Level does not match then the result will be Neutral.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

LevelMatchFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.GetEnumerator.html0000644000175000017500000000424110412737554026722 0ustar slomoslomo PluginCollection.GetEnumerator Method
log4net SDK Reference

PluginCollection.GetEnumerator Method 

Returns an enumerator that can iterate through the PluginCollection.

[Visual Basic]
Overridable Public Function GetEnumerator() As IPluginCollectionEnumerator
[C#]
public virtual IPluginCollectionEnumerator GetEnumerator();

Return Value

An Enumerator for the entire PluginCollection.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.GetEnumerator

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.Layout.html0000644000175000017500000000446410412737520027136 0ustar slomoslomo Layout Property
log4net SDK Reference

AdoNetAppenderParameter.Layout Property

Gets or sets the IRawLayout to use to render the logging event into an object for this parameter.

[Visual Basic]
Public Property Layout As IRawLayout
[C#]
public log4net.Layout.IRawLayout Layout {get; set;}

Property Value

The IRawLayout used to render the logging event into an object for this parameter.

Remarks

The IRawLayout that renders the value for this parameter.

The RawLayoutConverter can be used to adapt any ILayout into a IRawLayout for use in the property.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.IsErrorEnabled.html0000644000175000017500000000460510412737516023126 0ustar slomoslomo IsErrorEnabled Property
log4net SDK Reference

ILog.IsErrorEnabled Property

Checks if this logger is enabled for the Error level.

[Visual Basic]
Property IsErrorEnabled As Boolean
[C#]
bool IsErrorEnabled {get;}

Property Value

true if this logger is enabled for Error events, false otherwise.

Remarks

For more information see IsDebugEnabled.

See Also

ILog Interface | log4net Namespace | Error | ErrorFormat | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppenderMethods.html0000644000175000017500000001777410412737536025250 0ustar slomoslomo TraceAppender Methods
log4net SDK Reference

TraceAppender Methods

The methods of the TraceAppender class are listed below. For a complete list of TraceAppender class members, see the TraceAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Writes the logging event to the Trace system.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

TraceAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.CreateRepository_overload_2.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.CreateRepository_overload_2.ht0000644000175000017500000000743710412737540032603 0ustar slomoslomo CompactRepositorySelector.CreateRepository Method (Assembly, Type)
log4net SDK Reference

CompactRepositorySelector.CreateRepository Method (Assembly, Type)

Create a new repository for the assembly specified

[Visual Basic]
NotOverridable Overloads Public Function CreateRepository( _
   ByVal assembly As Assembly, _
   ByVal repositoryType As Type _
) As ILoggerRepository _
    Implements IRepositorySelector.CreateRepository
[C#]
public ILoggerRepository CreateRepository(
   Assembly assembly,
   Type repositoryType
);

Parameters

assembly
not used
repositoryType
the type of repository to create, must implement ILoggerRepository

Return Value

the repository created

Implements

IRepositorySelector.CreateRepository

Remarks

The assembly argument is not used. This selector does not create a separate repository for each assembly.

If the repositoryType is null then the default repository type specified to the constructor is used.

As a named repository is not specified the default repository is returned. The default repository is named log4net-default-repository.

See Also

CompactRepositorySelector Class | log4net.Core Namespace | CompactRepositorySelector.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfo.Max.html0000644000175000017500000000357610412737560024030 0ustar slomoslomo Max Property
log4net SDK Reference

FormattingInfo.Max Property

Gets or sets the maximum value.

[Visual Basic]
Public Property Max As Integer
[C#]
public int Max {get; set;}

Property Value

The maximum value.

Remarks

Gets or sets the maximum value.

See Also

FormattingInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ExceptionLayoutMethods.html0000644000175000017500000001206610412737550025367 0ustar slomoslomo ExceptionLayout Methods
log4net SDK Reference

ExceptionLayout Methods

The methods of the ExceptionLayout class are listed below. For a complete list of ExceptionLayout class members, see the ExceptionLayout Members topic.

Public Instance Methods

ActivateOptions Activate component options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Gets the exception text from the logging event
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ExceptionLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Error_overloads.html0000644000175000017500000000345710412737546025044 0ustar slomoslomo Error Method
log4net SDK Reference

LogImpl.Error Method

Logs a message object with the ERROR level.

Overload List

Logs a message object with the ERROR level.

public virtual void Error(object);

Logs a message object with the ERROR level

public virtual void Error(object,Exception);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.GetAppender.html0000644000175000017500000000526610412737524031003 0ustar slomoslomo BufferingForwardingAppender.GetAppender Method
log4net SDK Reference

BufferingForwardingAppender.GetAppender Method 

Looks for the appender with the specified name.

[Visual Basic]
Overridable Public Function GetAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.GetAppender
[C#]
public virtual IAppender GetAppender(
   string name
);

Parameters

name
The name of the appender to lookup.

Return Value

The appender with the specified name, or null.

Implements

IAppenderAttachable.GetAppender

Remarks

Get the named appender attached to this buffering appender.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutConstructor2.html0000644000175000017500000000516310412737552025177 0ustar slomoslomo XmlLayout Constructor (Boolean)
log4net SDK Reference

XmlLayout Constructor (Boolean)

Constructs an XmlLayout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal locationInfo As Boolean _
)
[C#]
public XmlLayout(
   bool locationInfo
);

Parameters

locationInfo
Missing <param> documentation for locationInfo

Remarks

The LocationInfo option takes a boolean value. By default, it is set to false which means there will be no location information output by this layout. If the the option is set to true, then the file name and line number of the statement at the origin of the log statement will be output.

If you are embedding this layout within an SmtpAppender then make sure to set the LocationInfo option of that appender as well.

See Also

XmlLayout Class | log4net.Layout Namespace | XmlLayout Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateDomain_overload_2.html0000644000175000017500000000722010412737516026113 0ustar slomoslomo LogManager.CreateDomain Method (String)
log4net SDK Reference

LogManager.CreateDomain Method (String)

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository with the specified name.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateDomain(
   string repository
);

Parameters

repository
The name of the repository, this must be unique amongst repositories.

Return Value

The ILoggerRepository created for the repository.

Remarks

CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.

Creates the default type of ILoggerRepository which is a Hierarchy object.

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LogManager Class | log4net Namespace | LogManager.CreateDomain Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ConverterInfo.html0000644000175000017500000000474310412737550026307 0ustar slomoslomo PatternLayout.ConverterInfo Class
log4net SDK Reference

PatternLayout.ConverterInfo Class

Wrapper class used to map converter names to converter types

For a list of all members of this type, see PatternLayout.ConverterInfo Members.

System.Object
   log4net.Layout.PatternLayout.ConverterInfo

[Visual Basic]
NotInheritable Public Class PatternLayout.ConverterInfo
[C#]
public sealed class PatternLayout.ConverterInfo

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Pattern converter info class used during configuration to pass to the AddConverter method.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

PatternLayout.ConverterInfo Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfoConstructor1.html0000644000175000017500000000332210412737560025620 0ustar slomoslomo FormattingInfo Constructor ()
log4net SDK Reference

FormattingInfo Constructor ()

Defaut Constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public FormattingInfo();

Remarks

Initializes a new instance of the FormattingInfo class.

See Also

FormattingInfo Class | log4net.Util Namespace | FormattingInfo Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppenderMembers.html0000644000175000017500000003464010412737534026724 0ustar slomoslomo SmtpPickupDirAppender Members
log4net SDK Reference

SmtpPickupDirAppender Members

SmtpPickupDirAppender overview

Protected Static (Shared) Methods

ConvertToFullPath Convert a path into a fully qualified path.

Public Instance Constructors

SmtpPickupDirAppender Constructor Default constructor

Public Instance Properties

BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
From Gets or sets the e-mail address of the sender.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
PickupDir Gets or sets the path to write the messages to.
SecurityContext Gets or sets the SecurityContext used to write to the pickup directory.
Subject Gets or sets the subject line of the e-mail message.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
To Gets or sets a semicolon-delimited list of recipient e-mail addresses.

Public Instance Methods

ActivateOptions Activate the options on this appender.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from BufferingAppenderSkeleton) Close this appender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Sends the contents of the cyclic buffer as an e-mail message.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepositoryMembers.html0000644000175000017500000001330110412737554026551 0ustar slomoslomo ILoggerRepository Members
log4net SDK Reference

ILoggerRepository Members

ILoggerRepository overview

Public Instance Properties

Configured Flag indicates if this repository has been configured.
LevelMap Get the level map for the Repository.
Name The name of the repository
PluginMap The plugin map for this repository.
Properties Repository specific properties
RendererMap RendererMap accesses the object renderer map for this repository.
Threshold The threshold for all events in this repository

Public Instance Methods

Exists Check if the named logger exists in the repository. If so return its reference, otherwise returns null.
GetAppenders Returns all the Appenders that are configured as an Array.
GetCurrentLoggers Returns all the currently defined loggers as an Array.
GetLogger Returns a named logger instance
Log Log the LoggingEvent through this repository.
ResetConfiguration Reset the repositories configuration to a default state
ShutdownShutdown the repository

Public Instance Events

ConfigurationChanged Event to notify that the repository has had its configuration changed.
ConfigurationReset Event to notify that the repository has had its configuration reset.
ShutdownEvent Event to notify that the repository has been shutdown.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.CopyTo_overload_1.html0000644000175000017500000000610410412737522030264 0ustar slomoslomo AppenderCollection.CopyTo Method (IAppender[], Int32)
log4net SDK Reference

AppenderCollection.CopyTo Method (IAppender[], Int32)

Copies the entire AppenderCollection to a one-dimensional IAppender array, starting at the specified index of the target array.

[Visual Basic]
Overridable Overloads Public Sub CopyTo( _
   ByVal array As IAppender(), _
   ByVal start As Integer _
)
[C#]
public virtual void CopyTo(
   IAppender[] array,
   int start
);

Parameters

array
The one-dimensional IAppender array to copy to.
start
The zero-based index in array at which copying begins.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[],System.Int32)

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection.CopyTo Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttribute.html0000644000175000017500000000611210412737566030041 0ustar slomoslomo TypeConverterAttribute Class
log4net SDK Reference

TypeConverterAttribute Class

Attribute used to associate a type converter

For a list of all members of this type, see TypeConverterAttribute Members.

System.Object
   System.Attribute
      log4net.Util.TypeConverters.TypeConverterAttribute

[Visual Basic]
NotInheritable Public Class TypeConverterAttribute
    Inherits Attribute
[C#]
public sealed class TypeConverterAttribute : Attribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Class and Interface level attribute that specifies a type converter to use with the associated type.

To associate a type converter with a target type apply a TypeConverterAttribute to the target type. Specify the type of the type converter on the attribute.

Requirements

Namespace: log4net.Util.TypeConverters

Assembly: log4net (in log4net.dll)

See Also

TypeConverterAttribute Members | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.Sender.html0000644000175000017500000000405310412737530025421 0ustar slomoslomo Sender Property
log4net SDK Reference

NetSendAppender.Sender Property

Gets or sets the sender of the message.

[Visual Basic]
Public Property Sender As String
[C#]
public string Sender {get; set;}

Property Value

The sender of the message.

Remarks

If this property is not specified, the message is sent from the local computer.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.Log4NetConfigurationSectionHandlerConstructor.html0000644000175000017500000000336410412737536031741 0ustar slomoslomo Log4NetConfigurationSectionHandler Constructor
log4net SDK Reference

Log4NetConfigurationSectionHandler Constructor 

Initializes a new instance of the Log4NetConfigurationSectionHandler class.

[Visual Basic]
Public Sub New()
[C#]
public Log4NetConfigurationSectionHandler();

Remarks

Default constructor.

See Also

Log4NetConfigurationSectionHandler Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStacksMembers.html0000644000175000017500000000737510412737564025623 0ustar slomoslomo ThreadContextStacks Members
log4net SDK Reference

ThreadContextStacks Members

ThreadContextStacks overview

Public Instance Properties

Item Gets the named thread context stack

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ThreadContextStacks Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeletonConstructor.html0000644000175000017500000000304410412737550026133 0ustar slomoslomo LayoutSkeleton Constructor
log4net SDK Reference

LayoutSkeleton Constructor 

Empty default constructor

[Visual Basic]
Protected Sub New()
[C#]
protected LayoutSkeleton();

Remarks

Empty default constructor

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.ThreadContext.Properties.html0000644000175000017500000000365710412737520024345 0ustar slomoslomo Properties Property
log4net SDK Reference

ThreadContext.Properties Property

The thread properties map

[Visual Basic]
Public Shared ReadOnly Property Properties As ThreadContextProperties
[C#]
public static Util.ThreadContextProperties Properties {get;}

Property Value

The thread properties map

Remarks

The ThreadContext properties override any GlobalContext properties with the same name.

See Also

ThreadContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLoggerRepository_overload_1.html0000644000175000017500000000570510412737544031132 0ustar slomoslomo LoggerManager.GetLoggerRepository Method (String)
log4net SDK Reference

LoggerManager.GetLoggerRepository Method (String)

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository


Return the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetLoggerRepository( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetLoggerRepository(
   string repository
);

Parameters

repository
the repository to lookup in

Return Value

Return the default ILoggerRepository instance

Remarks

Gets the ILoggerRepository for the repository specified by the repository argument.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLoggerRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.html0000644000175000017500000000431410412737564022451 0ustar slomoslomo SystemInfo Class
log4net SDK Reference

SystemInfo Class

Utility class for system specific information.

For a list of all members of this type, see SystemInfo Members.

System.Object
   log4net.Util.SystemInfo

[Visual Basic]
NotInheritable Public Class SystemInfo
[C#]
public sealed class SystemInfo

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Utility class of static methods for system specific information.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

SystemInfo Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionMethods.html0000644000175000017500000002042110412737554025464 0ustar slomoslomo PluginCollection Methods
log4net SDK Reference

PluginCollection Methods

The methods of the PluginCollection class are listed below. For a complete list of PluginCollection class members, see the PluginCollection Members topic.

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a PluginCollection instance.

Public Instance Methods

Add Adds a IPlugin to the end of the PluginCollection.
AddRangeOverloaded. Adds the elements of a IPlugin collection to the current PluginCollection.
Clear Removes all elements from the PluginCollection.
Clone Creates a shallow copy of the PluginCollection.
Contains Determines whether a given IPlugin is in the PluginCollection.
CopyToOverloaded. Copies the entire PluginCollection to a one-dimensional IPlugin array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the PluginCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a IPlugin in the PluginCollection.
Insert Inserts an element into the PluginCollection at the specified index.
Remove Removes the first occurrence of a specific IPlugin from the PluginCollection.
RemoveAt Removes the element at the specified index of the PluginCollection.
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Evaluator.html0000644000175000017500000000474010412737522030223 0ustar slomoslomo Evaluator Property
log4net SDK Reference

BufferingAppenderSkeleton.Evaluator Property

Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.

[Visual Basic]
Public Property Evaluator As ITriggeringEventEvaluator
[C#]
public log4net.Core.ITriggeringEventEvaluator Evaluator {get; set;}

Property Value

The ITriggeringEventEvaluator that causes the buffer to be sent immediately.

Remarks

The evaluator will be called for each event that is appended to this appender. If the evaluator triggers then the current buffer will immediately be sent (see SendBuffer).

If Lossy is set to true then an Evaluator must be specified.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000016100000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedException.Create_overloads.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedException.Create_ov0000644000175000017500000000451010412737566032702 0ustar slomoslomo Create Method
log4net SDK Reference

ConversionNotSupportedException.Create Method

Creates a new instance of the ConversionNotSupportedException class.

Overload List

Creates a new instance of the ConversionNotSupportedException class.

public static ConversionNotSupportedException Create(Type,object);

Creates a new instance of the ConversionNotSupportedException class.

public static ConversionNotSupportedException Create(Type,object,Exception);

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Warn_overloads.html0000644000175000017500000000344610412737546024660 0ustar slomoslomo Warn Method
log4net SDK Reference

LogImpl.Warn Method

Logs a message object with the WARN level.

Overload List

Logs a message object with the WARN level.

public virtual void Warn(object);

Logs a message object with the WARN level

public virtual void Warn(object,Exception);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Append_overload_2.html0000644000175000017500000000533210412737522027752 0ustar slomoslomo AppenderSkeleton.Append Method (LoggingEvent)
log4net SDK Reference

AppenderSkeleton.Append Method (LoggingEvent)

Subclasses of AppenderSkeleton should implement this method to perform actual logging.

[Visual Basic]
MustOverride Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected abstract void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to append.

Remarks

A subclass must implement this method to perform logging of the loggingEvent.

This method will be called by DoAppend if all the conditions listed for that method are met.

To restrict the logging of events in the appender override the PreAppendCheck method.

See Also

AppenderSkeleton Class | log4net.Appender Namespace | AppenderSkeleton.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStackMembers.html0000644000175000017500000000776710412737564025445 0ustar slomoslomo ThreadContextStack Members
log4net SDK Reference

ThreadContextStack Members

ThreadContextStack overview

Public Instance Properties

Count The number of messages in the stack

Public Instance Methods

Clear Clears all the contextual information held in this stack.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Pop Removes the top context from this stack.
Push Pushes a new context message into this stack.
ToString Gets the current context information for this stack.

See Also

ThreadContextStack Class | log4net.Util Namespace


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverter.Convert_overload_1.htmllog4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverter.Convert_overload_1.html0000644000175000017500000000643210412737552032562 0ustar slomoslomo PatternLayoutConverter.Convert Method (TextWriter, LoggingEvent)
log4net SDK Reference

PatternLayoutConverter.Convert Method (TextWriter, LoggingEvent)

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

[Visual Basic]
MustOverride Overloads Protected Sub Convert( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected abstract void Convert(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
TextWriter that will receive the formatted result.
loggingEvent
The LoggingEvent on which the pattern converter should be executed.

Remarks

Missing <remarks> documentation for M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace | PatternLayoutConverter.Convert Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.InfoFormat_overload_5.html0000644000175000017500000000772710412737546026064 0ustar slomoslomo LogImpl.InfoFormat Method (String, Object[])
log4net SDK Reference

LogImpl.InfoFormat Method (String, Object[])

Logs a formatted message string with the INFO level.

[Visual Basic]
Overridable Overloads Public Sub InfoFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.InfoFormat
[C#]
public virtual void InfoFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.InfoFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the InfoFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.InfoFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.Clear.html0000644000175000017500000000325010412737560023730 0ustar slomoslomo CyclicBuffer.Clear Method
log4net SDK Reference

CyclicBuffer.Clear Method 

Clear the buffer

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

Clear the buffer of all events. The events in the buffer are lost.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumeratorMethods.html0000644000175000017500000000776310412737562026710 0ustar slomoslomo NullDictionaryEnumerator Methods
log4net SDK Reference

NullDictionaryEnumerator Methods

The methods of the NullDictionaryEnumerator class are listed below. For a complete list of NullDictionaryEnumerator class members, see the NullDictionaryEnumerator Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
MoveNext Test if the enumerator can advance, if so advance.
Reset Resets the enumerator back to the start.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Warn_overload_2.html0000644000175000017500000000647610412737546024724 0ustar slomoslomo LogImpl.Warn Method (Object)
log4net SDK Reference

LogImpl.Warn Method (Object)

Logs a message object with the WARN level.

[Visual Basic]
Overridable Overloads Public Sub Warn( _
   ByVal message As Object _
) _
    Implements ILog.Warn
[C#]
public virtual void Warn(
   object message
);

Parameters

message
the message object to log

Implements

ILog.Warn

Remarks

This method first checks if this logger is WARN enabled by comparing the level of this logger with the WARN level. If this logger is WARN enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Warn form instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Warn Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ReadOnly.html0000644000175000017500000000463710412737542025127 0ustar slomoslomo LevelCollection.ReadOnly Method
log4net SDK Reference

LevelCollection.ReadOnly Method 

Creates a read-only wrapper for a LevelCollection instance.

[Visual Basic]
Public Shared Function ReadOnly( _
   ByVal list As LevelCollection _
) As LevelCollection
[C#]
public static LevelCollection ReadOnly(
   LevelCollection list
);

Parameters

list
list to create a readonly wrapper arround

Return Value

A LevelCollection wrapper that is read-only.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.ReadOnly(log4net.Core.LevelCollection)

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.IDateFormatter.html0000644000175000017500000001065610412737546025055 0ustar slomoslomo IDateFormatter Interface
log4net SDK Reference

IDateFormatter Interface

Render a DateTime as a string.

For a list of all members of this type, see IDateFormatter Members.

[Visual Basic]
Public Interface IDateFormatter
[C#]
public interface IDateFormatter

Types that implement IDateFormatter

Type Description
AbsoluteTimeDateFormatter Formats a DateTime as "HH:mm:ss,fff".
DateTimeDateFormatter Formats a DateTime as "dd MMM yyyy HH:mm:ss,fff"
Iso8601DateFormatter Formats the DateTime as "yyyy-MM-dd HH:mm:ss,fff".
SimpleDateFormatter Formats the DateTime using the ToString method.

Remarks

Interface to abstract the rendering of a DateTime instance into a string.

The FormatDate method is used to render the date to a text writer.

Requirements

Namespace: log4net.DateFormatter

Assembly: log4net (in log4net.dll)

See Also

IDateFormatter Members | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttribute.Configure.html0000644000175000017500000000675210412737540027572 0ustar slomoslomo XmlConfiguratorAttribute.Configure Method
log4net SDK Reference

XmlConfiguratorAttribute.Configure Method 

Configures the ILoggerRepository for the specified assembly.

[Visual Basic]
Overrides Public Sub Configure( _
   ByVal sourceAssembly As Assembly, _
   ByVal targetRepository As ILoggerRepository _
)
[C#]
public override void Configure(
   Assembly sourceAssembly,
   ILoggerRepository targetRepository
);

Parameters

sourceAssembly
The assembly that this attribute was defined on.
targetRepository
The repository to configure.

Remarks

Configure the repository using the XmlConfigurator. The targetRepository specified must extend the Hierarchy class otherwise the XmlConfigurator will not be able to configure it.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionThe repository does not extend Hierarchy.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Finest.html0000644000175000017500000000360110412737542022614 0ustar slomoslomo Level.Finest Field
log4net SDK Reference

Level.Finest Field

The Finest level designates fine-grained informational events that are most useful to debug an application.

[Visual Basic]
Public Shared ReadOnly Finest As Level
[C#]
public static readonly Level Finest;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Finest

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.ConfigurationReset.html0000644000175000017500000000374210412737554031057 0ustar slomoslomo ILoggerRepository.ConfigurationReset Event
log4net SDK Reference

ILoggerRepository.ConfigurationReset Event

Event to notify that the repository has had its configuration reset.

[Visual Basic]
Event ConfigurationReset As LoggerRepositoryConfigurationResetEventHandler
[C#]
event LoggerRepositoryConfigurationResetEventHandler ConfigurationReset;

Remarks

Event raised when the repository's configuration has been reset to default.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutConstructor1.html0000644000175000017500000000343310412737552025174 0ustar slomoslomo XmlLayout Constructor ()
log4net SDK Reference

XmlLayout Constructor ()

Constructs an XmlLayout

[Visual Basic]
Overloads Public Sub New()
[C#]
public XmlLayout();

Remarks

Missing <remarks> documentation for M:log4net.Layout.XmlLayout.#ctor

See Also

XmlLayout Class | log4net.Layout Namespace | XmlLayout Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionaryMethods.html0000644000175000017500000001165210412737562026060 0ustar slomoslomo PropertiesDictionary Methods
log4net SDK Reference

PropertiesDictionary Methods

The methods of the PropertiesDictionary class are listed below. For a complete list of PropertiesDictionary class members, see the PropertiesDictionary Members topic.

Public Instance Methods

Clear Remove all properties from the properties collection
Contains (inherited from ReadOnlyPropertiesDictionary) Test if the dictionary contains a specified key
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetKeys (inherited from ReadOnlyPropertiesDictionary) Gets the key names.
GetObjectData (inherited from ReadOnlyPropertiesDictionary) Serializes this object into the SerializationInfo provided.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove the entry with the specified key from this dictionary
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.CreateRepository_overload_2.html0000644000175000017500000000734210412737542031733 0ustar slomoslomo IRepositorySelector.CreateRepository Method (Assembly, Type)
log4net SDK Reference

IRepositorySelector.CreateRepository Method (Assembly, Type)

Creates a new repository for the assembly specified.

[Visual Basic]
Function CreateRepository( _
   ByVal assembly As Assembly, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
ILoggerRepository CreateRepository(
   Assembly assembly,
   Type repositoryType
);

Parameters

assembly
The assembly to use to create the domain to associate with the ILoggerRepository.
repositoryType
The type of repository to create, must implement ILoggerRepository.

Return Value

The repository created.

Remarks

The ILoggerRepository created will be associated with the domain specified such that a call to GetRepository with the same assembly specified will return the same repository instance.

How the association between Assembly and ILoggerRepository is made is not defined. The implementation may choose any method for this association.

See Also

IRepositorySelector Interface | log4net.Core Namespace | IRepositorySelector.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.GlobalContextProperties.Clear.html0000644000175000017500000000356610412737560026224 0ustar slomoslomo GlobalContextProperties.Clear Method
log4net SDK Reference

GlobalContextProperties.Clear Method 

Clear the global context properties

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

Missing <remarks> documentation for M:log4net.Util.GlobalContextProperties.Clear

See Also

GlobalContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfo.MethodName.html0000644000175000017500000000366010412737544024731 0ustar slomoslomo MethodName Property
log4net SDK Reference

LocationInfo.MethodName Property

Gets the method name of the caller.

[Visual Basic]
Public ReadOnly Property MethodName As String
[C#]
public string MethodName {get;}

Property Value

The method name of the caller.

Remarks

Gets the method name of the caller.

See Also

LocationInfo Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.ConvertStringTo.html0000644000175000017500000000572510412737562026627 0ustar slomoslomo OptionConverter.ConvertStringTo Method
log4net SDK Reference

OptionConverter.ConvertStringTo Method 

Converts a string to an object.

[Visual Basic]
Public Shared Function ConvertStringTo( _
   ByVal target As Type, _
   ByVal txt As String _
) As Object
[C#]
public static object ConvertStringTo(
   Type target,
   string txt
);

Parameters

target
The target type to convert to.
txt
The string to convert to an object.

Return Value

The object converted from a string or null when the conversion failed.

Remarks

Converts a string to an object. Uses the converter registry to try to convert the string value into the specified target type.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom.html0000644000175000017500000000503610412737566031753 0ustar slomoslomo ConverterRegistry.GetConvertFrom Method
log4net SDK Reference

ConverterRegistry.GetConvertFrom Method 

Gets the type converter to use to convert values to the destination type.

[Visual Basic]
Public Shared Function GetConvertFrom( _
   ByVal destinationType As Type _
) As IConvertFrom
[C#]
public static IConvertFrom GetConvertFrom(
   Type destinationType
);

Parameters

destinationType
The type being converted to.

Return Value

The type converter instance to use for type conversions or null if no type converter is found.

Remarks

Gets the type converter to use to convert values to the destination type.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.html0000644000175000017500000001031210412737554021606 0ustar slomoslomo log4net.Repository
log4net SDK Reference

log4net.Repository Namespace

Logger repository base types and interfaces.

Namespace hierarchy

Classes

Class Description
LoggerRepositorySkeleton Base implementation of ILoggerRepository

Interfaces

Interface Description
IBasicRepositoryConfigurator Basic Configurator interface for repositories
ILoggerRepository Interface implemented by logger repositories.
IXmlRepositoryConfigurator Configure repository using XML

Delegates

Delegate Description
LoggerRepositoryConfigurationChangedEventHandler Delegate used to handle event notifications for logger repository configuration changes.
LoggerRepositoryConfigurationResetEventHandler Delegate used to handle logger repository configuration reset event notifications
LoggerRepositoryShutdownEventHandler Delegate used to handle logger repository shutdown event notifications

log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppenderConstructor1.html0000644000175000017500000000337210412737526026724 0ustar slomoslomo EventLogAppender Constructor ()
log4net SDK Reference

EventLogAppender Constructor ()

Initializes a new instance of the EventLogAppender class.

[Visual Basic]
Overloads Public Sub New()
[C#]
public EventLogAppender();

Remarks

Default constructor.

See Also

EventLogAppender Class | log4net.Appender Namespace | EventLogAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.Append_overload_1.html0000644000175000017500000000457710412737536030325 0ustar slomoslomo TextWriterAppender.Append Method (LoggingEvent[])
log4net SDK Reference

TextWriterAppender.Append Method (LoggingEvent[])

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvents As LoggingEvent() _
)
[C#]
protected override void Append(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
The array of events to log.

Remarks

This method writes all the bulk logged events to the output writer before flushing the stream.

See Also

TextWriterAppender Class | log4net.Appender Namespace | TextWriterAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.RemoveAt.html0000644000175000017500000000632510412737542025130 0ustar slomoslomo LevelCollection.RemoveAt Method
log4net SDK Reference

LevelCollection.RemoveAt Method 

Removes the element at the specified index of the LevelCollection.

[Visual Basic]
Overridable Public Sub RemoveAt( _
   ByVal index As Integer _
)
[C#]
public virtual void RemoveAt(
   int index
);

Parameters

index
The zero-based index of the element to remove.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.RemoveAt(System.Int32)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapterMembers.html0000644000175000017500000002411110412737564025303 0ustar slomoslomo TextWriterAdapter Members
log4net SDK Reference

TextWriterAdapter Members

TextWriterAdapter overview

Public Instance Properties

Encoding The Encoding in which the output is written
FormatProvider Gets an object that controls formatting
NewLine Gets or sets the line terminator string used by the TextWriter

Public Instance Methods

Close Closes the writer and releases any system resources associated with the writer
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteOverloaded. Writes a string to the wrapped TextWriter
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Constructors

TextWriterAdapter Constructor Create an instance of TextWriterAdapter that forwards all messages to a TextWriter.

Protected Instance Fields

CoreNewLine (inherited from TextWriter) Stores the new line characters used for this TextWriter .

Protected Instance Properties

Writer Gets or sets the underlying TextWriter.

Protected Instance Methods

Dispose Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.AddMapping.html0000644000175000017500000000431710412737532027306 0ustar slomoslomo RemoteSyslogAppender.AddMapping Method
log4net SDK Reference

RemoteSyslogAppender.AddMapping Method 

Add a mapping of level to severity

[Visual Basic]
Public Sub AddMapping( _
   ByVal mapping As LevelSeverity _
)
[C#]
public void AddMapping(
   LevelSeverity mapping
);

Parameters

mapping
The mapping to add

Remarks

Add a RemoteSyslogAppender.LevelSeverity mapping to this appender.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawPropertyLayoutConstructor.html0000644000175000017500000000334610412737552026654 0ustar slomoslomo RawPropertyLayout Constructor
log4net SDK Reference

RawPropertyLayout Constructor 

Constructs a RawPropertyLayout

[Visual Basic]
Public Sub New()
[C#]
public RawPropertyLayout();

Remarks

Missing <remarks> documentation for M:log4net.Layout.RawPropertyLayout.#ctor

See Also

RawPropertyLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.To.html0000644000175000017500000000376310412737534025774 0ustar slomoslomo To Property
log4net SDK Reference

SmtpPickupDirAppender.To Property

Gets or sets a semicolon-delimited list of recipient e-mail addresses.

[Visual Basic]
Public Property To As String
[C#]
public string To {get; set;}

Property Value

A semicolon-delimited list of e-mail addresses.

Remarks

A semicolon-delimited list of e-mail addresses.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor.html0000644000175000017500000000362310412737522032320 0ustar slomoslomo BackColor Property
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors.BackColor Property

The mapped background color for the specified level

[Visual Basic]
Public Property BackColor As AnsiColor
[C#]
public AnsiColorTerminalAppender.AnsiColor BackColor {get; set;}

Remarks

Required property. The mapped background color for the specified level

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Fatal_overload_2.html0000644000175000017500000000651710412737546025040 0ustar slomoslomo LogImpl.Fatal Method (Object)
log4net SDK Reference

LogImpl.Fatal Method (Object)

Logs a message object with the FATAL level.

[Visual Basic]
Overridable Overloads Public Sub Fatal( _
   ByVal message As Object _
) _
    Implements ILog.Fatal
[C#]
public virtual void Fatal(
   object message
);

Parameters

message
The message object to log.

Implements

ILog.Fatal

Remarks

This method first checks if this logger is FATAL enabled by comparing the level of this logger with the FATAL level. If this logger is FATAL enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Fatal form instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Fatal Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.CallAppenders.html0000644000175000017500000000462010412737556027464 0ustar slomoslomo Logger.CallAppenders Method
log4net SDK Reference

Logger.CallAppenders Method 

Deliver the LoggingEvent to the attached appenders.

[Visual Basic]
Overridable Protected Sub CallAppenders( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected virtual void CallAppenders(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Call the appenders in the hierarchy starting at this. If no appenders could be found, emit a warning.

This method calls all the appenders inherited from the hierarchy circumventing any evaluation of whether to log or not to log the particular log request.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.ThreadContext.html0000644000175000017500000000713710412737520022207 0ustar slomoslomo ThreadContext Class
log4net SDK Reference

ThreadContext Class

The log4net Thread Context.

For a list of all members of this type, see ThreadContext Members.

System.Object
   log4net.ThreadContext

[Visual Basic]
NotInheritable Public Class ThreadContext
[C#]
public sealed class ThreadContext

Thread Safety

This type is safe for multithreaded operations.

Remarks

The ThreadContext provides a location for thread specific debugging information to be stored. The ThreadContext properties override any GlobalContext properties with the same name.

The thread context has a properties map and a stack. The properties and stack can be included in the output of log messages. The PatternLayout supports selecting and outputting these properties.

The Thread Context provides a diagnostic context for the current thread. This is an instrument for distinguishing interleaved log output from different sources. Log output is typically interleaved when a server handles multiple clients near-simultaneously.

The Thread Context is managed on a per thread basis.

Example

Example of using the thread context properties to store a username.

[C#]
ThreadContext.Properties["user"] = userName;
log.Info("This log message has a ThreadContext Property called 'user'");
Example of how to push a message into the context stack
[C#]
using(ThreadContext.Stacks["NDC"].Push("my context message"))
{
    log.Info("This log message has a ThreadContext Stack message that includes 'my context message'");

} // at the end of the using block the message is automatically popped 

Requirements

Namespace: log4net

Assembly: log4net (in log4net.dll)

See Also

ThreadContext Members | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_5.html0000644000175000017500000000756110412737536027710 0ustar slomoslomo DOMConfigurator.Configure Method (FileInfo)
log4net SDK Reference

DOMConfigurator.Configure Method (FileInfo)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Configures log4net using the specified configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal configFile As FileInfo _
)
[C#]
public static void Configure(
   FileInfo configFile
);

Parameters

configFile
The XML file to load the configuration from.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

The configuration file must be valid XML. It must contain at least one element called log4net that holds the log4net configuration data.

The log4net configuration file can possible be specified in the application's configuration file (either MyAppName.exe.config for a normal application on Web.config for an ASP.NET application).

The following example configures log4net using a configuration file, of which the location is stored in the application's configuration file :
[C#]
using log4net.Config;
using System.IO;
using System.Configuration;

...

DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));

In the .config file, the path to the log4net can be specified like this :

[XML]
<configuration>
    <appSettings>
        <add key="log4net-config-file" value="log.config" />
    </appSettings>
</configuration>

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.CurrentThreadId.html0000644000175000017500000000504310412737564025477 0ustar slomoslomo CurrentThreadId Property
log4net SDK Reference

SystemInfo.CurrentThreadId Property

Gets the ID of the current thread.

[Visual Basic]
Public Shared ReadOnly Property CurrentThreadId As Integer
[C#]
public static int CurrentThreadId {get;}

Property Value

The ID of the current thread.

Remarks

On the .NET framework, the AppDomain.GetCurrentThreadId method is used to obtain the thread ID for the current thread. This is the operating system ID for the thread.

On the .NET Compact Framework 1.0 it is not possible to get the operating system thread ID for the current thread. The native method GetCurrentThreadId is implemented inline in a header file and cannot be called.

On the .NET Framework 2.0 the Thread.ManagedThreadId is used as this gives a stable id unrelated to the operating system thread ID which may change if the runtime is using fibers.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBufferConstructor.html0000644000175000017500000000515310412737560025155 0ustar slomoslomo CyclicBuffer Constructor
log4net SDK Reference

CyclicBuffer Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal maxSize As Integer _
)
[C#]
public CyclicBuffer(
   int maxSize
);

Parameters

maxSize
The maximum number of logging events in the buffer.

Remarks

Initializes a new instance of the CyclicBuffer class with the specified maximum number of buffered logging events.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionThe maxSize argument is not a positive integer.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.Clear.html0000644000175000017500000000411010412737520021050 0ustar slomoslomo NDC.Clear Method
log4net SDK Reference

NDC.Clear Method 

Clears all the contextual information held on the current thread.

[Visual Basic]
Public Shared Sub Clear()
[C#]
public static void Clear();

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

Clears the stack of NDC data held on the current thread.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateDomain_overloads.html0000644000175000017500000000515010412737544027443 0ustar slomoslomo CreateDomain Method
log4net SDK Reference

LoggerManager.CreateDomain Method

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository for the specified assembly and repository type.

Overload List

Obsolete. Creates a repository for the specified assembly and repository type.

public static ILoggerRepository CreateDomain(Assembly,Type);

Obsolete. Creates a repository with the specified name.

public static ILoggerRepository CreateDomain(string);

Obsolete. Creates a repository with the specified name and repository type.

public static ILoggerRepository CreateDomain(string,Type);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeletonMembers.html0000644000175000017500000002504210412737554030152 0ustar slomoslomo LoggerRepositorySkeleton Members
log4net SDK Reference

LoggerRepositorySkeleton Members

LoggerRepositorySkeleton overview

Public Instance Properties

Configured Flag indicates if this repository has been configured.
LevelMap Get the level map for the Repository.
Name The name of the repository
PluginMap The plugin map for this repository.
Properties Repository specific properties
RendererMap RendererMap accesses the object renderer map for this repository.
Threshold The threshold for all events in this repository

Public Instance Methods

AddRenderer Adds an object renderer for a specific class.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Exists Test if logger exists
GetAppenders Returns all the Appenders that are configured as an Array.
GetCurrentLoggers Returns all the currently defined loggers in the repository
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLogger Return a new logger instance
GetType (inherited from Object) Gets the Type of the current instance.
Log Log the logEvent through this repository.
RaiseConfigurationChanged Raise a configuration changed event on this repository
ResetConfiguration Reset the repositories configuration to a default state
Shutdown Shutdown the repository
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

ConfigurationChanged Event to notify that the repository has had its configuration changed.
ConfigurationReset Event to notify that the repository has had its configuration reset.
ShutdownEvent Event to notify that the repository has been shutdown.

Protected Instance Constructors

LoggerRepositorySkeleton Overloaded. Initializes a new instance of the LoggerRepositorySkeleton class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnConfigurationChanged Notify the registered listeners that the repository has had its configuration changed
OnConfigurationReset Notify the registered listeners that the repository has had its configuration reset
OnShutdown Notify the registered listeners that the repository is shutting down

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.CopyTo_overloads.html0000644000175000017500000000424110412737522030227 0ustar slomoslomo CopyTo Method
log4net SDK Reference

AppenderCollection.CopyTo Method

Copies the entire AppenderCollection to a one-dimensional IAppender array.

Overload List

Copies the entire AppenderCollection to a one-dimensional IAppender array.

public virtual void CopyTo(IAppender[]);

Copies the entire AppenderCollection to a one-dimensional IAppender array, starting at the specified index of the target array.

public virtual void CopyTo(IAppender[],int);

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.RendererMap.html0000644000175000017500000000413710412737554027450 0ustar slomoslomo RendererMap Property
log4net SDK Reference

ILoggerRepository.RendererMap Property

RendererMap accesses the object renderer map for this repository.

[Visual Basic]
Property RendererMap As RendererMap
[C#]
log4net.ObjectRenderer.RendererMap RendererMap {get;}

Property Value

RendererMap accesses the object renderer map for this repository.

Remarks

RendererMap accesses the object renderer map for this repository.

The RendererMap holds a mapping between types and IObjectRenderer objects.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.Level.html0000644000175000017500000000340210412737544024547 0ustar slomoslomo LoggingEventData.Level Field
log4net SDK Reference

LoggingEventData.Level Field

Level of logging event.

[Visual Basic]
Public Level As Level
[C#]
public Level Level;

Remarks

Level of logging event. Level cannot be Serializable because it is a flyweight. Due to its special serialization it cannot be declared final either.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullSecurityContextMembers.html0000644000175000017500000001006110412737562025665 0ustar slomoslomo NullSecurityContext Members
log4net SDK Reference

NullSecurityContext Members

NullSecurityContext overview

Public Static (Shared) Fields

Instance Singleton instance of NullSecurityContext

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Impersonate Impersonate this SecurityContext
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NullSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawPropertyLayout.Format.html0000644000175000017500000000535310412737552025635 0ustar slomoslomo RawPropertyLayout.Format Method
log4net SDK Reference

RawPropertyLayout.Format Method 

Lookup the property for Key

[Visual Basic]
Overridable Public Function Format( _
   ByVal loggingEvent As LoggingEvent _
) As Object _
    Implements IRawLayout.Format
[C#]
public virtual object Format(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to format

Return Value

returns property value

Implements

IRawLayout.Format

Remarks

Looks up and returns the object value of the property named Key. If there is no property defined with than name then null will be returned.

See Also

RawPropertyLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.AddAppender.html0000644000175000017500000000412710412737540026306 0ustar slomoslomo IAppenderAttachable.AddAppender Method
log4net SDK Reference

IAppenderAttachable.AddAppender Method 

Attaches an appender.

[Visual Basic]
Sub AddAppender( _
   ByVal appender As IAppender _
)
[C#]
void AddAppender(
   IAppender appender
);

Parameters

appender
The appender to add.

Remarks

Add the specified appender. The implementation may choose to allow or deny duplicate appenders.

See Also

IAppenderAttachable Interface | log4net.Core Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClientConstructor.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClientConstructor0000644000175000017500000000470210412737534032520 0ustar slomoslomo TelnetAppender.SocketHandler.SocketClient Constructor
log4net SDK Reference

TelnetAppender.SocketHandler.SocketClient Constructor 

Create this TelnetAppender.SocketHandler.SocketClient for the specified Socket

[Visual Basic]
Public Sub New( _
   ByVal socket As Socket _
)
[C#]
public TelnetAppender.SocketHandler.SocketClient(
   Socket socket
);

Parameters

socket
the client's socket

Remarks

Opens a stream writer on the socket.

See Also

TelnetAppender.SocketHandler.SocketClient Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.GetAppenders.html0000644000175000017500000000352510412737554027625 0ustar slomoslomo ILoggerRepository.GetAppenders Method
log4net SDK Reference

ILoggerRepository.GetAppenders Method 

Returns all the Appenders that are configured as an Array.

[Visual Basic]
Function GetAppenders() As IAppender()
[C#]
IAppender[] GetAppenders();

Return Value

All the Appenders

Remarks

Returns all the Appenders that are configured as an Array.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternStringMethods.html0000644000175000017500000001244410412737562024502 0ustar slomoslomo PatternString Methods
log4net SDK Reference

PatternString Methods

The methods of the PatternString class are listed below. For a complete list of PatternString class members, see the PatternString Members topic.

Public Instance Methods

ActivateOptions Initialize object options
AddConverterOverloaded. Add a converter to this PatternString
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatOverloaded. Produces a formatted string as specified by the conversion pattern.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionary.html0000644000175000017500000000522410412737562024532 0ustar slomoslomo PropertiesDictionary Class
log4net SDK Reference

PropertiesDictionary Class

String keyed object map.

For a list of all members of this type, see PropertiesDictionary Members.

System.Object
   log4net.Util.ReadOnlyPropertiesDictionary
      log4net.Util.PropertiesDictionary

[Visual Basic]
NotInheritable Public Class PropertiesDictionary
    Inherits ReadOnlyPropertiesDictionary
[C#]
public sealed class PropertiesDictionary : ReadOnlyPropertiesDictionary

Thread Safety

This type is not safe for multithreaded operations.

Remarks

While this collection is serializable only member objects that are serializable will be serialized along with this collection.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

PropertiesDictionary Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertFromMembers.html0000644000175000017500000000405510412737566027240 0ustar slomoslomo IConvertFrom Members
log4net SDK Reference

IConvertFrom Members

IConvertFrom overview

Public Instance Methods

CanConvertFrom Can the source type be converted to the type supported by this object
ConvertFrom Convert the source object to the type supported by this object

See Also

IConvertFrom Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILogger.html0000644000175000017500000000600010412737540021640 0ustar slomoslomo ILogger Interface
log4net SDK Reference

ILogger Interface

Interface that all loggers implement

For a list of all members of this type, see ILogger Members.

[Visual Basic]
Public Interface ILogger
[C#]
public interface ILogger

Types that implement ILogger

Type Description
Logger Implementation of ILogger used by Hierarchy
RootLogger The RootLogger sits at the root of the logger hierarchy tree.

Remarks

This interface supports logging events and testing if a level is enabled for logging.

These methods will not throw exceptions. Note to implementor, ensure that the implementation of these methods cannot allow an exception to be thrown to the caller.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

ILogger Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.QuietMode.html0000644000175000017500000000571310412737560023427 0ustar slomoslomo QuietMode Property
log4net SDK Reference

LogLog.QuietMode Property

Gets or sets a value indicating whether log4net should generate no output from internal logging, not even for errors.

[Visual Basic]
Public Shared Property QuietMode As Boolean
[C#]
public static bool QuietMode {get; set;}

Property Value

true if log4net should generate no output at all from internal logging, otherwise false.

Remarks

When set to true will cause internal logging at all levels to be suppressed. This means that no warning or error reports will be logged. This option overrides the InternalDebugging setting and disables all debug also.

This value can be set by setting the application setting log4net.Internal.Quiet in the application configuration file.

The default value is false, i.e. internal logging is not disabled.

Example

The following example disables internal logging using the application configuration file :

[XML]
<configuration>
    <appSettings>
        <add key="log4net.Internal.Quiet" value="true" />
    </appSettings>
</configuration>

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerRepositoryCreationEventArgs.html0000644000175000017500000000611210412737544027143 0ustar slomoslomo LoggerRepositoryCreationEventArgs Class
log4net SDK Reference

LoggerRepositoryCreationEventArgs Class

Provides data for the LoggerRepositoryCreatedEvent event.

For a list of all members of this type, see LoggerRepositoryCreationEventArgs Members.

System.Object
   System.EventArgs
      log4net.Core.LoggerRepositoryCreationEventArgs

[Visual Basic]
Public Class LoggerRepositoryCreationEventArgs
    Inherits EventArgs
[C#]
public class LoggerRepositoryCreationEventArgs : EventArgs

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A LoggerRepositoryCreatedEvent event is raised every time a ILoggerRepository is created.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LoggerRepositoryCreationEventArgs Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.Domain.html0000644000175000017500000000352310412737544024713 0ustar slomoslomo LoggingEventData.Domain Field
log4net SDK Reference

LoggingEventData.Domain Field

String representation of the AppDomain.

[Visual Basic]
Public Domain As String
[C#]
public string Domain;

Remarks

String representation of the AppDomain.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.DateTimeDateFormatterMethods.html0000644000175000017500000001241210412737546027675 0ustar slomoslomo DateTimeDateFormatter Methods
log4net SDK Reference

DateTimeDateFormatter Methods

The methods of the DateTimeDateFormatter class are listed below. For a complete list of DateTimeDateFormatter class members, see the DateTimeDateFormatter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate (inherited from AbsoluteTimeDateFormatter) Renders the date into a string. Format is "HH:mm:ss,fff".
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatDateWithoutMillis Formats the date without the milliseconds part
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DateTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionConstructor.html0000644000175000017500000000617210412737522027210 0ustar slomoslomo AppenderCollection Constructor
log4net SDK Reference

AppenderCollection Constructor

Initializes a new instance of the AppenderCollection class that is empty and has the default initial capacity.

Overload List

Initializes a new instance of the AppenderCollection class that is empty and has the default initial capacity.

public AppenderCollection();

Initializes a new instance of the AppenderCollection class that contains elements copied from the specified AppenderCollection.

public AppenderCollection(AppenderCollection);

Initializes a new instance of the AppenderCollection class that contains elements copied from the specified IAppender array.

public AppenderCollection(IAppender[]);

Initializes a new instance of the AppenderCollection class that contains elements copied from the specified IAppender collection.

public AppenderCollection(ICollection);

Initializes a new instance of the AppenderCollection class that has the specified initial capacity.

public AppenderCollection(int);

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.Reset.html0000644000175000017500000000343710412737526024614 0ustar slomoslomo FileAppender.Reset Method
log4net SDK Reference

FileAppender.Reset Method 

Closes any previously opened file and calls the parent's Reset.

[Visual Basic]
Overrides Protected Sub Reset()
[C#]
protected override void Reset();

Remarks

Resets the filename and the file stream.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerWrapperImplMembers.html0000644000175000017500000001261610412737544025243 0ustar slomoslomo LoggerWrapperImpl Members
log4net SDK Reference

LoggerWrapperImpl Members

LoggerWrapperImpl overview

Public Instance Properties

Logger Gets the implementation behind this wrapper object.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

LoggerWrapperImpl Constructor Constructs a new wrapper for the specified logger.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LoggerWrapperImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.html0000644000175000017500000000426010412737560022705 0ustar slomoslomo CyclicBuffer Class
log4net SDK Reference

CyclicBuffer Class

A fixed size rolling buffer of logging events.

For a list of all members of this type, see CyclicBuffer Members.

System.Object
   log4net.Util.CyclicBuffer

[Visual Basic]
Public Class CyclicBuffer
[C#]
public class CyclicBuffer

Thread Safety

This type is not safe for multithreaded operations.

Remarks

An array backed fixed size leaky bucket.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

CyclicBuffer Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.Format.html0000644000175000017500000000563010412737550024750 0ustar slomoslomo PatternLayout.Format Method
log4net SDK Reference

PatternLayout.Format Method 

Produces a formatted string as specified by the conversion pattern.

[Visual Basic]
Overrides Public Sub Format( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
) _
    Implements ILayout.Format
[C#]
public override void Format(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
the event being logged

Implements

ILayout.Format

Remarks

Parse the LoggingEvent using the patter format specified in the ConversionPattern property.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.html0000644000175000017500000000525610412737556024376 0ustar slomoslomo AppenderAttachedImpl Class
log4net SDK Reference

AppenderAttachedImpl Class

A straightforward implementation of the IAppenderAttachable interface.

For a list of all members of this type, see AppenderAttachedImpl Members.

System.Object
   log4net.Util.AppenderAttachedImpl

[Visual Basic]
Public Class AppenderAttachedImpl
    Implements IAppenderAttachable
[C#]
public class AppenderAttachedImpl : IAppenderAttachable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This is the default implementation of the IAppenderAttachable interface. Implementors of the IAppenderAttachable interface should aggregate an instance of this type.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

AppenderAttachedImpl Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.AddAppender.html0000644000175000017500000000456610412737556026547 0ustar slomoslomo AppenderAttachedImpl.AddAppender Method
log4net SDK Reference

AppenderAttachedImpl.AddAppender Method 

Attaches an appender.

[Visual Basic]
NotOverridable Public Sub AddAppender( _
   ByVal newAppender As IAppender _
) _
    Implements IAppenderAttachable.AddAppender
[C#]
public void AddAppender(
   IAppender newAppender
);

Parameters

newAppender
The appender to add.

Implements

IAppenderAttachable.AddAppender

Remarks

If the appender is already in the list it won't be added again.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStacks.html0000644000175000017500000000461510412737564024302 0ustar slomoslomo ThreadContextStacks Class
log4net SDK Reference

ThreadContextStacks Class

Implementation of Stacks collection for the ThreadContext

For a list of all members of this type, see ThreadContextStacks Members.

System.Object
   log4net.Util.ThreadContextStacks

[Visual Basic]
NotInheritable Public Class ThreadContextStacks
[C#]
public sealed class ThreadContextStacks

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Implementation of Stacks collection for the ThreadContext

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ThreadContextStacks Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.ActivateOptions.html0000644000175000017500000000466710412737520027141 0ustar slomoslomo AdoNetAppender.ActivateOptions Method
log4net SDK Reference

AdoNetAppender.ActivateOptions Method 

Initialize the appender based on the options set

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternHierarchy.html0000644000175000017500000000351310412737552024162 0ustar slomoslomo log4net.Layout.PatternHierarchy
log4net SDK Reference

log4net.Layout.Pattern Hierarchy

System.Object

See Also

log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.op_LessThan.html0000644000175000017500000000455110412737542023610 0ustar slomoslomo Level Less Than Operator
log4net SDK Reference

Level Less Than Operator 

Returns a value indicating whether a specified Level is less than another specified Level.

[Visual Basic]
returnValue = Level.op_LessThan(l, r)
[C#]
public static bool operator <(
   Level l,
   Level r
);

Parameters

l
A Level
r
A Level

Return Value

true if l is less than r; otherwise, false.

Remarks

Compares two levels.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppenderMethods.html0000644000175000017500000002062510412737532027631 0ustar slomoslomo OutputDebugStringAppender Methods
log4net SDK Reference

OutputDebugStringAppender Methods

The methods of the OutputDebugStringAppender class are listed below. For a complete list of OutputDebugStringAppender class members, see the OutputDebugStringAppender Members topic.

Protected Static (Shared) Methods

OutputDebugString Stub for OutputDebugString native method

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Write the logging event to the output debug string API
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogicalThreadContextProperties.html0000644000175000017500000000557710412737560026505 0ustar slomoslomo LogicalThreadContextProperties Class
log4net SDK Reference

LogicalThreadContextProperties Class

Implementation of Properties collection for the LogicalThreadContext

For a list of all members of this type, see LogicalThreadContextProperties Members.

System.Object
   log4net.Util.ContextPropertiesBase
      log4net.Util.LogicalThreadContextProperties

[Visual Basic]
NotInheritable Public Class LogicalThreadContextProperties
    Inherits ContextPropertiesBase
[C#]
public sealed class LogicalThreadContextProperties : ContextPropertiesBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Class implements a collection of properties that is specific to each thread. The class is not synchronized as each thread has its own PropertiesDictionary.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

LogicalThreadContextProperties Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumeratorMembers.html0000644000175000017500000001110010412737562024625 0ustar slomoslomo NullEnumerator Members
log4net SDK Reference

NullEnumerator Members

NullEnumerator overview

Public Static (Shared) Properties

Instance Get the singleton instance of the NullEnumerator.

Public Instance Properties

Current Gets the current object from the enumerator.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
MoveNext Test if the enumerator can advance, if so advance
Reset Resets the enumerator back to the start.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NullEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameterMethods.html0000644000175000017500000001226710412737520027206 0ustar slomoslomo AdoNetAppenderParameter Methods
log4net SDK Reference

AdoNetAppenderParameter Methods

The methods of the AdoNetAppenderParameter class are listed below. For a complete list of AdoNetAppenderParameter class members, see the AdoNetAppenderParameter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatValue Renders the logging event and set the parameter value in the command.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Prepare Prepare the specified database command object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBase.OpenFile.html0000644000175000017500000000670110412737526030371 0ustar slomoslomo FileAppender.LockingModelBase.OpenFile Method
log4net SDK Reference

FileAppender.LockingModelBase.OpenFile Method 

Open the output file

[Visual Basic]
MustOverride Public Sub OpenFile( _
   ByVal filename As String, _
   ByVal append As Boolean, _
   ByVal encoding As Encoding _
)
[C#]
public abstract void OpenFile(
   string filename,
   bool append,
   Encoding encoding
);

Parameters

filename
The filename to use
append
Whether to append to the file, or overwrite
encoding
The encoding to use

Remarks

Open the file specified and prepare for logging. No writes will be made until AcquireLock is called. Must be called before any calls to AcquireLock, ReleaseLock and CloseFile.

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.CreatePatternParser.html0000644000175000017500000000477610412737550027450 0ustar slomoslomo PatternLayout.CreatePatternParser Method
log4net SDK Reference

PatternLayout.CreatePatternParser Method 

Create the pattern parser instance

[Visual Basic]
Overridable Protected Function CreatePatternParser( _
   ByVal pattern As String _
) As PatternParser
[C#]
protected virtual PatternParser CreatePatternParser(
   string pattern
);

Parameters

pattern
the pattern to parse

Return Value

The PatternParser that will format the event

Remarks

Creates the PatternParser used to parse the conversion string. Sets the global and instance rules on the PatternParser.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderConstructor2.html0000644000175000017500000000505310412737524026600 0ustar slomoslomo ConsoleAppender Constructor (ILayout)
log4net SDK Reference

ConsoleAppender Constructor (ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property


Initializes a new instance of the ConsoleAppender class with the specified layout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout _
)
[C#]
public ConsoleAppender(
   ILayout layout
);

Parameters

layout
the layout to use for this appender

Remarks

The instance of the ConsoleAppender class is set up to write to the standard output stream.

See Also

ConsoleAppender Class | log4net.Appender Namespace | ConsoleAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.RemoveAppender_overload_2.html0000644000175000017500000000557310412737530032003 0ustar slomoslomo ForwardingAppender.RemoveAppender Method (IAppender)
log4net SDK Reference

ForwardingAppender.RemoveAppender Method (IAppender)

Removes the specified appender from the list of appenders.

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
   ByVal appender As IAppender _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual IAppender RemoveAppender(
   IAppender appender
);

Parameters

appender
The appender to remove.

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

ForwardingAppender Class | log4net.Appender Namespace | ForwardingAppender.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.DebugFormat_overload_1.html0000644000175000017500000001042010412737546026173 0ustar slomoslomo LogImpl.DebugFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

LogImpl.DebugFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the DEBUG level.

[Visual Basic]
Overridable Overloads Public Sub DebugFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.DebugFormat
[C#]
public virtual void DebugFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.DebugFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.DebugFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Contains.html0000644000175000017500000000531110412737522026511 0ustar slomoslomo AppenderCollection.Contains Method
log4net SDK Reference

AppenderCollection.Contains Method 

Determines whether a given IAppender is in the AppenderCollection.

[Visual Basic]
Overridable Public Function Contains( _
   ByVal item As IAppender _
) As Boolean
[C#]
public virtual bool Contains(
   IAppender item
);

Parameters

item
The IAppender to check for.

Return Value

true if item is found in the AppenderCollection; otherwise, false.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.Contains(log4net.Appender.IAppender)

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppenderProperties.html0000644000175000017500000000754110412737530027157 0ustar slomoslomo LocalSyslogAppender Properties
log4net SDK Reference

LocalSyslogAppender Properties

The properties of the LocalSyslogAppender class are listed below. For a complete list of LocalSyslogAppender class members, see the LocalSyslogAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Facility Syslog facility
FilterHead (inherited from AppenderSkeleton) The filter chain.
Identity Message identity
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a Layout to be set.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.IsFixedSize.html0000644000175000017500000000501310412737560025653 0ustar slomoslomo IsFixedSize Property
log4net SDK Reference

EmptyDictionary.IsFixedSize Property

Gets a value indicating whether the EmptyDictionary has a fixed size.

[Visual Basic]
NotOverridable Public ReadOnly Property IsFixedSize As Boolean _
    Implements IDictionary.IsFixedSize
[C#]
public bool IsFixedSize {get;}

Property Value

true

Implements

IDictionary.IsFixedSize

Remarks

As the collection is empty IsFixedSize always returns true.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerCreationEventArgsProperties.html0000644000175000017500000000377110412737556032337 0ustar slomoslomo LoggerCreationEventArgs Properties
log4net SDK Reference

LoggerCreationEventArgs Properties

The properties of the LoggerCreationEventArgs class are listed below. For a complete list of LoggerCreationEventArgs class members, see the LoggerCreationEventArgs Members topic.

Public Instance Properties

Logger Gets the Logger that has been created.

See Also

LoggerCreationEventArgs Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.RemoveAllAppenders.html0000644000175000017500000000410010412737556030110 0ustar slomoslomo AppenderAttachedImpl.RemoveAllAppenders Method
log4net SDK Reference

AppenderAttachedImpl.RemoveAllAppenders Method 

Removes all attached appenders.

[Visual Basic]
NotOverridable Public Sub RemoveAllAppenders() _
    Implements IAppenderAttachable.RemoveAllAppenders
[C#]
public void RemoveAllAppenders();

Implements

IAppenderAttachable.RemoveAllAppenders

Remarks

Removes and closes all attached appenders

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Flush_overload_1.html0000644000175000017500000000621510412737524031456 0ustar slomoslomo BufferingAppenderSkeleton.Flush Method (Boolean)
log4net SDK Reference

BufferingAppenderSkeleton.Flush Method (Boolean)

Flush the currently buffered events

[Visual Basic]
Overridable Overloads Public Sub Flush( _
   ByVal flushLossyBuffer As Boolean _
)
[C#]
public virtual void Flush(
   bool flushLossyBuffer
);

Parameters

flushLossyBuffer
set to true to flush the buffer of lossy events

Remarks

Flushes events that have been buffered. If flushLossyBuffer is false then events will only be flushed if this buffer is non-lossy mode.

If the appender is buffering in Lossy mode then the contents of the buffer will only be flushed if flushLossyBuffer is true. In this case the contents of the buffer will be tested against the LossyEvaluator and if triggering will be output. All other buffered events will be discarded.

If flushLossyBuffer is true then the buffer will always be emptied by calling this method.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace | BufferingAppenderSkeleton.Flush Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppenderConstructor.html0000644000175000017500000000324510412737530026452 0ustar slomoslomo NetSendAppender Constructor
log4net SDK Reference

NetSendAppender Constructor 

Initializes the appender.

[Visual Basic]
Public Sub New()
[C#]
public NetSendAppender();

Remarks

The default constructor initializes all fields to their default values.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppenderMembers.html0000644000175000017500000004760410412737532026376 0ustar slomoslomo RollingFileAppender Members
log4net SDK Reference

RollingFileAppender Members

RollingFileAppender overview

Public Instance Constructors

RollingFileAppender Constructor Initializes a new instance of the RollingFileAppender class.

Public Instance Properties

AppendToFile (inherited from FileAppender) Gets or sets a flag that indicates whether the file should be appended to or overwritten.
CountDirection Gets or sets the rolling file count direction.
DatePattern Gets or sets the date pattern to be used for generating file names when rolling over on date.
Encoding (inherited from FileAppender) Gets or sets Encoding used to write to the file.
ErrorHandler (inherited from TextWriterAppender) Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
File (inherited from FileAppender) Gets or sets the path to the file that logging will be written to.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush (inherited from TextWriterAppender) Gets or set whether the appender will flush at the end of each append operation.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LockingModel (inherited from FileAppender) Gets or sets the LockingModel used to handle locking of the file.
MaxFileSize Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
MaximumFileSize Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
MaxSizeRollBackups Gets or sets the maximum number of backup files that are kept before the oldest is erased.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
RollingStyle Gets or sets the rolling style.
SecurityContext (inherited from FileAppender) Gets or sets the SecurityContext used to write to the file.
StaticLogFileName Gets or sets a value indicating whether to always log to the same file.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
Writer (inherited from TextWriterAppender) Sets the TextWriter where the log output will go.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

QuietWriter (inherited from TextWriterAppender) Gets or sets the QuietTextWriter where logging events will be written to.
RequiresLayout (inherited from TextWriterAppender) This appender requires a log4net.Layout to be set.

Protected Instance Methods

AdjustFileBeforeAppend Performs any required rolling before outputting the next event
AppendOverloaded. Write out an array of logging events.
CloseFile (inherited from FileAppender) Closes the previously opened file.
CloseWriter (inherited from FileAppender) Closes the underlying TextWriter.
DeleteFile Deletes the specified file if it exists.
ExistingInit Initializes based on existing conditions at time of ActivateOptions.
FileExists Test if a file exists at a specified path
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetNextOutputFileName Get the current output file name
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
NextCheckDate Get the start time of the next window for the current rollpoint
OnClose (inherited from TextWriterAppender) Close this appender instance. The underlying stream or writer is also closed.
OpenFile Creates and opens the file for logging. If StaticLogFileName is false then the fully qualified name is determined and used.
PreAppendCheck (inherited from TextWriterAppender) This method determines if there is a sense in attempting to append.
PrepareWriter (inherited from FileAppender) Called to initialize the file writer
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
Reset (inherited from FileAppender) Closes any previously opened file and calls the parent's Reset.
RollFile Renames file fromFile to file toFile.
RollOverRenameFiles Implements file roll.
RollOverSize Implements file roll base on file size.
RollOverTime Rollover the file(s) to date/time tagged file(s).
SafeOpenFile (inherited from FileAppender) Sets and opens the file where the log output will go. The specified file must be writable.
SetQWForFilesOverloaded. Sets the quiet writer being used.
SetQWForFiles (inherited from FileAppender)Overloaded. Sets the quiet writer being used.
WriteFooter (inherited from FileAppender) Writes a footer as produced by the embedded layout's Footer property.
WriteFooterAndCloseWriter (inherited from TextWriterAppender) Writes the footer and closes the underlying TextWriter.
WriteHeader (inherited from FileAppender) Writes a header produced by the embedded layout's Header property.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.RollPoint.html0000644000175000017500000000520110412737534026771 0ustar slomoslomo RollingFileAppender.RollPoint Enumeration
log4net SDK Reference

RollingFileAppender.RollPoint Enumeration

The code assumes that the following 'time' constants are in a increasing sequence.

[Visual Basic]
Protected Enum RollingFileAppender.RollPoint
[C#]
protected enum RollingFileAppender.RollPoint

Remarks

The code assumes that the following 'time' constants are in a increasing sequence.

Members

Member NameDescription
InvalidRollPoint Roll the log not based on the date
TopOfMinute Roll the log for each minute
TopOfHour Roll the log for each hour
HalfDay Roll the log twice a day (midday and midnight)
TopOfDay Roll the log each day (midnight)
TopOfWeek Roll the log each week
TopOfMonth Roll the log each month

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.html0000644000175000017500000002656410412737540020332 0ustar slomoslomo log4net.Core
log4net SDK Reference

log4net.Core Namespace

Core framework types.

Namespace hierarchy

Classes

Class Description
CompactRepositorySelector The implementation of the IRepositorySelector interface suitable for use with the compact framework
DefaultRepositorySelector The default implementation of the IRepositorySelector interface.
Level Defines the default set of levels recognized by the system.
LevelCollection A strongly-typed collection of Level objects.
LevelEvaluator An evaluator that triggers at a threshold level
LevelMap Mapping between string name and Level object
LocationInfo The internal representation of caller location information.
LogException Exception base type for log4net.
LoggerManager Static manager that controls the creation of repositories
LoggerRepositoryCreationEventArgs Provides data for the LoggerRepositoryCreatedEvent event.
LoggerWrapperImpl Implementation of the ILoggerWrapper interface.
LoggingEvent The internal representation of logging events.
LogImpl Implementation of ILog wrapper interface.
SecurityContext A SecurityContext used by log4net when interacting with protected resources
SecurityContextProvider The SecurityContextProvider providers default SecurityContext instances.
WrapperMap Maps between logger objects and wrapper objects.

Interfaces

Interface Description
IAppenderAttachable Interface for attaching appenders to objects.
IErrorHandler Appenders may delegate their error handling to an IErrorHandler.
IFixingRequired Interface for objects that require fixing.
ILogger Interface that all loggers implement
ILoggerWrapper Base interface for all wrappers
IOptionHandler Interface used to delay activate a configured object.
IRepositorySelector Interface used by the LogManager to select the ILoggerRepository.
ITriggeringEventEvaluator Test if an LoggingEvent triggers an action
LevelCollection.ILevelCollectionEnumerator Supports type-safe iteration over a LevelCollection.

Structures

Structure Description
LoggingEventData Portable data structure used by LoggingEvent

Delegates

Delegate Description
LoggerRepositoryCreationEventHandler Delegate used to handle logger repository creation event notifications
WrapperCreationHandler Delegate used to handle creation of new wrappers.

Enumerations

Enumeration Description
ErrorCode Defined error codes that can be passed to the Error method.
FixFlags Flags passed to the Fix property
LevelCollection.Tag Type visible only to our subclasses Used to access protected constructor

log4net-1.2.10/doc/release/sdk/log4net.LogManager.Shutdown.html0000644000175000017500000000417410412737520023257 0ustar slomoslomo LogManager.Shutdown Method
log4net SDK Reference

LogManager.Shutdown Method 

Shuts down the log4net system.

[Visual Basic]
Public Shared Sub Shutdown()
[C#]
public static void Shutdown();

Remarks

Calling this method will safely close and remove all appenders in all the loggers including root contained in all the default repositories.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The shutdown 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.

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger.html0000644000175000017500000000543610412737556030761 0ustar slomoslomo ILoggerFactory.CreateLogger Method
log4net SDK Reference

ILoggerFactory.CreateLogger Method 

Create a new Logger instance

[Visual Basic]
Function CreateLogger( _
   ByVal name As String _
) As Logger
[C#]
Logger CreateLogger(
   string name
);

Parameters

name
The name of the Logger.

Return Value

The Logger instance for the specified name.

Remarks

Create a new Logger instance with the specified name.

Called by the Hierarchy to create new named Logger instances.

If the name is null then the root logger must be returned.

See Also

ILoggerFactory Interface | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogExceptionConstructor4.html0000644000175000017500000000640610412737544025260 0ustar slomoslomo LogException Constructor (SerializationInfo, StreamingContext)
log4net SDK Reference

LogException Constructor (SerializationInfo, StreamingContext)

Serialization constructor

[Visual Basic]
Overloads Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
protected LogException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.

Remarks

Initializes a new instance of the LogException class with serialized data.

See Also

LogException Class | log4net.Core Namespace | LogException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.html0000644000175000017500000000654510412737552020700 0ustar slomoslomo log4net.Plugin
log4net SDK Reference

log4net.Plugin Namespace

Plugin module base types.

Namespace hierarchy

Classes

Class Description
PluginCollection A strongly-typed collection of IPlugin objects.
PluginMap Map of repository plugins.
PluginSkeleton Base implementation of IPlugin
RemoteLoggingServerPlugin Plugin that listens for events from the RemotingAppender

Interfaces

Interface Description
IPlugin Interface implemented by logger repository plugins.
IPluginFactory Interface used to create plugins.

log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextProviderMembers.html0000644000175000017500000001333610412737546026532 0ustar slomoslomo SecurityContextProvider Members
log4net SDK Reference

SecurityContextProvider Members

SecurityContextProvider overview

Public Static (Shared) Properties

DefaultProvider Gets or sets the default SecurityContextProvider

Public Instance Methods

CreateSecurityContext Create a SecurityContext for a consumer
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

SecurityContextProvider Constructor Protected default constructor to allow subclassing

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SecurityContextProvider Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent.h0000644000175000017500000000651410412737540032602 0ustar slomoslomo DefaultRepositorySelector.LoggerRepositoryCreatedEvent Event
log4net SDK Reference

DefaultRepositorySelector.LoggerRepositoryCreatedEvent Event

Event to notify that a logger repository has been created.

[Visual Basic]
Public Event LoggerRepositoryCreatedEvent As LoggerRepositoryCreationEventHandler
[C#]
public event LoggerRepositoryCreationEventHandler LoggerRepositoryCreatedEvent;

Event Data

The event handler receives an argument of type LoggerRepositoryCreationEventArgs containing data related to this event. The following LoggerRepositoryCreationEventArgs property provides information specific to this event.

Property Description
LoggerRepository The ILoggerRepository that has been created

Implements

IRepositorySelector.LoggerRepositoryCreatedEvent

Remarks

Event raised when a new repository is created. The event source will be this selector. The event args will be a LoggerRepositoryCreationEventArgs which holds the newly created ILoggerRepository.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionConstructor.html0000644000175000017500000000606010412737552026407 0ustar slomoslomo PluginCollection Constructor
log4net SDK Reference

PluginCollection Constructor

Initializes a new instance of the PluginCollection class that is empty and has the default initial capacity.

Overload List

Initializes a new instance of the PluginCollection class that is empty and has the default initial capacity.

public PluginCollection();

Initializes a new instance of the PluginCollection class that contains elements copied from the specified IPlugin array.

public PluginCollection(IPlugin[]);

Initializes a new instance of the PluginCollection class that contains elements copied from the specified PluginCollection.

public PluginCollection(PluginCollection);

Initializes a new instance of the PluginCollection class that contains elements copied from the specified IPlugin collection.

public PluginCollection(ICollection);

Initializes a new instance of the PluginCollection class that has the specified initial capacity.

public PluginCollection(int);

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.FindAndRender_overloads.html0000644000175000017500000000360410412737552031253 0ustar slomoslomo FindAndRender Method
log4net SDK Reference

RendererMap.FindAndRender Method

Render obj using the appropriate renderer.

Overload List

Render obj using the appropriate renderer.

public string FindAndRender(object);

Render obj using the appropriate renderer.

public void FindAndRender(object,TextWriter);

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.html0000644000175000017500000000536510412737534026635 0ustar slomoslomo TelnetAppender.SocketHandler Class
log4net SDK Reference

TelnetAppender.SocketHandler Class

Helper class to manage connected clients

For a list of all members of this type, see TelnetAppender.SocketHandler Members.

System.Object
   log4net.Appender.TelnetAppender.SocketHandler

[Visual Basic]
Protected Class TelnetAppender.SocketHandler
    Implements IDisposable
[C#]
protected class TelnetAppender.SocketHandler : IDisposable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The SocketHandler class is used to accept connections from clients. It is threaded so that clients can connect/disconnect asynchronously.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

TelnetAppender.SocketHandler Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.GetEnumerator.html0000644000175000017500000000533710412737560026257 0ustar slomoslomo EmptyDictionary.GetEnumerator Method
log4net SDK Reference

EmptyDictionary.GetEnumerator Method 

Returns an enumerator that can iterate through a collection.

[Visual Basic]
NotOverridable Public Function GetEnumerator() As IDictionaryEnumerator _
    Implements IDictionary.GetEnumerator
[C#]
public IDictionaryEnumerator GetEnumerator();

Return Value

An IEnumerator that can be used to iterate through the collection.

Implements

IDictionary.GetEnumerator

Remarks

As the collection is empty a NullEnumerator is returned.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLogger_overloads.html0000644000175000017500000000454410412737544026775 0ustar slomoslomo GetLogger Method
log4net SDK Reference

LoggerManager.GetLogger Method

Retrieves or creates a named logger.

Overload List

Retrieves or creates a named logger.

public static ILogger GetLogger(Assembly,string);

Shorthand for GetLogger.

public static ILogger GetLogger(Assembly,Type);

Retrieves or creates a named logger.

public static ILogger GetLogger(string,string);

Shorthand for GetLogger.

public static ILogger GetLogger(string,Type);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.Fix.html0000644000175000017500000000347510412737544023446 0ustar slomoslomo Fix Property
log4net SDK Reference

LoggingEvent.Fix Property

The fixed fields in this event

[Visual Basic]
Public Property Fix As FixFlags
[C#]
public FixFlags Fix {get; set;}

Property Value

The set of fields that are fixed in this event

Remarks

Fields will not be fixed if they have previously been fixed. It is not possible to 'unfix' a field.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ConverterInfo.Type.html0000644000175000017500000000366610412737552027234 0ustar slomoslomo Type Property
log4net SDK Reference

PatternLayout.ConverterInfo.Type Property

Gets or sets the type of the converter

[Visual Basic]
Public Property Type As Type
[C#]
public System.Type Type {get; set;}

Remarks

The value specified must extend the PatternConverter type.

See Also

PatternLayout.ConverterInfo Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.Dispose.html0000644000175000017500000000422710412737534030236 0ustar slomoslomo TelnetAppender.SocketHandler.Dispose Method
log4net SDK Reference

TelnetAppender.SocketHandler.Dispose Method 

Close all network connections

[Visual Basic]
NotOverridable Public Sub Dispose() _
    Implements IDisposable.Dispose
[C#]
public void Dispose();

Implements

IDisposable.Dispose

Remarks

Make sure we close all network connections

See Also

TelnetAppender.SocketHandler Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerRepositoryCreationEventArgsProperties.html0000644000175000017500000000411510412737544031221 0ustar slomoslomo LoggerRepositoryCreationEventArgs Properties
log4net SDK Reference

LoggerRepositoryCreationEventArgs Properties

The properties of the LoggerRepositoryCreationEventArgs class are listed below. For a complete list of LoggerRepositoryCreationEventArgs class members, see the LoggerRepositoryCreationEventArgs Members topic.

Public Instance Properties

LoggerRepository The ILoggerRepository that has been created

See Also

LoggerRepositoryCreationEventArgs Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.m_stringRegexToMatch.html0000644000175000017500000000410010412737550030332 0ustar slomoslomo StringMatchFilter.m_stringRegexToMatch Field
log4net SDK Reference

StringMatchFilter.m_stringRegexToMatch Field

A string regex to match

[Visual Basic]
Protected m_stringRegexToMatch As String
[C#]
protected string m_stringRegexToMatch;

Remarks

Missing <remarks> documentation for F:log4net.Filter.StringMatchFilter.m_stringRegexToMatch

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionaryMembers.html0000644000175000017500000001722010412737564027504 0ustar slomoslomo ReadOnlyPropertiesDictionary Members
log4net SDK Reference

ReadOnlyPropertiesDictionary Members

ReadOnlyPropertiesDictionary overview

Public Instance Constructors

ReadOnlyPropertiesDictionary Overloaded. Initializes a new instance of the ReadOnlyPropertiesDictionary class.

Public Instance Properties

Count The number of properties in this collection
Item Gets or sets the value of the property with the specified key.

Public Instance Methods

Clear Remove all properties from the properties collection
Contains Test if the dictionary contains a specified key
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetKeys Gets the key names.
GetObjectData Serializes this object into the SerializationInfo provided.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

ReadOnlyPropertiesDictionary Overloaded. Initializes a new instance of the ReadOnlyPropertiesDictionary class.

Protected Instance Properties

InnerHashtable The hashtable used to store the properties

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.op_LessThanOrEqual.html0000644000175000017500000000463310412737542025102 0ustar slomoslomo Level Less Than Or Equal Operator
log4net SDK Reference

Level Less Than Or Equal Operator 

Returns a value indicating whether a specified Level is less than or equal to another specified Level.

[Visual Basic]
returnValue = Level.op_LessThanOrEqual(l, r)
[C#]
public static bool operator <=(
   Level l,
   Level r
);

Parameters

l
A Level
r
A Level

Return Value

true if l is less than or equal to r; otherwise, false.

Remarks

Compares two levels.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Notice.html0000644000175000017500000000361510412737542022612 0ustar slomoslomo Level.Notice Field
log4net SDK Reference

Level.Notice Field

The Notice level designates informational messages that highlight the progress of the application at the highest level.

[Visual Basic]
Public Shared ReadOnly Notice As Level
[C#]
public static readonly Level Notice;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Notice

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.ActivateOptions.html0000644000175000017500000000411210412737532030407 0ustar slomoslomo RemoteSyslogAppender.ActivateOptions Method
log4net SDK Reference

RemoteSyslogAppender.ActivateOptions Method 

Initialize the options for this appender

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Initialize the level to syslog severity mappings set on this appender.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawLayoutConverter.ConvertFrom.html0000644000175000017500000000614410412737552026773 0ustar slomoslomo RawLayoutConverter.ConvertFrom Method
log4net SDK Reference

RawLayoutConverter.ConvertFrom Method 

Convert the value to a IRawLayout object

[Visual Basic]
NotOverridable Public Function ConvertFrom( _
   ByVal source As Object _
) As Object _
    Implements IConvertFrom.ConvertFrom
[C#]
public object ConvertFrom(
   object source
);

Parameters

source
the value to convert

Return Value

the IRawLayout object

Implements

IConvertFrom.ConvertFrom

Remarks

Convert the source object to a IRawLayout object. If the source object is a ILayout then the Layout2RawLayoutAdapter is used to adapt between the two interfaces, otherwise an exception is thrown.

See Also

RawLayoutConverter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.RemotePort.html0000644000175000017500000000736710412737536025512 0ustar slomoslomo RemotePort Property
log4net SDK Reference

UdpAppender.RemotePort Property

Gets or sets the TCP port number of the remote host or multicast group to which the underlying UdpClient should sent the logging event.

[Visual Basic]
Public Property RemotePort As Integer
[C#]
public int RemotePort {get; set;}

Property Value

An integer value in the range MinPort to MaxPort indicating the TCP port number of the remote host or multicast group to which the logging event will be sent.

Remarks

The underlying UdpClient will send messages to this TCP port number on the remote host or multicast group.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException The value specified is less than MinPort or greater than MaxPort.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.PropertyFilter.html0000644000175000017500000000541210412737550023646 0ustar slomoslomo PropertyFilter Class
log4net SDK Reference

PropertyFilter Class

Simple filter to match a string an event property

For a list of all members of this type, see PropertyFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.StringMatchFilter
         log4net.Filter.PropertyFilter
            log4net.Filter.MdcFilter
            log4net.Filter.NdcFilter

[Visual Basic]
Public Class PropertyFilter
    Inherits StringMatchFilter
[C#]
public class PropertyFilter : StringMatchFilter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Simple filter to match a string in the value for a specific event property

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

PropertyFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ConverterInfo.Name.html0000644000175000017500000000360110412737550027156 0ustar slomoslomo Name Property
log4net SDK Reference

PatternLayout.ConverterInfo.Name Property

Gets or sets the name of the conversion pattern

[Visual Basic]
Public Property Name As String
[C#]
public string Name {get; set;}

Remarks

The name of the pattern in the format string

See Also

PatternLayout.ConverterInfo Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepositoryMethods.html0000644000175000017500000000646310412737554026575 0ustar slomoslomo ILoggerRepository Methods
log4net SDK Reference

ILoggerRepository Methods

The methods of the ILoggerRepository interface are listed below. For a complete list of ILoggerRepository interface members, see the ILoggerRepository Members topic.

Public Instance Methods

Exists Check if the named logger exists in the repository. If so return its reference, otherwise returns null.
GetAppenders Returns all the Appenders that are configured as an Array.
GetCurrentLoggers Returns all the currently defined loggers as an Array.
GetLogger Returns a named logger instance
Log Log the LoggingEvent through this repository.
ResetConfiguration Reset the repositories configuration to a default state
ShutdownShutdown the repository

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppenderConstructor.html0000644000175000017500000000405310412737524026141 0ustar slomoslomo DebugAppender Constructor
log4net SDK Reference

DebugAppender Constructor

Initializes a new instance of the DebugAppender.

Overload List

Initializes a new instance of the DebugAppender.

public DebugAppender();

Obsolete. Initializes a new instance of the DebugAppender with a specified layout.

public DebugAppender(ILayout);

See Also

DebugAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.SimpleDateFormatter.FormatDate.html0000644000175000017500000000642710412737546030144 0ustar slomoslomo SimpleDateFormatter.FormatDate Method
log4net SDK Reference

SimpleDateFormatter.FormatDate Method 

Formats the date using ToString.

[Visual Basic]
Overridable Public Sub FormatDate( _
   ByVal dateToFormat As Date, _
   ByVal writer As TextWriter _
) _
    Implements IDateFormatter.FormatDate
[C#]
public virtual void FormatDate(
   DateTime dateToFormat,
   TextWriter writer
);

Parameters

dateToFormat
The date to convert to a string.
writer
The writer to write to.

Implements

IDateFormatter.FormatDate

Remarks

Uses the date format string supplied to the constructor to call the ToString method to format the date.

See Also

SimpleDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_8.html0000644000175000017500000001115410412737540030020 0ustar slomoslomo XmlConfigurator.Configure Method (ILoggerRepository, FileInfo)
log4net SDK Reference

XmlConfigurator.Configure Method (ILoggerRepository, FileInfo)

Configures the ILoggerRepository using the specified configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal configFile As FileInfo _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   FileInfo configFile
);

Parameters

repository
The repository to configure.
configFile
The XML file to load the configuration from.

Remarks

The configuration file must be valid XML. It must contain at least one element called log4net that holds the configuration data.

The log4net configuration file can possible be specified in the application's configuration file (either MyAppName.exe.config for a normal application on Web.config for an ASP.NET application).

The first element matching <configuration> will be read as the configuration. If this file is also a .NET .config file then you must specify a configuration section for the log4net element otherwise .NET will complain. Set the type for the section handler to IgnoreSectionHandler, for example:

[XML]
<configSections>
    <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections>

The following example configures log4net using a configuration file, of which the location is stored in the application's configuration file :
[C#]
using log4net.Config;
using System.IO;
using System.Configuration;

...

XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));

In the .config file, the path to the log4net can be specified like this :

[XML]
<configuration>
    <appSettings>
        <add key="log4net-config-file" value="log.config" />
    </appSettings>
</configuration>

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Insert.html0000644000175000017500000000712110412737522026200 0ustar slomoslomo AppenderCollection.Insert Method
log4net SDK Reference

AppenderCollection.Insert Method 

Inserts an element into the AppenderCollection at the specified index.

[Visual Basic]
Overridable Public Sub Insert( _
   ByVal index As Integer, _
   ByVal item As IAppender _
)
[C#]
public virtual void Insert(
   int index,
   IAppender item
);

Parameters

index
The zero-based index at which item should be inserted.
item
The IAppender to insert.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.Insert(System.Int32,log4net.Appender.IAppender)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContextConstructor.html0000644000175000017500000000306410412737564027347 0ustar slomoslomo WindowsSecurityContext Constructor
log4net SDK Reference

WindowsSecurityContext Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public WindowsSecurityContext();

Remarks

Default constructor

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasRepositoryAttribute.Name.html0000644000175000017500000000402210412737536026530 0ustar slomoslomo Name Property
log4net SDK Reference

AliasRepositoryAttribute.Name Property

Gets or sets the repository to alias to this assemby's repository.

[Visual Basic]
Public Property Name As String
[C#]
public string Name {get; set;}

Property Value

The repository to alias to this assemby's repository.

Remarks

The name of the repository to alias to this assemby's repository.

See Also

AliasRepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.LevelMap.html0000644000175000017500000000427610412737554030351 0ustar slomoslomo LevelMap Property
log4net SDK Reference

LoggerRepositorySkeleton.LevelMap Property

Get the level map for the Repository.

[Visual Basic]
Overridable Public ReadOnly Property LevelMap As LevelMap _
    Implements ILoggerRepository.LevelMap
[C#]
public virtual log4net.Core.LevelMap LevelMap {get;}

Implements

ILoggerRepository.LevelMap

Remarks

Get the level map for the Repository.

The level map defines the mappings between level names and Level objects in this repository.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriterConstructor.html0000644000175000017500000000553110412737560027455 0ustar slomoslomo CountingQuietTextWriter Constructor
log4net SDK Reference

CountingQuietTextWriter Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal writer As TextWriter, _
   ByVal errorHandler As IErrorHandler _
)
[C#]
public CountingQuietTextWriter(
   TextWriter writer,
   IErrorHandler errorHandler
);

Parameters

writer
The TextWriter to actually write to.
errorHandler
The IErrorHandler to report errors to.

Remarks

Creates a new instance of the CountingQuietTextWriter class with the specified TextWriter and IErrorHandler.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILogMethods.html0000644000175000017500000001023510412737516021607 0ustar slomoslomo ILog Methods
log4net SDK Reference

ILog Methods

The methods of the ILog interface are listed below. For a complete list of ILog interface members, see the ILog Members topic.

Public Instance Methods

DebugOverloaded. Log a message object with the Debug level.
DebugFormatOverloaded. Log a formatted string with the Debug level.
ErrorOverloaded. Log a message object with the Error level.
ErrorFormatOverloaded. Log a formatted message string with the Error level.
FatalOverloaded. Log a message object with the Fatal level.
FatalFormatOverloaded. Log a formatted message string with the Fatal level.
InfoOverloaded. Log a message object with the Info level.
InfoFormatOverloaded. Log a formatted message string with the Info level.
WarnOverloaded. Log a message object with the Warn level.
WarnFormatOverloaded. Log a formatted message string with the Warn level.

See Also

ILog Interface | log4net Namespace | LogManager | GetLogger


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppenderConstructor.html0000644000175000017500000000422410412737526026640 0ustar slomoslomo EventLogAppender Constructor
log4net SDK Reference

EventLogAppender Constructor

Initializes a new instance of the EventLogAppender class.

Overload List

Initializes a new instance of the EventLogAppender class.

public EventLogAppender();

Obsolete. Initializes a new instance of the EventLogAppender class with the specified ILayout.

public EventLogAppender(ILayout);

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManagerProperties.html0000644000175000017500000000367310412737544025120 0ustar slomoslomo LoggerManager Properties
log4net SDK Reference

LoggerManager Properties

The properties of the LoggerManager class are listed below. For a complete list of LoggerManager class members, see the LoggerManager Members topic.

Public Static (Shared) Properties

RepositorySelector Gets or sets the repository selector used by the LogManager.

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.Repository.html0000644000175000017500000000361610412737544025074 0ustar slomoslomo Repository Property
log4net SDK Reference

LoggingEvent.Repository Property

The ILoggerRepository that this event was created in.

[Visual Basic]
Public ReadOnly Property Repository As ILoggerRepository
[C#]
public log4net.Repository.ILoggerRepository Repository {get;}

Remarks

The ILoggerRepository that this event was created in.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.Decide.html0000644000175000017500000000576310412737550025432 0ustar slomoslomo StringMatchFilter.Decide Method
log4net SDK Reference

StringMatchFilter.Decide Method 

Check if this filter should allow the event to be logged

[Visual Basic]
Overrides Public Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision _
    Implements IFilter.Decide
[C#]
public override FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event being logged

Return Value

see remarks

Implements

IFilter.Decide

Remarks

The rendered message is matched against the StringToMatch. If the StringToMatch occurs as a substring within the message then a match will have occurred. If no match occurs this function will return Neutral allowing other filters to check the event. If a match occurs then the value of AcceptOnMatch is checked. If it is true then Accept is returned otherwise Deny is returned.

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeleton.ActivateOptions.html0000644000175000017500000000505110412737546026725 0ustar slomoslomo FilterSkeleton.ActivateOptions Method
log4net SDK Reference

FilterSkeleton.ActivateOptions Method 

Initialize the filter with the options set

[Visual Basic]
Overridable Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public virtual void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

Typically filter's options become active immediately on set, however this method must still be called.

See Also

FilterSkeleton Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/privproperty.gif0000644000175000017500000000161410412737506020444 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@iÿ ø€Aƒÿ(XŸÃƒŒXð‹-*ˆ¯ A‹C¼xñ€É#"HR"Ëc⃲ãI"s–< %DŒ;Q.T ’¤Åˆ)svtÉÏ‘5CRTú/ãT‘3!^%;log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.LocationInformation.html0000644000175000017500000000407510412737544026673 0ustar slomoslomo LocationInformation Property
log4net SDK Reference

LoggingEvent.LocationInformation Property

Gets the location information for this logging event.

[Visual Basic]
Public ReadOnly Property LocationInformation As LocationInfo
[C#]
public LocationInfo LocationInformation {get;}

Property Value

The location information for this logging event.

Remarks

The collected information is cached for future use.

See the LocationInfo class for more information on supported frameworks and the different behavior in Debug and Release builds.

See Also

LoggingEvent Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionMembers.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionMembers.ht0000644000175000017500000002414510412737564032725 0ustar slomoslomo ConversionNotSupportedException Members
log4net SDK Reference

ConversionNotSupportedException Members

ConversionNotSupportedException overview

Public Static (Shared) Methods

CreateOverloaded. Creates a new instance of the ConversionNotSupportedException class.

Public Instance Constructors

ConversionNotSupportedException Overloaded. Initializes a new instance of the ConversionNotSupportedException class.

Public Instance Properties

HelpLink (inherited from Exception) Gets or sets a link to the help file associated with this exception.
InnerException (inherited from Exception) Gets the Exception instance that caused the current exception.
Message (inherited from Exception) Gets a message that describes the current exception.
Source (inherited from Exception) Gets or sets the name of the application or the object that causes the error.
StackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
TargetSite (inherited from Exception) Gets the method that throws the current exception.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBaseException (inherited from Exception) When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData (inherited from Exception) When overridden in a derived class, sets the SerializationInfo with information about the exception.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Exception) Creates and returns a string representation of the current exception.

Protected Instance Constructors

ConversionNotSupportedException Overloaded. Initializes a new instance of the ConversionNotSupportedException class.

Protected Instance Properties

HResult (inherited from Exception) Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameterMembers.html0000644000175000017500000001623410412737520027173 0ustar slomoslomo AdoNetAppenderParameter Members
log4net SDK Reference

AdoNetAppenderParameter Members

AdoNetAppenderParameter overview

Public Instance Constructors

AdoNetAppenderParameter Constructor Initializes a new instance of the AdoNetAppenderParameter class.

Public Instance Properties

DbType Gets or sets the database type for this parameter.
Layout Gets or sets the IRawLayout to use to render the logging event into an object for this parameter.
ParameterName Gets or sets the name of this parameter.
Precision Gets or sets the precision for this parameter.
Scale Gets or sets the scale for this parameter.
Size Gets or sets the size for this parameter.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatValue Renders the logging event and set the parameter value in the command.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Prepare Prepare the specified database command object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ShutdownRepository_overload_1.html0000644000175000017500000000444110412737520027467 0ustar slomoslomo LogManager.ShutdownRepository Method ()
log4net SDK Reference

LogManager.ShutdownRepository Method ()

Shuts down the default repository.

[Visual Basic]
Overloads Public Shared Sub ShutdownRepository()
[C#]
public static void ShutdownRepository();

Remarks

Calling this method will safely close and remove all appenders in all the loggers including root contained in the default repository.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The shutdown 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.

See Also

LogManager Class | log4net Namespace | LogManager.ShutdownRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Append_overload_2.html0000644000175000017500000000632210412737524031604 0ustar slomoslomo BufferingAppenderSkeleton.Append Method (LoggingEvent)
log4net SDK Reference

BufferingAppenderSkeleton.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to log

Remarks

Stores the loggingEvent in the cyclic buffer.

The buffer will be sent (i.e. passed to the SendBuffer method) if one of the following conditions is met:

Before the event is stored in the buffer it is fixed (see FixVolatileData) to ensure that any data referenced by the event will be valid when the buffer is processed.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace | BufferingAppenderSkeleton.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.Clear.html0000644000175000017500000000364210412737556026477 0ustar slomoslomo Hierarchy.Clear Method
log4net SDK Reference

Hierarchy.Clear Method 

Clear all logger definitions from the internal hashtable

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

This call will clear all logger definitions from the internal hashtable. Invoking this method will irrevocably mess up the logger hierarchy.

You should really know what you are doing before invoking this method.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingEntryConstructor.html0000644000175000017500000000306510412737560026222 0ustar slomoslomo LevelMappingEntry Constructor
log4net SDK Reference

LevelMappingEntry Constructor 

Default protected constructor

[Visual Basic]
Protected Sub New()
[C#]
protected LevelMappingEntry();

Remarks

Default protected constructor

See Also

LevelMappingEntry Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionaryMembers.html0000644000175000017500000002067110412737560025010 0ustar slomoslomo EmptyDictionary Members
log4net SDK Reference

EmptyDictionary Members

EmptyDictionary overview

Public Static (Shared) Properties

Instance Gets the singleton instance of the EmptyDictionary.

Public Instance Properties

Count Gets the number of elements contained in the ICollection
IsFixedSize Gets a value indicating whether the EmptyDictionary has a fixed size.
IsReadOnly Gets a value indicating whether the EmptyDictionary is read-only.
IsSynchronized Gets a value indicating if access to the ICollection is synchronized (thread-safe).
Item Gets or sets the element with the specified key.
Keys Gets an ICollection containing the keys of the EmptyDictionary.
SyncRoot Gets an object that can be used to synchronize access to the ICollection.
Values Gets an ICollection containing the values of the EmptyDictionary.

Public Instance Methods

Add Adds an element with the provided key and value to the EmptyDictionary.
Clear Removes all elements from the EmptyDictionary.
Contains Determines whether the EmptyDictionary contains an element with the specified key.
CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through a collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Removes the element with the specified key from the EmptyDictionary.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertTo.ConvertTo.html0000644000175000017500000000567610412737566027340 0ustar slomoslomo IConvertTo.ConvertTo Method
log4net SDK Reference

IConvertTo.ConvertTo Method 

Converts the given value object to the specified type, using the arguments

[Visual Basic]
Function ConvertTo( _
   ByVal source As Object, _
   ByVal targetType As Type _
) As Object
[C#]
object ConvertTo(
   object source,
   Type targetType
);

Parameters

source
the object to convert
targetType
The Type to convert the value parameter to

Return Value

the converted object

Remarks

Converts the source (which must be of the type supported by this converter) to the targetType specified..

See Also

IConvertTo Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetCurrentLoggers_overload_2.html0000644000175000017500000000477310412737516027177 0ustar slomoslomo LogManager.GetCurrentLoggers Method (String)
log4net SDK Reference

LogManager.GetCurrentLoggers Method (String)

Returns all the currently defined loggers in the specified repository.

[Visual Basic]
Overloads Public Shared Function GetCurrentLoggers( _
   ByVal repository As String _
) As ILog()
[C#]
public static ILog[] GetCurrentLoggers(
   string repository
);

Parameters

repository
The repository to lookup in.

Return Value

All the defined loggers.

Remarks

The root logger is not included in the returned array.

See Also

LogManager Class | log4net Namespace | LogManager.GetCurrentLoggers Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.Appenders.html0000644000175000017500000000461710412737524030525 0ustar slomoslomo Appenders Property
log4net SDK Reference

BufferingForwardingAppender.Appenders Property

Gets the appenders contained in this appender as an ICollection.

[Visual Basic]
Overridable Public ReadOnly Property Appenders As AppenderCollection _
    Implements IAppenderAttachable.Appenders
[C#]
public virtual AppenderCollection Appenders {get;}

Implements

IAppenderAttachable.Appenders

Remarks

If no appenders can be found, then an EmptyCollection is returned.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepositoryEvents.html0000644000175000017500000000465310412737554026435 0ustar slomoslomo ILoggerRepository Events
log4net SDK Reference

ILoggerRepository Events

The events of the ILoggerRepository interface are listed below. For a complete list of ILoggerRepository interface members, see the ILoggerRepository Members topic.

Public Instance Events

ConfigurationChanged Event to notify that the repository has had its configuration changed.
ConfigurationReset Event to notify that the repository has had its configuration reset.
ShutdownEvent Event to notify that the repository has been shutdown.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRoot.html0000644000175000017500000000444710412737556032437 0ustar slomoslomo XmlHierarchyConfigurator.ParseRoot Method
log4net SDK Reference

XmlHierarchyConfigurator.ParseRoot Method 

Parses the root logger element.

[Visual Basic]
Protected Sub ParseRoot( _
   ByVal rootElement As XmlElement _
)
[C#]
protected void ParseRoot(
   XmlElement rootElement
);

Parameters

rootElement
The root element.

Remarks

Parse an XML element that represents the root logger.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingEntryProperties.html0000644000175000017500000000355610412737560026036 0ustar slomoslomo LevelMappingEntry Properties
log4net SDK Reference

LevelMappingEntry Properties

The properties of the LevelMappingEntry class are listed below. For a complete list of LevelMappingEntry class members, see the LevelMappingEntry Members topic.

Public Instance Properties

Level The level that is the key for this mapping

See Also

LevelMappingEntry Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.DebugFormat_overload_3.html0000644000175000017500000001051510412737546026202 0ustar slomoslomo LogImpl.DebugFormat Method (String, Object, Object)
log4net SDK Reference

LogImpl.DebugFormat Method (String, Object, Object)

Logs a formatted message string with the DEBUG level.

[Visual Basic]
Overridable Overloads Public Sub DebugFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
) _
    Implements ILog.DebugFormat
[C#]
public virtual void DebugFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Implements

ILog.DebugFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the DebugFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.DebugFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStacksProperties.html0000644000175000017500000000356710412737564026364 0ustar slomoslomo ThreadContextStacks Properties
log4net SDK Reference

ThreadContextStacks Properties

The properties of the ThreadContextStacks class are listed below. For a complete list of ThreadContextStacks class members, see the ThreadContextStacks Members topic.

Public Instance Properties

Item Gets the named thread context stack

See Also

ThreadContextStacks Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLogger_overload_2.html0000644000175000017500000000602710412737520025436 0ustar slomoslomo LogManager.GetLogger Method (String, String)
log4net SDK Reference

LogManager.GetLogger Method (String, String)

Retrieves or creates a named logger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repository As String, _
   ByVal name As String _
) As ILog
[C#]
public static ILog GetLogger(
   string repository,
   string name
);

Parameters

repository
The repository to lookup in.
name
The name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Retrieve a logger named as the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.

By default, loggers do not have a set level but inherit it from the hierarchy. This is one of the central features of log4net.

See Also

LogManager Class | log4net Namespace | LogManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.GetRepository_overload_1.html0000644000175000017500000000565410412737542031252 0ustar slomoslomo IRepositorySelector.GetRepository Method (String)
log4net SDK Reference

IRepositorySelector.GetRepository Method (String)

Gets the named ILoggerRepository.

[Visual Basic]
Function GetRepository( _
   ByVal repositoryName As String _
) As ILoggerRepository
[C#]
ILoggerRepository GetRepository(
   string repositoryName
);

Parameters

repositoryName
The name to use to lookup to the ILoggerRepository.

Return Value

The named ILoggerRepository

Remarks

Lookup a named ILoggerRepository. This is the repository created by calling CreateRepository.

See Also

IRepositorySelector Interface | log4net.Core Namespace | IRepositorySelector.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.GetAppender.html0000644000175000017500000000522710412737556027151 0ustar slomoslomo Logger.GetAppender Method
log4net SDK Reference

Logger.GetAppender Method 

Look for the appender named as name

[Visual Basic]
Overridable Public Function GetAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.GetAppender
[C#]
public virtual IAppender GetAppender(
   string name
);

Parameters

name
The name of the appender to lookup

Return Value

The appender with the name specified, or null.

Implements

IAppenderAttachable.GetAppender

Remarks

Returns the named appender, or null if the appender is not found.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppenderConstructor1.html0000644000175000017500000000333110412737524026220 0ustar slomoslomo DebugAppender Constructor ()
log4net SDK Reference

DebugAppender Constructor ()

Initializes a new instance of the DebugAppender.

[Visual Basic]
Overloads Public Sub New()
[C#]
public DebugAppender();

Remarks

Default constructor.

See Also

DebugAppender Class | log4net.Appender Namespace | DebugAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilter.html0000644000175000017500000000645710412737550024060 0ustar slomoslomo LevelRangeFilter Class
log4net SDK Reference

LevelRangeFilter Class

This is a simple filter based on Level matching.

For a list of all members of this type, see LevelRangeFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.LevelRangeFilter

[Visual Basic]
Public Class LevelRangeFilter
    Inherits FilterSkeleton
[C#]
public class LevelRangeFilter : FilterSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The filter admits three options LevelMin and LevelMax that determine the range of priorities that are matched, and AcceptOnMatch. If there is a match between the range of priorities and the Level of the LoggingEvent, then the Decide method returns Accept in case the AcceptOnMatch option value is set to true, if it is false then Deny is returned. If there is no match, Deny is returned.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

LevelRangeFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternParserProperties.html0000644000175000017500000000354610412737562025224 0ustar slomoslomo PatternParser Properties
log4net SDK Reference

PatternParser Properties

The properties of the PatternParser class are listed below. For a complete list of PatternParser class members, see the PatternParser Members topic.

Public Instance Properties

PatternConverters Get the converter registry used by this parser

See Also

PatternParser Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ConverterInfoConstructor.html0000644000175000017500000000342710412737550030553 0ustar slomoslomo PatternLayout.ConverterInfo Constructor
log4net SDK Reference

PatternLayout.ConverterInfo Constructor 

default constructor

[Visual Basic]
Public Sub New()
[C#]
public PatternLayout.ConverterInfo();

Remarks

Missing <remarks> documentation for M:log4net.Layout.PatternLayout.ConverterInfo.#ctor

See Also

PatternLayout.ConverterInfo Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMap.GetWrapper.html0000644000175000017500000000475110412737546024466 0ustar slomoslomo WrapperMap.GetWrapper Method
log4net SDK Reference

WrapperMap.GetWrapper Method 

Gets the wrapper object for the specified logger.

[Visual Basic]
Overridable Public Function GetWrapper( _
   ByVal logger As ILogger _
) As ILoggerWrapper
[C#]
public virtual ILoggerWrapper GetWrapper(
   ILogger logger
);

Parameters

logger
Missing <param> documentation for logger

Return Value

The wrapper object for the specified logger

Remarks

If the logger is null then the corresponding wrapper is null.

Looks up the wrapper it it has previously been requested and returns it. If the wrapper has never been requested before then the CreateNewWrapperObject virtual method is called.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.Priority.html0000644000175000017500000000510010412737534025403 0ustar slomoslomo Priority Property
log4net SDK Reference

SmtpAppender.Priority Property

Gets or sets the priority of the e-mail message

[Visual Basic]
Public Property Priority As MailPriority
[C#]
public System.Web.Mail.MailPriority Priority {get; set;}

Property Value

One of the MailPriority values.

Remarks

Sets the priority of the e-mails generated by this appender. The default priority is Normal.

If you are using this appender to report errors then you may want to set the priority to High.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_2.html0000644000175000017500000000565610412737540030024 0ustar slomoslomo XmlConfigurator.Configure Method (ILoggerRepository)
log4net SDK Reference

XmlConfigurator.Configure Method (ILoggerRepository)

Automatically configures the ILoggerRepository using settings stored in the application's configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository _
)
[C#]
public static void Configure(
   ILoggerRepository repository
);

Parameters

repository
The repository to configure.

Remarks

Each application has a configuration file. This has the same name as the application with '.config' appended. This file is XML and calling this function prompts the configurator to look in that file for a section called log4net that contains the configuration data.

To use this method to configure log4net you must specify the Log4NetConfigurationSectionHandler section handler for the log4net configuration section. See the Log4NetConfigurationSectionHandler for an example.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilter.Decide.html0000644000175000017500000000630310412737550025372 0ustar slomoslomo LoggerMatchFilter.Decide Method
log4net SDK Reference

LoggerMatchFilter.Decide Method 

Check if this filter should allow the event to be logged

[Visual Basic]
Overrides Public Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision _
    Implements IFilter.Decide
[C#]
public override FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event being logged

Return Value

see remarks

Implements

IFilter.Decide

Remarks

The rendered message is matched against the LoggerToMatch. If the LoggerToMatch equals the beginning of the incoming LoggerName (StartsWith) then a match will have occurred. If no match occurs this function will return Neutral allowing other filters to check the event. If a match occurs then the value of AcceptOnMatch is checked. If it is true then Accept is returned otherwise Deny is returned.

See Also

LoggerMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelectorMembers.html0000644000175000017500000000565610412737542025636 0ustar slomoslomo IRepositorySelector Members
log4net SDK Reference

IRepositorySelector Members

IRepositorySelector overview

Public Instance Methods

CreateRepositoryOverloaded. Creates a new repository with the name specified.
ExistsRepository Test if a named repository exists
GetAllRepositories Gets an array of all currently defined repositories.
GetRepositoryOverloaded. Gets the named ILoggerRepository.

Public Instance Events

LoggerRepositoryCreatedEvent Event to notify that a logger repository has been created.

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextProperties.Remove.html0000644000175000017500000000421710412737564026440 0ustar slomoslomo ThreadContextProperties.Remove Method
log4net SDK Reference

ThreadContextProperties.Remove Method 

Remove a property

[Visual Basic]
Public Sub Remove( _
   ByVal key As String _
)
[C#]
public void Remove(
   string key
);

Parameters

key
the key for the entry to remove

Remarks

Remove a property

See Also

ThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.CoreHierarchy.html0000644000175000017500000002217310412737540022161 0ustar slomoslomo log4net.CoreHierarchy
log4net SDK Reference

log4net.Core Hierarchy

System.Object

See Also

log4net.Core Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders_overloads.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders_overloads.htm0000644000175000017500000000360710412737556032475 0ustar slomoslomo AppendLoopOnAppenders Method
log4net SDK Reference

AppenderAttachedImpl.AppendLoopOnAppenders Method

Append on on all attached appenders.

Overload List

Append on on all attached appenders.

public int AppendLoopOnAppenders(LoggingEvent);

Append on on all attached appenders.

public int AppendLoopOnAppenders(LoggingEvent[]);

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Item.html0000644000175000017500000000642610412737522025641 0ustar slomoslomo Item Property
log4net SDK Reference

AppenderCollection.Item Property

Gets or sets the IAppender at the specified index.

[Visual Basic]
Overridable Public Default Property Item( _
   ByVal index As Integer _
) As IAppender
[C#]
public virtual IAppender this[
   int index
] {get; set;}

Parameters

index
The zero-based index of the element to get or set.

Remarks

Missing <remarks> documentation for P:log4net.Appender.AppenderCollection.Item(System.Int32)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppender.html0000644000175000017500000000533310412737530026302 0ustar slomoslomo OutputDebugStringAppender Class
log4net SDK Reference

OutputDebugStringAppender Class

Appends log events to the OutputDebugString system.

For a list of all members of this type, see OutputDebugStringAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.OutputDebugStringAppender

[Visual Basic]
Public Class OutputDebugStringAppender
    Inherits AppenderSkeleton
[C#]
public class OutputDebugStringAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

OutputDebugStringAppender appends log events to the OutputDebugString system.

The string is passed to the native OutputDebugString function.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

OutputDebugStringAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.LocationInfo.html0000644000175000017500000000332710412737544026072 0ustar slomoslomo LoggingEventData.LocationInfo Field
log4net SDK Reference

LoggingEventData.LocationInfo Field

Location information for the caller.

[Visual Basic]
Public LocationInfo As LocationInfo
[C#]
public LocationInfo LocationInfo;

Remarks

Location information for the caller.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLock.CloseFile.html0000644000175000017500000000336210412737526027572 0ustar slomoslomo FileAppender.MinimalLock.CloseFile Method
log4net SDK Reference

FileAppender.MinimalLock.CloseFile Method 

Close the file

[Visual Basic]
Overrides Public Sub CloseFile()
[C#]
public override void CloseFile();

Remarks

Close the file. No further writes will be made.

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttributeConstructor1.html0000644000175000017500000000336410412737566032376 0ustar slomoslomo TypeConverterAttribute Constructor ()
log4net SDK Reference

TypeConverterAttribute Constructor ()

Default constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public TypeConverterAttribute();

Remarks

Default constructor

See Also

TypeConverterAttribute Class | log4net.Util.TypeConverters Namespace | TypeConverterAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.MaxSize.html0000644000175000017500000000364010412737560024265 0ustar slomoslomo MaxSize Property
log4net SDK Reference

CyclicBuffer.MaxSize Property

Gets the maximum size of the buffer.

[Visual Basic]
Public ReadOnly Property MaxSize As Integer
[C#]
public int MaxSize {get;}

Property Value

The maximum size of the buffer.

Remarks

Gets the maximum size of the buffer

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionConstructor5.html0000644000175000017500000000514410412737542025740 0ustar slomoslomo LevelCollection Constructor (ICollection)
log4net SDK Reference

LevelCollection Constructor (ICollection)

Initializes a new instance of the LevelCollection class that contains elements copied from the specified Level collection.

[Visual Basic]
Overloads Public Sub New( _
   ByVal col As ICollection _
)
[C#]
public LevelCollection(
   ICollection col
);

Parameters

col
The Level collection whose elements are copied to the new list.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.#ctor(System.Collections.ICollection)

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.NDCProperties.html0000644000175000017500000000335310412737520022110 0ustar slomoslomo NDC Properties
log4net SDK Reference

NDC Properties

The properties of the NDC class are listed below. For a complete list of NDC class members, see the NDC Members topic.

Public Static (Shared) Properties

Depth Gets the current context depth.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.BasicRepositoryConfigure.html0000644000175000017500000000454310412737556032435 0ustar slomoslomo Hierarchy.BasicRepositoryConfigure Method
log4net SDK Reference

Hierarchy.BasicRepositoryConfigure Method 

Initialize the log4net system using the specified appender

[Visual Basic]
Protected Sub BasicRepositoryConfigure( _
   ByVal appender As IAppender _
)
[C#]
protected void BasicRepositoryConfigure(
   IAppender appender
);

Parameters

appender
the appender to use to log all logging events

Remarks

This method provides the same functionality as the Configure method implemented on this object, but it is protected and therefore can be called by subclasses.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.RemoveAllAppenders.html0000644000175000017500000000430510412737556030477 0ustar slomoslomo Logger.RemoveAllAppenders Method
log4net SDK Reference

Logger.RemoveAllAppenders Method 

Remove all previously added appenders from this Logger instance.

[Visual Basic]
Overridable Public Sub RemoveAllAppenders() _
    Implements IAppenderAttachable.RemoveAllAppenders
[C#]
public virtual void RemoveAllAppenders();

Implements

IAppenderAttachable.RemoveAllAppenders

Remarks

Remove all previously added appenders from this Logger instance.

This is useful when re-reading configuration information.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderProperties.html0000644000175000017500000001717610412737520026102 0ustar slomoslomo AdoNetAppender Properties
log4net SDK Reference

AdoNetAppender Properties

The properties of the AdoNetAppender class are listed below. For a complete list of AdoNetAppender class members, see the AdoNetAppender Members topic.

Public Instance Properties

BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
CommandText Gets or sets the command text that is used to insert logging events into the database.
CommandType Gets or sets the command type to execute.
ConnectionString Gets or sets the database connection string that is used to connect to the database.
ConnectionType Gets or sets the type name of the IDbConnection connection that should be created.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
ReconnectOnError Should this appender try to reconnect to the database on error.
SecurityContext Gets or sets the SecurityContext used to call the NetSend method.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
UseTransactions Should transactions be used to insert logging events in the database.

Protected Instance Properties

Connection Gets or sets the underlying IDbConnection.
RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandlerConstructor1.html0000644000175000017500000000341110412737562026731 0ustar slomoslomo OnlyOnceErrorHandler Constructor ()
log4net SDK Reference

OnlyOnceErrorHandler Constructor ()

Default Constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public OnlyOnceErrorHandler();

Remarks

Initializes a new instance of the OnlyOnceErrorHandler class.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace | OnlyOnceErrorHandler Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.html0000644000175000017500000000502710412737562023656 0ustar slomoslomo PatternConverter Class
log4net SDK Reference

PatternConverter Class

Abstract class that provides the formatting functionality that derived classes need.

For a list of all members of this type, see PatternConverter Members.

System.Object
   log4net.Util.PatternConverter
      log4net.Layout.Pattern.PatternLayoutConverter

[Visual Basic]
MustInherit Public Class PatternConverter
[C#]
public abstract class PatternConverter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Conversion specifiers in a conversion patterns are parsed to individual PatternConverters. Each of which is responsible for converting a logging event in a converter specific manner.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

PatternConverter Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppenderConstructor.html0000644000175000017500000000301610412737534026035 0ustar slomoslomo SmtpAppender Constructor
log4net SDK Reference

SmtpAppender Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public SmtpAppender();

Remarks

Default constructor

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.RollOverTime.html0000644000175000017500000000457210412737534027444 0ustar slomoslomo RollingFileAppender.RollOverTime Method
log4net SDK Reference

RollingFileAppender.RollOverTime Method 

Rollover the file(s) to date/time tagged file(s).

[Visual Basic]
Protected Sub RollOverTime( _
   ByVal fileIsOpen As Boolean _
)
[C#]
protected void RollOverTime(
   bool fileIsOpen
);

Parameters

fileIsOpen
set to true if the file to be rolled is currently open

Remarks

Rollover the file(s) to date/time tagged file(s). Resets curSizeRollBackups. If fileIsOpen is set then the new file is opened (through SafeOpenFile).

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.SendBuffer.html0000644000175000017500000000416010412737524030620 0ustar slomoslomo BufferingForwardingAppender.SendBuffer Method
log4net SDK Reference

BufferingForwardingAppender.SendBuffer Method 

Send the events.

[Visual Basic]
Overrides Protected Sub SendBuffer( _
   ByVal events As LoggingEvent() _
)
[C#]
protected override void SendBuffer(
   LoggingEvent[] events
);

Parameters

events
The events that need to be send.

Remarks

Forwards the events to the attached appenders.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.ThreadName.html0000644000175000017500000000354310412737544025516 0ustar slomoslomo LoggingEventData.ThreadName Field
log4net SDK Reference

LoggingEventData.ThreadName Field

The name of thread

[Visual Basic]
Public ThreadName As String
[C#]
public string ThreadName;

Remarks

The name of thread in which this logging event was generated

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.SetQWForFiles_overloads.html0000644000175000017500000000353210412737526030241 0ustar slomoslomo SetQWForFiles Method
log4net SDK Reference

FileAppender.SetQWForFiles Method

Sets the quiet writer used for file output

Overload List

Sets the quiet writer used for file output

protected virtual void SetQWForFiles(Stream);

Sets the quiet writer being used.

protected virtual void SetQWForFiles(TextWriter);

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.IsDebugEnabled.html0000644000175000017500000001054710412737516023065 0ustar slomoslomo IsDebugEnabled Property
log4net SDK Reference

ILog.IsDebugEnabled Property

Checks if this logger is enabled for the Debug level.

[Visual Basic]
Property IsDebugEnabled As Boolean
[C#]
bool IsDebugEnabled {get;}

Property Value

true if this logger is enabled for Debug events, false otherwise.

Remarks

This function is intended to lessen the computational cost of disabled log debug statements.

For some ILog interface log, when you write:

[C#]
log.Debug("This is entry number: " + i );

You incur the cost constructing the message, string construction and concatenation in this case, regardless of whether the message is logged or not.

If you are worried about speed (who isn't), then you should write:

[C#]
if (log.IsDebugEnabled)
{ 
    log.Debug("This is entry number: " + i );
}

This way you will not incur the cost of parameter construction if debugging is disabled for log. On the other hand, if the log is debug enabled, you will incur the cost of evaluating whether the logger is debug enabled twice. Once in IsDebugEnabled and once in the Debug. This is an insignificant overhead since evaluating a logger takes about 1% of the time it takes to actually log. This is the preferred style of logging.

Alternatively if your logger is available statically then the is debug enabled state can be stored in a static variable like this:

[C#]
private static readonly bool isDebugEnabled = log.IsDebugEnabled;

Then when you come to log you can write:

[C#]
if (isDebugEnabled)
{ 
    log.Debug("This is entry number: " + i );
}

This way the debug enabled state is only queried once when the class is loaded. Using a private static readonly variable is the most efficient because it is a run time constant and can be heavily optimized by the JIT compiler.

Of course if you use a static readonly variable to hold the enabled state of the logger then you cannot change the enabled state at runtime to vary the logging that is produced. You have to decide if you need absolute speed or runtime flexibility.

See Also

ILog Interface | log4net Namespace | Debug | DebugFormat


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.RemoveAppender_overloads.html0000644000175000017500000000371010412737530031734 0ustar slomoslomo RemoveAppender Method
log4net SDK Reference

ForwardingAppender.RemoveAppender Method

Removes the specified appender from the list of appenders.

Overload List

Removes the specified appender from the list of appenders.

public virtual IAppender RemoveAppender(IAppender);

Removes the appender with the specified name from the list of appenders.

public virtual IAppender RemoveAppender(string);

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.IRemoteLoggingSink.LogEvents.html0000644000175000017500000000420010412737532032026 0ustar slomoslomo RemotingAppender.IRemoteLoggingSink.LogEvents Method
log4net SDK Reference

RemotingAppender.IRemoteLoggingSink.LogEvents Method 

Delivers logging events to the remote sink

[Visual Basic]
Sub LogEvents( _
   ByVal events As LoggingEvent() _
)
[C#]
void LogEvents(
   LoggingEvent[] events
);

Parameters

events
Array of events to log.

Remarks

Delivers logging events to the remote sink

See Also

RemotingAppender.IRemoteLoggingSink Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.IsWarnEnabled.html0000644000175000017500000000467110412737544024350 0ustar slomoslomo IsWarnEnabled Property
log4net SDK Reference

LogImpl.IsWarnEnabled Property

Checks if this logger is enabled for the WARN level.

[Visual Basic]
Overridable Public ReadOnly Property IsWarnEnabled As Boolean _
    Implements ILog.IsWarnEnabled
[C#]
public virtual bool IsWarnEnabled {get;}

Property Value

true if this logger is enabled for WARN events, false otherwise.

Implements

ILog.IsWarnEnabled

Remarks

See IsDebugEnabled for more information and examples of using this method.

See Also

LogImpl Class | log4net.Core Namespace | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttributeConstructor1.html0000644000175000017500000000341310412737540027224 0ustar slomoslomo RepositoryAttribute Constructor ()
log4net SDK Reference

RepositoryAttribute Constructor ()

Initializes a new instance of the RepositoryAttribute class.

[Visual Basic]
Overloads Public Sub New()
[C#]
public RepositoryAttribute();

Remarks

Default constructor.

See Also

RepositoryAttribute Class | log4net.Config Namespace | RepositoryAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.IDateTimeProperties.html0000644000175000017500000000375110412737534030741 0ustar slomoslomo RollingFileAppender.IDateTime Properties
log4net SDK Reference

RollingFileAppender.IDateTime Properties

The properties of the RollingFileAppender.IDateTime interface are listed below. For a complete list of RollingFileAppender.IDateTime interface members, see the RollingFileAppender.IDateTime Members topic.

Public Instance Properties

Now Gets the current time.

See Also

RollingFileAppender.IDateTime Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.LoggerFactory.html0000644000175000017500000000402210412737556030211 0ustar slomoslomo LoggerFactory Property
log4net SDK Reference

Hierarchy.LoggerFactory Property

Gets or sets the default ILoggerFactory instance.

[Visual Basic]
Public Property LoggerFactory As ILoggerFactory
[C#]
public ILoggerFactory LoggerFactory {get; set;}

Property Value

The default ILoggerFactory

Remarks

The logger factory is used to create logger instances.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.RootLogger.html0000644000175000017500000000567510412737556025627 0ustar slomoslomo RootLogger Class
log4net SDK Reference

RootLogger Class

The RootLogger sits at the root of the logger hierarchy tree.

For a list of all members of this type, see RootLogger Members.

System.Object
   log4net.Repository.Hierarchy.Logger
      log4net.Repository.Hierarchy.RootLogger

[Visual Basic]
Public Class RootLogger
    Inherits Logger
[C#]
public class RootLogger : Logger

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The RootLogger is a regular Logger except that it provides several guarantees.

First, it cannot be assigned a null level. Second, since the root logger cannot have a parent, the EffectiveLevel property always returns the value of the level field without walking the hierarchy.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

RootLogger Members | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.Append_overload_2.html0000644000175000017500000000463010412737532030623 0ustar slomoslomo RemoteSyslogAppender.Append Method (LoggingEvent)
log4net SDK Reference

RemoteSyslogAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the event to a remote syslog daemon.

The format of the output will depend on the appender's layout.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace | RemoteSyslogAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumerator.html0000644000175000017500000000554110412737562023326 0ustar slomoslomo NullEnumerator Class
log4net SDK Reference

NullEnumerator Class

An always empty IEnumerator.

For a list of all members of this type, see NullEnumerator Members.

System.Object
   log4net.Util.NullEnumerator

[Visual Basic]
NotInheritable Public Class NullEnumerator
    Implements IEnumerator
[C#]
public sealed class NullEnumerator : IEnumerator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A singleton implementation of the IEnumerator over a collection that is empty and not modifiable.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

NullEnumerator Members | log4net.Util Namespace


././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler.h0000644000175000017500000000562310412737554032722 0ustar slomoslomo LoggerRepositoryConfigurationChangedEventHandler Delegate
log4net SDK Reference

LoggerRepositoryConfigurationChangedEventHandler Delegate

Delegate used to handle event notifications for logger repository configuration changes.

[Visual Basic]
Public Delegate Sub LoggerRepositoryConfigurationChangedEventHandler( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
public delegate void LoggerRepositoryConfigurationChangedEventHandler(
   object sender,
   EventArgs e
);

Parameters

sender
The ILoggerRepository that has had its configuration changed.
e
Empty event arguments.

Remarks

Delegate used to handle event notifications for logger repository configuration changes.

Requirements

Namespace: log4net.Repository

Assembly: log4net (in log4net.dll)

See Also

log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Add.html0000644000175000017500000001000410412737560024151 0ustar slomoslomo EmptyDictionary.Add Method
log4net SDK Reference

EmptyDictionary.Add Method 

Adds an element with the provided key and value to the EmptyDictionary.

[Visual Basic]
NotOverridable Public Sub Add( _
   ByVal key As Object, _
   ByVal value As Object _
) _
    Implements IDictionary.Add
[C#]
public void Add(
   object key,
   object value
);

Parameters

key
The Object to use as the key of the element to add.
value
The Object to use as the value of the element to add.

Implements

IDictionary.Add

Remarks

As the collection is empty no new values can be added. A InvalidOperationException is thrown if this method is called.

Exceptions

Exception TypeCondition
InvalidOperationExceptionThis dictionary is always empty and cannot be modified.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumeratorProperties.html0000644000175000017500000000600510412737562027425 0ustar slomoslomo NullDictionaryEnumerator Properties
log4net SDK Reference

NullDictionaryEnumerator Properties

The properties of the NullDictionaryEnumerator class are listed below. For a complete list of NullDictionaryEnumerator class members, see the NullDictionaryEnumerator Members topic.

Public Static (Shared) Properties

Instance Gets the singleton instance of the NullDictionaryEnumerator.

Public Instance Properties

Current Gets the current object from the enumerator.
Entry Gets the current entry from the enumerator.
Key Gets the current key from the enumerator.
Value Gets the current value from the enumerator.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.RequiresLayout.html0000644000175000017500000000420410412737530030067 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

LocalSyslogAppender.RequiresLayout Property

This appender requires a Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a Layout to be set.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderMethods.html0000644000175000017500000002032210412737524027100 0ustar slomoslomo ColoredConsoleAppender Methods
log4net SDK Reference

ColoredConsoleAppender Methods

The methods of the ColoredConsoleAppender class are listed below. For a complete list of ColoredConsoleAppender class members, see the ColoredConsoleAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the options for this appender
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to color - done by the config file
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.EmptyCollection.html0000644000175000017500000000376410412737522030057 0ustar slomoslomo AppenderCollection.EmptyCollection Field
log4net SDK Reference

AppenderCollection.EmptyCollection Field

An empty readonly static AppenderCollection

[Visual Basic]
Public Shared ReadOnly EmptyCollection As AppenderCollection
[C#]
public static readonly AppenderCollection EmptyCollection;

Remarks

Missing <remarks> documentation for F:log4net.Appender.AppenderCollection.EmptyCollection

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CompositeProperties.html0000644000175000017500000000461010412737560024363 0ustar slomoslomo CompositeProperties Class
log4net SDK Reference

CompositeProperties Class

This class aggregates several PropertiesDictionary collections together.

For a list of all members of this type, see CompositeProperties Members.

System.Object
   log4net.Util.CompositeProperties

[Visual Basic]
NotInheritable Public Class CompositeProperties
[C#]
public sealed class CompositeProperties

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Provides a dictionary style lookup over an ordered list of PropertiesDictionary collections.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

CompositeProperties Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateDomain_overload_1.html0000644000175000017500000000726610412737544027512 0ustar slomoslomo LoggerManager.CreateDomain Method (String)
log4net SDK Reference

LoggerManager.CreateDomain Method (String)

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository with the specified name.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateDomain(
   string repository
);

Parameters

repository
The name of the repository, this must be unique amongst repositories.

Return Value

The ILoggerRepository created for the repository.

Remarks

CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.

Creates the default type of ILoggerRepository which is a Hierarchy object.

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.CreateDomain Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionary.Clear.html0000644000175000017500000000422610412737562025560 0ustar slomoslomo PropertiesDictionary.Clear Method
log4net SDK Reference

PropertiesDictionary.Clear Method 

Remove all properties from the properties collection

[Visual Basic]
Overrides Public Sub Clear() _
    Implements IDictionary.Clear
[C#]
public override void Clear();

Implements

IDictionary.Clear

Remarks

Remove all properties from the properties collection

See Also

PropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.AddRange_overload_2.html0000644000175000017500000000564510412737522030526 0ustar slomoslomo AppenderCollection.AddRange Method (IAppender[])
log4net SDK Reference

AppenderCollection.AddRange Method (IAppender[])

Adds the elements of a IAppender array to the current AppenderCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal x As IAppender() _
) As Integer
[C#]
public virtual int AddRange(
   IAppender[] x
);

Parameters

x
The IAppender array whose elements should be added to the end of the AppenderCollection.

Return Value

The new Count of the AppenderCollection.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.IAppender[])

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.AddConverter_overload_2.html0000644000175000017500000000534610412737562027654 0ustar slomoslomo PatternString.AddConverter Method (String, Type)
log4net SDK Reference

PatternString.AddConverter Method (String, Type)

Add a converter to this PatternString

[Visual Basic]
Overloads Public Sub AddConverter( _
   ByVal name As String, _
   ByVal type As Type _
)
[C#]
public void AddConverter(
   string name,
   Type type
);

Parameters

name
the name of the conversion pattern for this converter
type
the type of the converter

Remarks

Add a converter to this PatternString

See Also

PatternString Class | log4net.Util Namespace | PatternString.AddConverter Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollection.Count.html0000644000175000017500000000526710412737560024556 0ustar slomoslomo Count Property
log4net SDK Reference

EmptyCollection.Count Property

Gets the number of elements contained in the ICollection.

[Visual Basic]
NotOverridable Public ReadOnly Property Count As Integer _
    Implements ICollection.Count
[C#]
public int Count {get;}

Property Value

The number of elements contained in the ICollection.

Implements

ICollection.Count

Remarks

As the collection is empty the Count is always 0.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.Append_overload_1.html0000644000175000017500000000461210412737532030374 0ustar slomoslomo RollingFileAppender.Append Method (LoggingEvent[])
log4net SDK Reference

RollingFileAppender.Append Method (LoggingEvent[])

Write out an array of logging events.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvents As LoggingEvent() _
)
[C#]
protected override void Append(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
the events to write to file.

Remarks

Handles append time behavior for RollingFileAppender. This checks if a roll over either by date (checked first) or time (checked second) is need and then appends to the file last.

See Also

RollingFileAppender Class | log4net.Appender Namespace | RollingFileAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventConstructor1.html0000644000175000017500000001137610412737544025247 0ustar slomoslomo LoggingEvent Constructor (Type, ILoggerRepository, String, Level, Object, Exception)
log4net SDK Reference

LoggingEvent Constructor (Type, ILoggerRepository, String, Level, Object, Exception)

Initializes a new instance of the LoggingEvent class from the supplied parameters.

[Visual Basic]
Overloads Public Sub New( _
   ByVal callerStackBoundaryDeclaringType As Type, _
   ByVal repository As ILoggerRepository, _
   ByVal loggerName As String, _
   ByVal level As Level, _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
public LoggingEvent(
   Type callerStackBoundaryDeclaringType,
   ILoggerRepository repository,
   string loggerName,
   Level level,
   object message,
   Exception exception
);

Parameters

callerStackBoundaryDeclaringType
The declaring type of the method that is the stack boundary into the logging system for this call.
repository
The repository this event is logged in.
loggerName
The name of the logger of this event.
level
The level of this event.
message
The message of this event.
exception
The exception for this event.

Remarks

Except TimeStamp, Level and LoggerName, all fields of LoggingEvent are filled when actually needed. Call FixVolatileData to cache all data locally to prevent inconsistencies.

This method is called by the log4net framework to create a logging event.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetCurrentLoggers_overload_1.html0000644000175000017500000000364410412737516027172 0ustar slomoslomo LogManager.GetCurrentLoggers Method ()
log4net SDK Reference

LogManager.GetCurrentLoggers Method ()

Returns all the currently defined loggers in the default repository.

[Visual Basic]
Overloads Public Shared Function GetCurrentLoggers() As ILog()
[C#]
public static ILog[] GetCurrentLoggers();

Return Value

All the defined loggers.

Remarks

The root logger is not included in the returned array.

See Also

LogManager Class | log4net Namespace | LogManager.GetCurrentLoggers Overload List


log4net-1.2.10/doc/release/sdk/log4net.LayoutHierarchy.html0000644000175000017500000000757210412737550022555 0ustar slomoslomo log4net.LayoutHierarchy
log4net SDK Reference

log4net.Layout Hierarchy

System.Object

See Also

log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppender.ConsoleOut.html0000644000175000017500000000411110412737524026333 0ustar slomoslomo ConsoleAppender.ConsoleOut Field
log4net SDK Reference

ConsoleAppender.ConsoleOut Field

The Target to use when writing to the Console standard output stream.

[Visual Basic]
Public Const ConsoleOut As String = "Console.Out"
[C#]
public const string ConsoleOut = "Console.Out";

Remarks

The Target to use when writing to the Console standard output stream.

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeErrorProperties.html0000644000175000017500000000377010412737560024667 0ustar slomoslomo NativeError Properties
log4net SDK Reference

NativeError Properties

The properties of the NativeError class are listed below. For a complete list of NativeError class members, see the NativeError Members topic.

Public Instance Properties

Message Gets the message of the native error.
Number Gets the number of the native error.

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.LevelSeverityMembers.html0000644000175000017500000001423210412737532031414 0ustar slomoslomo RemoteSyslogAppender.LevelSeverity Members
log4net SDK Reference

RemoteSyslogAppender.LevelSeverity Members

RemoteSyslogAppender.LevelSeverity overview

Public Instance Constructors

RemoteSyslogAppender.LevelSeverity Constructor Initializes a new instance of the RemoteSyslogAppender.LevelSeverity class.

Public Instance Properties

Level (inherited from LevelMappingEntry) The level that is the key for this mapping
Severity The mapped syslog severity for the specified level

Public Instance Methods

ActivateOptions (inherited from LevelMappingEntry) Initialize any options defined on this entry
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RemoteSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppender.ImmediateFlush.html0000644000175000017500000000470610412737536026612 0ustar slomoslomo ImmediateFlush Property
log4net SDK Reference

TraceAppender.ImmediateFlush Property

Gets or sets a value that indicates whether the appender will flush at the end of each write.

[Visual Basic]
Public Property ImmediateFlush As Boolean
[C#]
public bool ImmediateFlush {get; set;}

Remarks

The default behavior is to flush at the end of each write. If the option is set tofalse, then the underlying stream can defer writing to physical medium to a later time.

Avoiding the flush operation at the end of each append results in a performance gain of 10 to 20 percent. However, there is safety trade-off involved in skipping flushing. Indeed, when flushing is skipped, then it is likely that the last few log events will not be recorded on disk when the application exits. This is a high price to pay even for a 20% performance gain.

See Also

TraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.SendBuffer.html0000644000175000017500000000443210412737534025614 0ustar slomoslomo SmtpAppender.SendBuffer Method
log4net SDK Reference

SmtpAppender.SendBuffer Method 

Sends the contents of the cyclic buffer as an e-mail message.

[Visual Basic]
Overrides Protected Sub SendBuffer( _
   ByVal events As LoggingEvent() _
)
[C#]
protected override void SendBuffer(
   LoggingEvent[] events
);

Parameters

events
The logging events to send.

Remarks

Missing <remarks> documentation for M:log4net.Appender.SmtpAppender.SendBuffer(log4net.Core.LoggingEvent[])

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.GlobalContextProperties.html0000644000175000017500000000561010412737560025167 0ustar slomoslomo GlobalContextProperties Class
log4net SDK Reference

GlobalContextProperties Class

Implementation of Properties collection for the GlobalContext

For a list of all members of this type, see GlobalContextProperties Members.

System.Object
   log4net.Util.ContextPropertiesBase
      log4net.Util.GlobalContextProperties

[Visual Basic]
NotInheritable Public Class GlobalContextProperties
    Inherits ContextPropertiesBase
[C#]
public sealed class GlobalContextProperties : ContextPropertiesBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class implements a properties collection that is thread safe and supports both storing properties and capturing a read only copy of the current propertied.

This class is optimized to the scenario where the properties are read frequently and are modified infrequently.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

GlobalContextProperties Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.SecurityContextProviderAttributeMembers.html0000644000175000017500000001343510412737540030725 0ustar slomoslomo SecurityContextProviderAttribute Members
log4net SDK Reference

SecurityContextProviderAttribute Members

SecurityContextProviderAttribute overview

Public Instance Constructors

SecurityContextProviderAttribute Constructor Construct provider attribute with type specified

Public Instance Properties

ProviderType Gets or sets the type of the provider to use.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

CompareTo (inherited from ConfiguratorAttribute) Compare this instance to another ConfiguratorAttribute
Configure Configures the SecurityContextProvider
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

SecurityContextProviderAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionaryProperties.html0000644000175000017500000001140410412737560025544 0ustar slomoslomo EmptyDictionary Properties
log4net SDK Reference

EmptyDictionary Properties

The properties of the EmptyDictionary class are listed below. For a complete list of EmptyDictionary class members, see the EmptyDictionary Members topic.

Public Static (Shared) Properties

Instance Gets the singleton instance of the EmptyDictionary.

Public Instance Properties

Count Gets the number of elements contained in the ICollection
IsFixedSize Gets a value indicating whether the EmptyDictionary has a fixed size.
IsReadOnly Gets a value indicating whether the EmptyDictionary is read-only.
IsSynchronized Gets a value indicating if access to the ICollection is synchronized (thread-safe).
Item Gets or sets the element with the specified key.
Keys Gets an ICollection containing the keys of the EmptyDictionary.
SyncRoot Gets an object that can be used to synchronize access to the ICollection.
Values Gets an ICollection containing the values of the EmptyDictionary.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Warn_overloads.html0000644000175000017500000000415510412737516023253 0ustar slomoslomo Warn Method
log4net SDK Reference

ILog.Warn Method

Log a message object with the Warn level.

Overload List

Log a message object with the Warn level.

void Warn(object);

Log a message object with the Warn level including the stack trace of the Exception passed as a parameter.

void Warn(object,Exception);

See Also

ILog Interface | log4net Namespace | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.IErrorHandler.html0000644000175000017500000000525610412737540023024 0ustar slomoslomo IErrorHandler Interface
log4net SDK Reference

IErrorHandler Interface

Appenders may delegate their error handling to an IErrorHandler.

For a list of all members of this type, see IErrorHandler Members.

[Visual Basic]
Public Interface IErrorHandler
[C#]
public interface IErrorHandler

Types that implement IErrorHandler

Type Description
OnlyOnceErrorHandler Implements log4net's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all subsequent errors.

Remarks

Error handling is a particularly tedious to get right because by definition errors are hard to predict and to reproduce.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

IErrorHandler Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.GetExceptionStrRep.html0000644000175000017500000000465110412737544026453 0ustar slomoslomo LoggingEvent.GetExceptionStrRep Method
log4net SDK Reference

LoggingEvent.GetExceptionStrRep Method 

NOTE: This method is now obsolete.

Use GetExceptionString instead


Returns this event's exception's rendered using the RendererMap.

[Visual Basic]
Public Function GetExceptionStrRep() As String
[C#]
public string GetExceptionStrRep();

Return Value

This event's exception's rendered using the RendererMap.

Remarks

Obsolete. Use GetExceptionString instead.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/treenodedot.gif0000644000175000017500000000147510412737566020206 0ustar slomoslomoGIF89a ÷ÿÿÿ‚‚‚!ù, @H° A\ ¡B†FLQ`@;log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextProviderProperties.html0000644000175000017500000000373510412737546027276 0ustar slomoslomo SecurityContextProvider Properties
log4net SDK Reference

SecurityContextProvider Properties

The properties of the SecurityContextProvider class are listed below. For a complete list of SecurityContextProvider class members, see the SecurityContextProvider Members topic.

Public Static (Shared) Properties

DefaultProvider Gets or sets the default SecurityContextProvider

See Also

SecurityContextProvider Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.Append_overload_2.html0000644000175000017500000000434210412737534027424 0ustar slomoslomo TelnetAppender.Append Method (LoggingEvent)
log4net SDK Reference

TelnetAppender.Append Method (LoggingEvent)

Writes the logging event to each connected client.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the logging event to each connected client.

See Also

TelnetAppender Class | log4net.Appender Namespace | TelnetAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger.html0000644000175000017500000000360410412737556031473 0ustar slomoslomo Logger Property
log4net SDK Reference

LoggerCreationEventArgs.Logger Property

Gets the Logger that has been created.

[Visual Basic]
Public ReadOnly Property Logger As Logger
[C#]
public Logger Logger {get;}

Property Value

The Logger that has been created.

Remarks

The Logger that has been created.

See Also

LoggerCreationEventArgs Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBase.ActivateOptions.html0000644000175000017500000000462610412737552026560 0ustar slomoslomo XmlLayoutBase.ActivateOptions Method
log4net SDK Reference

XmlLayoutBase.ActivateOptions Method 

Initialize layout options

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppenderMembers.html0000644000175000017500000003476010412737524030122 0ustar slomoslomo BufferingForwardingAppender Members
log4net SDK Reference

BufferingForwardingAppender Members

BufferingForwardingAppender overview

Public Instance Constructors

BufferingForwardingAppender Constructor Initializes a new instance of the BufferingForwardingAppender class.

Public Instance Properties

Appenders Gets the appenders contained in this appender as an ICollection.
BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from BufferingAppenderSkeleton) Initialize the appender based on the options set
AddAppender Adds an IAppender to the list of appenders of this instance.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetAppender Looks for the appender with the specified name.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveAllAppenders Removes all previously added appenders from this appender.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Closes the appender and releases resources.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Send the events.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.Iso8601DateFormatterMembers.html0000644000175000017500000001314010412737546027240 0ustar slomoslomo Iso8601DateFormatter Members
log4net SDK Reference

Iso8601DateFormatter Members

Iso8601DateFormatter overview

Public Instance Constructors

Iso8601DateFormatter Constructor Default constructor

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate (inherited from AbsoluteTimeDateFormatter) Renders the date into a string. Format is "HH:mm:ss,fff".
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatDateWithoutMillis Formats the date without the milliseconds part
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Iso8601DateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfigurator.Configure_overload_4.html0000644000175000017500000000535010412737536030303 0ustar slomoslomo BasicConfigurator.Configure Method (ILoggerRepository, IAppender)
log4net SDK Reference

BasicConfigurator.Configure Method (ILoggerRepository, IAppender)

Initializes the ILoggerRepository using the specified appender.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal appender As IAppender _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   IAppender appender
);

Parameters

repository
The repository to configure.
appender
The appender to use to log all logging events.

Remarks

Initializes the ILoggerRepository using the specified appender.

See Also

BasicConfigurator Class | log4net.Config Namespace | BasicConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppender.Append_overload_2.html0000644000175000017500000000473210412737536027234 0ustar slomoslomo TraceAppender.Append Method (LoggingEvent)
log4net SDK Reference

TraceAppender.Append Method (LoggingEvent)

Writes the logging event to the Trace system.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the logging event to the Trace system.

See Also

TraceAppender Class | log4net.Appender Namespace | TraceAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.NdcFilterMembers.html0000644000175000017500000002041310412737550024037 0ustar slomoslomo NdcFilter Members
log4net SDK Reference

NdcFilter Members

NdcFilter overview

Public Instance Constructors

NdcFilter Constructor Default constructor

Public Instance Properties

AcceptOnMatch (inherited from StringMatchFilter) Accept when matching StringToMatch or RegexToMatch
Key (inherited from PropertyFilter) The key to lookup in the event properties and then match against.
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch (inherited from StringMatchFilter) Sets the regular expression to match
StringToMatch (inherited from StringMatchFilter) Sets the static string to match

Public Instance Methods

ActivateOptions (inherited from StringMatchFilter) Initialize and precompile the Regex if required
Decide (inherited from PropertyFilter) Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_acceptOnMatch (inherited from StringMatchFilter) Flag to indicate the behavior when we have a match
m_regexToMatch (inherited from StringMatchFilter) A regex object to match (generated from m_stringRegexToMatch)
m_stringRegexToMatch (inherited from StringMatchFilter) A string regex to match
m_stringToMatch (inherited from StringMatchFilter) The string to substring match against the message

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

NdcFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttribute.RepositoryType.html0000644000175000017500000000463710412737540027726 0ustar slomoslomo RepositoryType Property
log4net SDK Reference

RepositoryAttribute.RepositoryType Property

Gets or sets the type of repository to create for this assembly.

[Visual Basic]
Public Property RepositoryType As Type
[C#]
public System.Type RepositoryType {get; set;}

Property Value

The type of repository to create for this assembly.

Remarks

The type of the repository to create for the assembly. The type must implement the ILoggerRepository interface.

This will be the type of repository created when the repository is created. If multiple assemblies reference the same repository then the repository is only created once using the RepositoryType of the first assembly to call into the repository.

See Also

RepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.AddConverter_overloads.html0000644000175000017500000000347310412737550030161 0ustar slomoslomo AddConverter Method
log4net SDK Reference

PatternLayout.AddConverter Method

Add a converter to this PatternLayout

Overload List

Add a converter to this PatternLayout

public void AddConverter(ConverterInfo);

Add a converter to this PatternLayout

public void AddConverter(string,Type);

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.RendererMap.html0000644000175000017500000000467010412737554031046 0ustar slomoslomo RendererMap Property
log4net SDK Reference

LoggerRepositorySkeleton.RendererMap Property

RendererMap accesses the object renderer map for this repository.

[Visual Basic]
Overridable Public ReadOnly Property RendererMap As RendererMap _
    Implements ILoggerRepository.RendererMap
[C#]
public virtual log4net.ObjectRenderer.RendererMap RendererMap {get;}

Property Value

RendererMap accesses the object renderer map for this repository.

Implements

ILoggerRepository.RendererMap

Remarks

RendererMap accesses the object renderer map for this repository.

The RendererMap holds a mapping between types and IObjectRenderer objects.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.AddRenderer.html0000644000175000017500000000522310412737554031014 0ustar slomoslomo LoggerRepositorySkeleton.AddRenderer Method
log4net SDK Reference

LoggerRepositorySkeleton.AddRenderer Method 

Adds an object renderer for a specific class.

[Visual Basic]
Overridable Public Sub AddRenderer( _
   ByVal typeToRender As Type, _
   ByVal rendererInstance As IObjectRenderer _
)
[C#]
public virtual void AddRenderer(
   Type typeToRender,
   IObjectRenderer rendererInstance
);

Parameters

typeToRender
The type that will be rendered by the renderer supplied.
rendererInstance
The object renderer used to render the object.

Remarks

Adds an object renderer for a specific class.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.IsReadOnly.html0000644000175000017500000000522710412737554026157 0ustar slomoslomo IsReadOnly Property
log4net SDK Reference

PluginCollection.IsReadOnly Property

Gets a value indicating whether the IList is read-only.

[Visual Basic]
Overridable Public ReadOnly Property IsReadOnly As Boolean _
    Implements IList.IsReadOnly
[C#]
public virtual bool IsReadOnly {get;}

Property Value

true if the collection is read-only; otherwise, false. The default is false.

Implements

IList.IsReadOnly

Remarks

Missing <remarks> documentation for P:log4net.Plugin.PluginCollection.IsReadOnly

See Also

PluginCollection Class | log4net.Plugin Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.Iso8601TimeDateFormat.htmllog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.Iso8601TimeDateFormat0000644000175000017500000000435610412737546032155 0ustar slomoslomo AbsoluteTimeDateFormatter.Iso8601TimeDateFormat Field
log4net SDK Reference

AbsoluteTimeDateFormatter.Iso8601TimeDateFormat Field

String constant used to specify ISO8601DateFormat in layouts. Current value is ISO8601.

[Visual Basic]
Public Const Iso8601TimeDateFormat As String = "ISO8601"
[C#]
public const string Iso8601TimeDateFormat = "ISO8601";

Remarks

Missing <remarks> documentation for F:log4net.DateFormatter.AbsoluteTimeDateFormatter.Iso8601TimeDateFormat

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.Reset.html0000644000175000017500000000425210412737562026433 0ustar slomoslomo NullDictionaryEnumerator.Reset Method
log4net SDK Reference

NullDictionaryEnumerator.Reset Method 

Resets the enumerator back to the start.

[Visual Basic]
NotOverridable Public Sub Reset() _
    Implements IEnumerator.Reset
[C#]
public void Reset();

Implements

IEnumerator.Reset

Remarks

As the enumerator is over an empty collection Reset does nothing.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.OnClose.html0000644000175000017500000000363610412737524030146 0ustar slomoslomo BufferingForwardingAppender.OnClose Method
log4net SDK Reference

BufferingForwardingAppender.OnClose Method 

Closes the appender and releases resources.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.RemoveAppender_overload_2.html0000644000175000017500000000471110412737540031166 0ustar slomoslomo IAppenderAttachable.RemoveAppender Method (IAppender)
log4net SDK Reference

IAppenderAttachable.RemoveAppender Method (IAppender)

Removes the specified appender from the list of attached appenders.

[Visual Basic]
Function RemoveAppender( _
   ByVal appender As IAppender _
) As IAppender
[C#]
IAppender RemoveAppender(
   IAppender appender
);

Parameters

appender
The appender to remove.

Return Value

The appender removed from the list

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

IAppenderAttachable Interface | log4net.Core Namespace | IAppenderAttachable.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppender.html0000644000175000017500000000657210412737522025024 0ustar slomoslomo AspNetTraceAppender Class
log4net SDK Reference

AspNetTraceAppender Class

Appends log events to the ASP.NET TraceContext system.

For a list of all members of this type, see AspNetTraceAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.AspNetTraceAppender

[Visual Basic]
Public Class AspNetTraceAppender
    Inherits AppenderSkeleton
[C#]
public class AspNetTraceAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Diagnostic information and tracing messages that you specify are appended to the output of the page that is sent to the requesting browser. Optionally, you can view this information from a separate trace viewer (Trace.axd) that displays trace information for every page in a given application.

Trace statements are processed and displayed only when tracing is enabled. You can control whether tracing is displayed to a page, to the trace viewer, or both.

The logging event is passed to the Write or Warn method depending on the level of the logging event.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

AspNetTraceAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IErrorHandler.Error_overload_2.html0000644000175000017500000000561110412737540026223 0ustar slomoslomo IErrorHandler.Error Method (String, Exception)
log4net SDK Reference

IErrorHandler.Error Method (String, Exception)

Prints the error message passed as a parameter.

[Visual Basic]
Sub Error( _
   ByVal message As String, _
   ByVal e As Exception _
)
[C#]
void Error(
   string message,
   Exception e
);

Parameters

message
The message associated with the error.
e
The Exception that was thrown when the error occurred.

Remarks

See Error.

See Also

IErrorHandler Interface | log4net.Core Namespace | IErrorHandler.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.AddAppender.html0000644000175000017500000000505310412737556027117 0ustar slomoslomo Logger.AddAppender Method
log4net SDK Reference

Logger.AddAppender Method 

Add newAppender to the list of appenders of this Logger instance.

[Visual Basic]
Overridable Public Sub AddAppender( _
   ByVal newAppender As IAppender _
) _
    Implements IAppenderAttachable.AddAppender
[C#]
public virtual void AddAppender(
   IAppender newAppender
);

Parameters

newAppender
An appender to add to this logger

Implements

IAppenderAttachable.AddAppender

Remarks

Add newAppender to the list of appenders of this Logger instance.

If newAppender is already in the list of appenders, then it won't be added again.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelectorMethods.html0000644000175000017500000000523010412737542025633 0ustar slomoslomo IRepositorySelector Methods
log4net SDK Reference

IRepositorySelector Methods

The methods of the IRepositorySelector interface are listed below. For a complete list of IRepositorySelector interface members, see the IRepositorySelector Members topic.

Public Instance Methods

CreateRepositoryOverloaded. Creates a new repository with the name specified.
ExistsRepository Test if a named repository exists
GetAllRepositories Gets an array of all currently defined repositories.
GetRepositoryOverloaded. Gets the named ILoggerRepository.

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingEntryMethods.html0000644000175000017500000001160110412737560025273 0ustar slomoslomo LevelMappingEntry Methods
log4net SDK Reference

LevelMappingEntry Methods

The methods of the LevelMappingEntry class are listed below. For a complete list of LevelMappingEntry class members, see the LevelMappingEntry Members topic.

Public Instance Methods

ActivateOptions Initialize any options defined on this entry
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelMappingEntry Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.TrimToSize.html0000644000175000017500000000365210412737522027012 0ustar slomoslomo AppenderCollection.TrimToSize Method
log4net SDK Reference

AppenderCollection.TrimToSize Method 

Sets the capacity to the actual number of elements.

[Visual Basic]
Overridable Public Sub TrimToSize()
[C#]
public virtual void TrimToSize();

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.TrimToSize

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogicalThreadContext.Properties.html0000644000175000017500000000404110412737516025631 0ustar slomoslomo Properties Property
log4net SDK Reference

LogicalThreadContext.Properties Property

The thread properties map

[Visual Basic]
Public Shared ReadOnly Property Properties As LogicalThreadContextProperties
[C#]
public static Util.LogicalThreadContextProperties Properties {get;}

Property Value

The thread properties map

Remarks

The LogicalThreadContext properties override any ThreadContext or GlobalContext properties with the same name.

See Also

LogicalThreadContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.GetTypeFromString_overloads.html0000644000175000017500000000417010412737564030122 0ustar slomoslomo GetTypeFromString Method
log4net SDK Reference

SystemInfo.GetTypeFromString Method

Loads the type specified in the type string.

Overload List

Loads the type specified in the type string.

public static Type GetTypeFromString(Assembly,string,bool,bool);

Loads the type specified in the type string.

public static Type GetTypeFromString(string,bool,bool);

Loads the type specified in the type string.

public static Type GetTypeFromString(Type,string,bool,bool);

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.ActivateOptions.html0000644000175000017500000000613410412737530027317 0ustar slomoslomo NetSendAppender.ActivateOptions Method
log4net SDK Reference

NetSendAppender.ActivateOptions Method 

Initialize the appender based on the options set.

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

The appender will be ignored if no Recipient was specified.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThe required property Recipient was not specified.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.RemoteEndPoint.html0000644000175000017500000000464410412737536026301 0ustar slomoslomo RemoteEndPoint Property
log4net SDK Reference

UdpAppender.RemoteEndPoint Property

Gets or sets the cached remote endpoint to which the logging events should be sent.

[Visual Basic]
Protected Property RemoteEndPoint As IPEndPoint
[C#]
protected System.Net.IPEndPoint RemoteEndPoint {get; set;}

Property Value

The cached remote endpoint to which the logging events will be sent.

Remarks

The ActivateOptions method will initialize the remote endpoint with the values of the RemoteAddress and RemotePort properties.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayoutProperties.html0000644000175000017500000000547310412737550025603 0ustar slomoslomo PatternLayout Properties
log4net SDK Reference

PatternLayout Properties

The properties of the PatternLayout class are listed below. For a complete list of PatternLayout class members, see the PatternLayout Members topic.

Public Instance Properties

ContentType (inherited from LayoutSkeleton) The content type output by this layout.
ConversionPattern The pattern formatting string
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.html0000644000175000017500000000601710412737566027050 0ustar slomoslomo ConverterRegistry Class
log4net SDK Reference

ConverterRegistry Class

Register of type converters for specific types.

For a list of all members of this type, see ConverterRegistry Members.

System.Object
   log4net.Util.TypeConverters.ConverterRegistry

[Visual Basic]
NotInheritable Public Class ConverterRegistry
[C#]
public sealed class ConverterRegistry

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Maintains a registry of type converters used to convert between types.

Use the AddConverter and AddConverter methods to register new converters. The GetConvertTo and GetConvertFrom methods lookup appropriate converters to use.

Requirements

Namespace: log4net.Util.TypeConverters

Assembly: log4net (in log4net.dll)

See Also

ConverterRegistry Members | log4net.Util.TypeConverters Namespace | IConvertFrom | IConvertTo


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayout.FormatXml.html0000644000175000017500000000537610412737552024565 0ustar slomoslomo XmlLayout.FormatXml Method
log4net SDK Reference

XmlLayout.FormatXml Method 

Does the actual writing of the XML.

[Visual Basic]
Overrides Protected Sub FormatXml( _
   ByVal writer As XmlWriter, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void FormatXml(
   XmlWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The writer to use to output the event to.
loggingEvent
The event to write.

Remarks

Override the base class FormatXml method to write the LoggingEvent to the XmlWriter.

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventConstructor.html0000644000175000017500000000564210412737544025165 0ustar slomoslomo LoggingEvent Constructor
log4net SDK Reference

LoggingEvent Constructor

Initializes a new instance of the LoggingEvent class from the supplied parameters.

Overload List

Initializes a new instance of the LoggingEvent class using specific data.

public LoggingEvent(LoggingEventData);

Serialization constructor

protected LoggingEvent(SerializationInfo,StreamingContext);

Initializes a new instance of the LoggingEvent class using specific data.

public LoggingEvent(Type,ILoggerRepository,LoggingEventData);

Initializes a new instance of the LoggingEvent class using specific data.

public LoggingEvent(Type,ILoggerRepository,LoggingEventData,FixFlags);

Initializes a new instance of the LoggingEvent class from the supplied parameters.

public LoggingEvent(Type,ILoggerRepository,string,Level,object,Exception);

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.ExistsRepository.html0000644000175000017500000000533310412737542027671 0ustar slomoslomo IRepositorySelector.ExistsRepository Method
log4net SDK Reference

IRepositorySelector.ExistsRepository Method 

Test if a named repository exists

[Visual Basic]
Function ExistsRepository( _
   ByVal repositoryName As String _
) As Boolean
[C#]
bool ExistsRepository(
   string repositoryName
);

Parameters

repositoryName
the named repository to check

Return Value

true if the repository exists

Remarks

Test if a named repository exists. Use CreateRepository to create a new repository and GetRepository to retrieve a repository.

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImplMembers.html0000644000175000017500000001477110412737556025713 0ustar slomoslomo AppenderAttachedImpl Members
log4net SDK Reference

AppenderAttachedImpl Members

AppenderAttachedImpl overview

Public Instance Constructors

AppenderAttachedImpl Constructor Constructor

Public Instance Properties

Appenders Gets all attached appenders.

Public Instance Methods

AddAppender Attaches an appender.
AppendLoopOnAppendersOverloaded. Append on on all attached appenders.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender Gets an attached appender with the specified name.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveAllAppenders Removes all attached appenders.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.TryParse_overloads.html0000644000175000017500000000417710412737564026306 0ustar slomoslomo TryParse Method
log4net SDK Reference

SystemInfo.TryParse Method

Parse a string into an Int32 value

Overload List

Parse a string into an Int32 value

public static bool TryParse(string,out int);

Parse a string into an Int64 value

public static bool TryParse(string,out long);

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IOptionHandlerMembers.html0000644000175000017500000000340110412737542024506 0ustar slomoslomo IOptionHandler Members
log4net SDK Reference

IOptionHandler Members

IOptionHandler overview

Public Instance Methods

ActivateOptions Activate the options that were previously set with calls to properties.

See Also

IOptionHandler Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor.html0000644000175000017500000000356610412737524031710 0ustar slomoslomo ForeColor Property
log4net SDK Reference

ColoredConsoleAppender.LevelColors.ForeColor Property

The mapped foreground color for the specified level

[Visual Basic]
Public Property ForeColor As Colors
[C#]
public ColoredConsoleAppender.Colors ForeColor {get; set;}

Remarks

Required property. The mapped foreground color for the specified level.

See Also

ColoredConsoleAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionaryConstructor.html0000644000175000017500000000410510412737564030435 0ustar slomoslomo ReadOnlyPropertiesDictionary Constructor
log4net SDK Reference

ReadOnlyPropertiesDictionary Constructor

Constructor

Overload List

Constructor

public ReadOnlyPropertiesDictionary();

Copy Constructor

public ReadOnlyPropertiesDictionary(ReadOnlyPropertiesDictionary);

Deserialization constructor

protected ReadOnlyPropertiesDictionary(SerializationInfo,StreamingContext);

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Error_overload_2.html0000644000175000017500000000536410412737560024742 0ustar slomoslomo LogLog.Error Method (String, Exception)
log4net SDK Reference

LogLog.Error Method (String, Exception)

Writes log4net internal error messages to the standard error stream.

[Visual Basic]
Overloads Public Shared Sub Error( _
   ByVal message As String, _
   ByVal exception As Exception _
)
[C#]
public static void Error(
   string message,
   Exception exception
);

Parameters

message
The message to log.
exception
An exception to log.

Remarks

All internal debug messages are prepended with the string "log4net:ERROR ".

See Also

LogLog Class | log4net.Util Namespace | LogLog.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManagerMethods.html0000644000175000017500000001425310412737516022775 0ustar slomoslomo LogManager Methods
log4net SDK Reference

LogManager Methods

The methods of the LogManager class are listed below. For a complete list of LogManager class members, see the LogManager Members topic.

Public Static (Shared) Methods

CreateDomainOverloaded. Create a domain
CreateRepositoryOverloaded. Create a logger repository.
ExistsOverloaded. Returns the named logger if it exists.
GetAllRepositories Gets the list of currently defined repositories.
GetCurrentLoggersOverloaded. Get the currently defined loggers.
GetLoggerOverloaded. Get or create a logger.
GetLoggerRepositoryOverloaded. Get the logger repository.
GetRepositoryOverloaded. Get a logger repository.
ResetConfigurationOverloaded. Reset the configuration of a repository
Shutdown Shuts down the log4net system.
ShutdownRepositoryOverloaded. Shutdown a logger repository.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogManager Class | log4net Namespace | ILog


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistryMethods.html0000644000175000017500000001131310412737566030367 0ustar slomoslomo ConverterRegistry Methods
log4net SDK Reference

ConverterRegistry Methods

The methods of the ConverterRegistry class are listed below. For a complete list of ConverterRegistry class members, see the ConverterRegistry Members topic.

Public Static (Shared) Methods

AddConverterOverloaded. Adds a converter for a specific type.
GetConvertFrom Gets the type converter to use to convert values to the destination type.
GetConvertTo Gets the type converter to use to convert values to the destination type.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace | IConvertFrom | IConvertTo


././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat.htmllog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.AbsoluteTimeDateForma0000644000175000017500000000437310412737546032475 0ustar slomoslomo AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat Field
log4net SDK Reference

AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat Field

String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is ABSOLUTE.

[Visual Basic]
Public Const AbsoluteTimeDateFormat As String = "ABSOLUTE"
[C#]
public const string AbsoluteTimeDateFormat = "ABSOLUTE";

Remarks

Missing <remarks> documentation for F:log4net.DateFormatter.AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppenderConstructor3.html0000644000175000017500000000536010412737526026061 0ustar slomoslomo FileAppender Constructor (ILayout, String)
log4net SDK Reference

FileAppender Constructor (ILayout, String)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout & File properties


Construct a new appender using the layout and file specified. The file will be appended to.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal filename As String _
)
[C#]
public FileAppender(
   ILayout layout,
   string filename
);

Parameters

layout
the layout to use with this appender
filename
the full path to the file to write to

Remarks

Obsolete constructor.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateRepository_overload_2.html0000644000175000017500000000747110412737544030461 0ustar slomoslomo LoggerManager.CreateRepository Method (String, Type)
log4net SDK Reference

LoggerManager.CreateRepository Method (String, Type)

Creates a repository with the specified name and repository type.

[Visual Basic]
Overloads Public Shared Function CreateRepository( _
   ByVal repository As String, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateRepository(
   string repository,
   Type repositoryType
);

Parameters

repository
The name of the repository, this must be unique to the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.CreateRepository Overload List


././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.RemoveAppender_overload_2.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.RemoveAppender_overload_0000644000175000017500000000566110412737524032607 0ustar slomoslomo BufferingForwardingAppender.RemoveAppender Method (IAppender)
log4net SDK Reference

BufferingForwardingAppender.RemoveAppender Method (IAppender)

Removes the specified appender from the list of appenders.

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
   ByVal appender As IAppender _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual IAppender RemoveAppender(
   IAppender appender
);

Parameters

appender
The appender to remove.

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace | BufferingForwardingAppender.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPlugin.Name.html0000644000175000017500000000377010412737552023122 0ustar slomoslomo Name Property
log4net SDK Reference

IPlugin.Name Property

Gets the name of the plugin.

[Visual Basic]
Property Name As String
[C#]
string Name {get;}

Property Value

The name of the plugin.

Remarks

Plugins are stored in the PluginMap keyed by name. Each plugin instance attached to a repository must be a unique name.

See Also

IPlugin Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextProvider.CreateSecurityContext.html0000644000175000017500000000505110412737546031511 0ustar slomoslomo SecurityContextProvider.CreateSecurityContext Method
log4net SDK Reference

SecurityContextProvider.CreateSecurityContext Method 

Create a SecurityContext for a consumer

[Visual Basic]
Overridable Public Function CreateSecurityContext( _
   ByVal consumer As Object _
) As SecurityContext
[C#]
public virtual SecurityContext CreateSecurityContext(
   object consumer
);

Parameters

consumer
The consumer requesting the SecurityContext

Return Value

An impersonation context

Remarks

The default implementation is to return a NullSecurityContext.

Subclasses should override this method to provide their own behavior.

See Also

SecurityContextProvider Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor.html0000644000175000017500000000362310412737522032353 0ustar slomoslomo ForeColor Property
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors.ForeColor Property

The mapped foreground color for the specified level

[Visual Basic]
Public Property ForeColor As AnsiColor
[C#]
public AnsiColorTerminalAppender.AnsiColor ForeColor {get; set;}

Remarks

Required property. The mapped foreground color for the specified level

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo0000644000175000017500000000643010412737556032662 0ustar slomoslomo XmlHierarchyConfigurator.ConvertStringTo Method
log4net SDK Reference

XmlHierarchyConfigurator.ConvertStringTo Method 

Converts a string value to a target type.

[Visual Basic]
Protected Function ConvertStringTo( _
   ByVal type As Type, _
   ByVal value As String _
) As Object
[C#]
protected object ConvertStringTo(
   Type type,
   string value
);

Parameters

type
The type of object to convert the string to.
value
The string value to use as the value of the object.

Return Value

An object of type type with value value or null when the conversion could not be performed.

Remarks

Missing <remarks> documentation for M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo(System.Type,System.String)

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4j.FormatXml.html0000644000175000017500000000501310412737552026572 0ustar slomoslomo XmlLayoutSchemaLog4j.FormatXml Method
log4net SDK Reference

XmlLayoutSchemaLog4j.FormatXml Method 

Actually do the writing of the xml

[Visual Basic]
Overrides Protected Sub FormatXml( _
   ByVal writer As XmlWriter, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void FormatXml(
   XmlWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
the writer to use
loggingEvent
the event to write

Remarks

Generate XML that is compatible with the log4j schema.

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Add.html0000644000175000017500000000512010412737554024626 0ustar slomoslomo PluginCollection.Add Method
log4net SDK Reference

PluginCollection.Add Method 

Adds a IPlugin to the end of the PluginCollection.

[Visual Basic]
Overridable Public Function Add( _
   ByVal item As IPlugin _
) As Integer
[C#]
public virtual int Add(
   IPlugin item
);

Parameters

item
The IPlugin to be added to the end of the PluginCollection.

Return Value

The index at which the value has been added.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.Add(log4net.Plugin.IPlugin)

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Severe.html0000644000175000017500000000351310412737542022617 0ustar slomoslomo Level.Severe Field
log4net SDK Reference

Level.Severe Field

The Severe level designates very severe error events.

[Visual Basic]
Public Shared ReadOnly Severe As Level
[C#]
public static readonly Level Severe;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Severe

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.FatalFormat_overload_1.html0000644000175000017500000001015110412737516024572 0ustar slomoslomo ILog.FatalFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

ILog.FatalFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the Fatal level.

[Visual Basic]
Sub FatalFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void FatalFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

ILog Interface | log4net Namespace | ILog.FatalFormat Overload List | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppender.RequiresLayout.html0000644000175000017500000000414010412737522030005 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

AspNetTraceAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

AspNetTraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Info_overload_2.html0000644000175000017500000000627710412737516023304 0ustar slomoslomo ILog.Info Method (Object)
log4net SDK Reference

ILog.Info Method (Object)

Logs a message object with the Info level.

[Visual Basic]
Sub Info( _
   ByVal message As Object _
)
[C#]
void Info(
   object message
);

Parameters

message
The message object to log.

Remarks

This method first checks if this logger is INFO enabled by comparing the level of this logger with the Info level. If this logger is INFO enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Info form instead.

See Also

ILog Interface | log4net Namespace | ILog.Info Overload List | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.ILog.DebugFormat_overload_4.html0000644000175000017500000000662410412737516024606 0ustar slomoslomo ILog.DebugFormat Method (String, Object)
log4net SDK Reference

ILog.DebugFormat Method (String, Object)

Logs a formatted message string with the Debug level.

[Visual Basic]
Sub DebugFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
)
[C#]
void DebugFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

ILog Interface | log4net Namespace | ILog.DebugFormat Overload List | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.UtilHierarchy.html0000644000175000017500000002545710412737556022225 0ustar slomoslomo log4net.UtilHierarchy
log4net SDK Reference

log4net.Util Hierarchy

System.Object

See Also

log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.Append_overload_2.html0000644000175000017500000000444210412737530027526 0ustar slomoslomo NetSendAppender.Append Method (LoggingEvent)
log4net SDK Reference

NetSendAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Sends the event using a network message.

See Also

NetSendAppender Class | log4net.Appender Namespace | NetSendAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Flush_overloads.html0000644000175000017500000000351510412737524031421 0ustar slomoslomo Flush Method
log4net SDK Reference

BufferingAppenderSkeleton.Flush Method

Flush the currently buffered events

Overload List

Flush the currently buffered events

public virtual void Flush();

Flush the currently buffered events

public virtual void Flush(bool);

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructor1.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructo0000644000175000017500000000365710412737564033071 0ustar slomoslomo ConversionNotSupportedException Constructor ()
log4net SDK Reference

ConversionNotSupportedException Constructor ()

Constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public ConversionNotSupportedException();

Remarks

Initializes a new instance of the ConversionNotSupportedException class.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace | ConversionNotSupportedException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Writer.html0000644000175000017500000000452310412737564025250 0ustar slomoslomo Writer Property
log4net SDK Reference

TextWriterAdapter.Writer Property

Gets or sets the underlying TextWriter.

[Visual Basic]
Protected Property Writer As TextWriter
[C#]
protected System.IO.TextWriter Writer {get; set;}

Property Value

The underlying TextWriter.

Remarks

Gets or sets the underlying TextWriter.

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.FatalFormat_overload_2.html0000644000175000017500000001135610412737546026206 0ustar slomoslomo LogImpl.FatalFormat Method (String, Object, Object, Object)
log4net SDK Reference

LogImpl.FatalFormat Method (String, Object, Object, Object)

Logs a formatted message string with the FATAL level.

[Visual Basic]
Overridable Overloads Public Sub FatalFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
) _
    Implements ILog.FatalFormat
[C#]
public virtual void FatalFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Implements

ILog.FatalFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the FatalFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.FatalFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.ConfigureAndWatch_overload_1.html0000644000175000017500000000621010412737540031420 0ustar slomoslomo XmlConfigurator.ConfigureAndWatch Method (FileInfo)
log4net SDK Reference

XmlConfigurator.ConfigureAndWatch Method (FileInfo)

Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

[Visual Basic]
Overloads Public Shared Sub ConfigureAndWatch( _
   ByVal configFile As FileInfo _
)
[C#]
public static void ConfigureAndWatch(
   FileInfo configFile
);

Parameters

configFile
The XML file to load the configuration from.

Remarks

The configuration file must be valid XML. It must contain at least one element called log4net that holds the configuration data.

The configuration file will be monitored using a FileSystemWatcher and depends on the behavior of that class.

For more information on how to configure log4net using a separate configuration file, see Configure.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.ConfigureAndWatch Overload List | Configure


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.CloseWriter.html0000644000175000017500000000372510412737526025774 0ustar slomoslomo FileAppender.CloseWriter Method
log4net SDK Reference

FileAppender.CloseWriter Method 

Closes the underlying TextWriter.

[Visual Basic]
Overrides Protected Sub CloseWriter()
[C#]
protected override void CloseWriter();

Remarks

Closes the underlying TextWriter.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.html0000644000175000017500000001237310412737520026232 0ustar slomoslomo AnsiColorTerminalAppender Class
log4net SDK Reference

AnsiColorTerminalAppender Class

Appends logging events to the terminal using ANSI color escape sequences.

For a list of all members of this type, see AnsiColorTerminalAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.AnsiColorTerminalAppender

[Visual Basic]
Public Class AnsiColorTerminalAppender
    Inherits AppenderSkeleton
[C#]
public class AnsiColorTerminalAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

AnsiColorTerminalAppender appends log events to the standard output stream or the error output stream using a layout specified by the user. It also allows the color of a specific level of message to be set.

Note    This appender expects the terminal to understand the VT100 control set in order to interpret the color codes. If the terminal or console does not understand the control codes the behavior is not defined.

By default, all output is written to the console's standard output stream. The Target property can be set to direct the output to the error stream.

NOTE: This appender writes each message to the System.Console.Out or System.Console.Error that is set at the time the event is appended. Therefore it is possible to programmatically redirect the output of this appender (for example NUnit does this to capture program output). While this is the desired behavior of this appender it may have security implications in your application.

When configuring the ANSI colored terminal appender, a mapping should be specified to map a logging level to a color. For example:

[XML]
<mapping>
    <level value="ERROR" />
    <foreColor value="White" />
    <backColor value="Red" />
    <attributes value="Bright,Underscore" />
</mapping>
<mapping>
    <level value="DEBUG" />
    <backColor value="Green" />
</mapping>

The Level is the standard log4net logging level and ForeColor and BackColor can be any of the following values:

These color values cannot be combined together to make new colors.

The attributes can be any combination of the following:

While any of these attributes may be combined together not all combinations work well together, for example setting both Bright and Dim attributes makes no sense.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

AnsiColorTerminalAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/contents.html0000644000175000017500000265472410412737566017743 0ustar slomoslomo Contents
sync toc
log4net
ILog Interface
Methods
log4net.Appender
log4net.Config
log4net.Core
LogImpl Class
Methods
log4net.Layout
log4net.Plugin
log4net.Repository.Hierarchy
log4net.Util
log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppenderProperties.html0000644000175000017500000001742010412737532027131 0ustar slomoslomo RollingFileAppender Properties
log4net SDK Reference

RollingFileAppender Properties

The properties of the RollingFileAppender class are listed below. For a complete list of RollingFileAppender class members, see the RollingFileAppender Members topic.

Public Instance Properties

AppendToFile (inherited from FileAppender) Gets or sets a flag that indicates whether the file should be appended to or overwritten.
CountDirection Gets or sets the rolling file count direction.
DatePattern Gets or sets the date pattern to be used for generating file names when rolling over on date.
Encoding (inherited from FileAppender) Gets or sets Encoding used to write to the file.
ErrorHandler (inherited from TextWriterAppender) Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
File (inherited from FileAppender) Gets or sets the path to the file that logging will be written to.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush (inherited from TextWriterAppender) Gets or set whether the appender will flush at the end of each append operation.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LockingModel (inherited from FileAppender) Gets or sets the LockingModel used to handle locking of the file.
MaxFileSize Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
MaximumFileSize Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
MaxSizeRollBackups Gets or sets the maximum number of backup files that are kept before the oldest is erased.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
RollingStyle Gets or sets the rolling style.
SecurityContext (inherited from FileAppender) Gets or sets the SecurityContext used to write to the file.
StaticLogFileName Gets or sets a value indicating whether to always log to the same file.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
Writer (inherited from TextWriterAppender) Sets the TextWriter where the log output will go.

Protected Instance Properties

QuietWriter (inherited from TextWriterAppender) Gets or sets the QuietTextWriter where logging events will be written to.
RequiresLayout (inherited from TextWriterAppender) This appender requires a log4net.Layout to be set.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.html0000644000175000017500000000513210412737550024244 0ustar slomoslomo StringMatchFilter Class
log4net SDK Reference

StringMatchFilter Class

Simple filter to match a string in the rendered message

For a list of all members of this type, see StringMatchFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.StringMatchFilter
         log4net.Filter.PropertyFilter

[Visual Basic]
Public Class StringMatchFilter
    Inherits FilterSkeleton
[C#]
public class StringMatchFilter : FilterSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Simple filter to match a string in the rendered message

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

StringMatchFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.AddRange_overload_1.html0000644000175000017500000000603610412737542027165 0ustar slomoslomo LevelCollection.AddRange Method (ICollection)
log4net SDK Reference

LevelCollection.AddRange Method (ICollection)

Adds the elements of a Level collection to the current LevelCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal col As ICollection _
) As Integer
[C#]
public virtual int AddRange(
   ICollection col
);

Parameters

col
The Level collection whose elements should be added to the end of the LevelCollection.

Return Value

The new Count of the LevelCollection.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.AddRange(System.Collections.ICollection)

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumeratorMembers.html0000644000175000017500000000510410412737542032151 0ustar slomoslomo LevelCollection.ILevelCollectionEnumerator Members
log4net SDK Reference

LevelCollection.ILevelCollectionEnumerator Members

LevelCollection.ILevelCollectionEnumerator overview

Public Instance Properties

Current Gets the current element in the collection.

Public Instance Methods

MoveNext Advances the enumerator to the next element in the collection.
Reset Sets the enumerator to its initial position, before the first element in the collection.

See Also

LevelCollection.ILevelCollectionEnumerator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.NdcFilterConstructor.html0000644000175000017500000000307610412737550025000 0ustar slomoslomo NdcFilter Constructor
log4net SDK Reference

NdcFilter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public NdcFilter();

Remarks

Sets the Key to "NDC".

See Also

NdcFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.SendEmail.html0000644000175000017500000000460310412737534025432 0ustar slomoslomo SmtpAppender.SendEmail Method
log4net SDK Reference

SmtpAppender.SendEmail Method 

Send the email message

[Visual Basic]
Overridable Protected Sub SendEmail( _
   ByVal messageBody As String _
)
[C#]
protected virtual void SendEmail(
   string messageBody
);

Parameters

messageBody
the body text to include in the mail

Remarks

Missing <remarks> documentation for M:log4net.Appender.SmtpAppender.SendEmail(System.String)

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.CreateRepository_overload_1.html0000644000175000017500000000655410412737542031736 0ustar slomoslomo IRepositorySelector.CreateRepository Method (String, Type)
log4net SDK Reference

IRepositorySelector.CreateRepository Method (String, Type)

Creates a new repository with the name specified.

[Visual Basic]
Function CreateRepository( _
   ByVal repositoryName As String, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
ILoggerRepository CreateRepository(
   string repositoryName,
   Type repositoryType
);

Parameters

repositoryName
The name to associate with the ILoggerRepository.
repositoryType
The type of repository to create, must implement ILoggerRepository.

Return Value

The repository created.

Remarks

The ILoggerRepository created will be associated with the name specified such that a call to GetRepository with the same name will return the same repository instance.

See Also

IRepositorySelector Interface | log4net.Core Namespace | IRepositorySelector.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilterMethods.html0000644000175000017500000001221010412737550025534 0ustar slomoslomo LoggerMatchFilter Methods
log4net SDK Reference

LoggerMatchFilter Methods

The methods of the LoggerMatchFilter class are listed below. For a complete list of LoggerMatchFilter class members, see the LoggerMatchFilter Members topic.

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LoggerMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.CreateCaseInsensitiveHashtable.html0000644000175000017500000000475710412737564030517 0ustar slomoslomo SystemInfo.CreateCaseInsensitiveHashtable Method
log4net SDK Reference

SystemInfo.CreateCaseInsensitiveHashtable Method 

Creates a new case-insensitive instance of the Hashtable class with the default initial capacity.

[Visual Basic]
Public Shared Function CreateCaseInsensitiveHashtable() As Hashtable
[C#]
public static Hashtable CreateCaseInsensitiveHashtable();

Return Value

A new case-insensitive instance of the Hashtable class with the default initial capacity

Remarks

The new Hashtable instance uses the default load factor, the CaseInsensitiveHashCodeProvider, and the CaseInsensitiveComparer.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionConstructor4.html0000644000175000017500000000464510412737554026504 0ustar slomoslomo PluginCollection Constructor (IPlugin[])
log4net SDK Reference

PluginCollection Constructor (IPlugin[])

Initializes a new instance of the PluginCollection class that contains elements copied from the specified IPlugin array.

[Visual Basic]
Overloads Public Sub New( _
   ByVal a As IPlugin() _
)
[C#]
public PluginCollection(
   IPlugin[] a
);

Parameters

a
The IPlugin array whose elements are copied to the new list.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.IPlugin[])

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColorsConstructor.html0000644000175000017500000000337610412737524032264 0ustar slomoslomo ColoredConsoleAppender.LevelColors Constructor
log4net SDK Reference

ColoredConsoleAppender.LevelColors Constructor 

Initializes a new instance of the ColoredConsoleAppender.LevelColors class.

[Visual Basic]
Public Sub New()
[C#]
public ColoredConsoleAppender.LevelColors();

See Also

ColoredConsoleAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.html0000644000175000017500000000725010412737526024374 0ustar slomoslomo EventLogAppender Class
log4net SDK Reference

EventLogAppender Class

Writes events to the system event log.

For a list of all members of this type, see EventLogAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.EventLogAppender

[Visual Basic]
Public Class EventLogAppender
    Inherits AppenderSkeleton
[C#]
public class EventLogAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The EventID of the event log entry can be set using the EventLogEventID property (Properties) on the LoggingEvent.

There is a limit of 32K characters for an event log message

When configuring the EventLogAppender a mapping can be specified to map a logging level to an event log entry type. For example:

[XML]
<mapping>
    <level value="ERROR" />
    <eventLogEntryType value="Error" />
</mapping>
<mapping>
    <level value="DEBUG" />
    <eventLogEntryType value="Information" />
</mapping>

The Level is the standard log4net logging level and eventLogEntryType can be any value from the EventLogEntryType enum, i.e.:

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

EventLogAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.WarnFormat_overload_5.html0000644000175000017500000000670010412737516024463 0ustar slomoslomo ILog.WarnFormat Method (String, Object[])
log4net SDK Reference

ILog.WarnFormat Method (String, Object[])

Logs a formatted message string with the Warn level.

[Visual Basic]
Sub WarnFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void WarnFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

ILog Interface | log4net Namespace | ILog.WarnFormat Overload List | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.html0000644000175000017500000000451110412737540023755 0ustar slomoslomo XmlConfigurator Class
log4net SDK Reference

XmlConfigurator Class

Use this class to initialize the log4net environment using an Xml tree.

For a list of all members of this type, see XmlConfigurator Members.

System.Object
   log4net.Config.XmlConfigurator

[Visual Basic]
NotInheritable Public Class XmlConfigurator
[C#]
public sealed class XmlConfigurator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Configures a ILoggerRepository using an Xml tree.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

XmlConfigurator Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Clear.html0000644000175000017500000000445110412737522025765 0ustar slomoslomo AppenderCollection.Clear Method
log4net SDK Reference

AppenderCollection.Clear Method 

Removes all elements from the AppenderCollection.

[Visual Basic]
Overridable Public Sub Clear() _
    Implements IList.Clear
[C#]
public virtual void Clear();

Implements

IList.Clear

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.Clear

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilter.LevelMax.html0000644000175000017500000000373210412737550025565 0ustar slomoslomo LevelMax Property
log4net SDK Reference

LevelRangeFilter.LevelMax Property

Sets the maximum matched Level

[Visual Basic]
Public Property LevelMax As Level
[C#]
public log4net.Core.Level LevelMax {get; set;}

Remarks

The maximum level that this filter will attempt to match against the LoggingEvent level. If a match is found then the result depends on the value of AcceptOnMatch.

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.Append_overload_2.html0000644000175000017500000000467110412737536030321 0ustar slomoslomo TextWriterAppender.Append Method (LoggingEvent)
log4net SDK Reference

TextWriterAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes a log statement to the output stream if the output stream exists and is writable.

The format of the output will depend on the appender's layout.

See Also

TextWriterAppender Class | log4net.Appender Namespace | TextWriterAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfoMethods.html0000644000175000017500000001630610412737564024001 0ustar slomoslomo SystemInfo Methods
log4net SDK Reference

SystemInfo Methods

The methods of the SystemInfo class are listed below. For a complete list of SystemInfo class members, see the SystemInfo Members topic.

Public Static (Shared) Methods

AssemblyFileName Gets the file name portion of the Assembly, including the extension.
AssemblyLocationInfo Gets the assembly location path for the specified assembly.
AssemblyQualifiedName Gets the fully qualified name of the Type, including the name of the assembly from which the Type was loaded.
AssemblyShortName Gets the short name of the Assembly.
ConvertToFullPath Convert a path into a fully qualified local file path.
CreateArgumentOutOfRangeException Create an ArgumentOutOfRangeException
CreateCaseInsensitiveHashtable Creates a new case-insensitive instance of the Hashtable class with the default initial capacity.
GetAppSetting Lookup an application setting
GetTypeFromStringOverloaded. Loads the type specified in the type string.
NewGuid Generate a new guid
TryParseOverloaded. Parse a string into an Int32 value

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppenderConstructor.html0000644000175000017500000000405310412737536026154 0ustar slomoslomo TraceAppender Constructor
log4net SDK Reference

TraceAppender Constructor

Initializes a new instance of the TraceAppender.

Overload List

Initializes a new instance of the TraceAppender.

public TraceAppender();

Obsolete. Initializes a new instance of the TraceAppender with a specified layout.

public TraceAppender(ILayout);

See Also

TraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfoProperties.html0000644000175000017500000001066610412737564024535 0ustar slomoslomo SystemInfo Properties
log4net SDK Reference

SystemInfo Properties

The properties of the SystemInfo class are listed below. For a complete list of SystemInfo class members, see the SystemInfo Members topic.

Public Static (Shared) Properties

ApplicationBaseDirectory Gets the base directory for this AppDomain.
ApplicationFriendlyName Get this application's friendly name
ConfigurationFileLocation Gets the path to the configuration file for the current AppDomain.
CurrentThreadId Gets the ID of the current thread.
EntryAssemblyLocation Gets the path to the file that first executed in the current AppDomain.
HostName Get the host name or machine name for the current machine
NewLine Gets the system dependent line terminator.
NotAvailableText Text to output when an unsupported feature is requested.
NullText Text to output when a null is encountered.
ProcessStartTime Get the start time for the current process.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameterProperties.html0000644000175000017500000000615010412737520027731 0ustar slomoslomo AdoNetAppenderParameter Properties
log4net SDK Reference

AdoNetAppenderParameter Properties

The properties of the AdoNetAppenderParameter class are listed below. For a complete list of AdoNetAppenderParameter class members, see the AdoNetAppenderParameter Members topic.

Public Instance Properties

DbType Gets or sets the database type for this parameter.
Layout Gets or sets the IRawLayout to use to render the logging event into an object for this parameter.
ParameterName Gets or sets the name of this parameter.
Precision Gets or sets the precision for this parameter.
Scale Gets or sets the scale for this parameter.
Size Gets or sets the size for this parameter.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.ConfigureAndWatch_overloads.html0000644000175000017500000000540310412737536031252 0ustar slomoslomo ConfigureAndWatch Method
log4net SDK Reference

DOMConfigurator.ConfigureAndWatch Method

NOTE: This method is now obsolete.

Use XmlConfigurator.ConfigureAndWatch instead of DOMConfigurator.ConfigureAndWatch


Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

Overload List

Obsolete. Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

public static void ConfigureAndWatch(ILoggerRepository,FileInfo);

Obsolete. Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

public static void ConfigureAndWatch(FileInfo);

See Also

DOMConfigurator Class | log4net.Config Namespace | Configure


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppenderMembers.html0000644000175000017500000002506110412737524025210 0ustar slomoslomo DebugAppender Members
log4net SDK Reference

DebugAppender Members

DebugAppender overview

Public Instance Constructors

DebugAppender Overloaded. Initializes a new instance of the DebugAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush Gets or sets a value that indicates whether the appender will flush at the end of each write.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Writes the logging event to the Debug system.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

DebugAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerWrapperImplProperties.html0000644000175000017500000000357110412737544026005 0ustar slomoslomo LoggerWrapperImpl Properties
log4net SDK Reference

LoggerWrapperImpl Properties

The properties of the LoggerWrapperImpl class are listed below. For a complete list of LoggerWrapperImpl class members, see the LoggerWrapperImpl Members topic.

Public Instance Properties

Logger Gets the implementation behind this wrapper object.

See Also

LoggerWrapperImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.ActivateOptions.html0000644000175000017500000000470010412737522027541 0ustar slomoslomo AppenderSkeleton.ActivateOptions Method
log4net SDK Reference

AppenderSkeleton.ActivateOptions Method 

Initialize the appender based on the options set

[Visual Basic]
Overridable Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public virtual void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.Format.html0000644000175000017500000000623010412737562025102 0ustar slomoslomo PatternConverter.Format Method
log4net SDK Reference

PatternConverter.Format Method 

Write the pattern converter to the writer with appropriate formatting

[Visual Basic]
Overridable Public Sub Format( _
   ByVal writer As TextWriter, _
   ByVal state As Object _
)
[C#]
public virtual void Format(
   TextWriter writer,
   object state
);

Parameters

writer
TextWriter that will receive the formatted result.
state
The state object on which the pattern converter should be executed.

Remarks

This method calls Convert to allow the subclass to perform appropriate conversion of the pattern converter. If formatting options have been specified via the FormattingInfo then this method will apply those formattings before writing the output.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/static.gif0000644000175000017500000000161510412737506017147 0ustar slomoslomoGIF89a÷0+qg‘„îîªDDDõàÓˆˆˆOI4-fffÌÌÌÿÿÿÿÿ!ù,@j%H°`A"(Œ@‚A.`€D…<ÜÈ‚B 8`H D@ €£Ë—.@ ÀK*`òA‡:W€@’c`4 “N "Yð5‡6€É1 ;././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent.h0000644000175000017500000000651410412737540032604 0ustar slomoslomo CompactRepositorySelector.LoggerRepositoryCreatedEvent Event
log4net SDK Reference

CompactRepositorySelector.LoggerRepositoryCreatedEvent Event

Event to notify that a logger repository has been created.

[Visual Basic]
Public Event LoggerRepositoryCreatedEvent As LoggerRepositoryCreationEventHandler
[C#]
public event LoggerRepositoryCreationEventHandler LoggerRepositoryCreatedEvent;

Event Data

The event handler receives an argument of type LoggerRepositoryCreationEventArgs containing data related to this event. The following LoggerRepositoryCreationEventArgs property provides information specific to this event.

Property Description
LoggerRepository The ILoggerRepository that has been created

Implements

IRepositorySelector.LoggerRepositoryCreatedEvent

Remarks

Event raised when a new repository is created. The event source will be this selector. The event args will be a LoggerRepositoryCreationEventArgs which holds the newly created ILoggerRepository.

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfo.ClassName.html0000644000175000017500000000405210412737542024550 0ustar slomoslomo ClassName Property
log4net SDK Reference

LocationInfo.ClassName Property

Gets the fully qualified class name of the caller making the logging request.

[Visual Basic]
Public ReadOnly Property ClassName As String
[C#]
public string ClassName {get;}

Property Value

The fully qualified class name of the caller making the logging request.

Remarks

Gets the fully qualified class name of the caller making the logging request.

See Also

LocationInfo Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.Write_overloads.html0000644000175000017500000001707610412737562026660 0ustar slomoslomo Write Method
log4net SDK Reference

QuietTextWriter.Write Method

Writes a character to the underlying writer

Overload List

Inherited from TextWriter.

public virtual void Write(bool);

Writes a character to the underlying writer

public override void Write(char);

Inherited from TextWriter.

public virtual void Write(char[]);

Writes a buffer to the underlying writer

public override void Write(char[],int,int);

Inherited from TextWriter.

public virtual void Write(decimal);

Inherited from TextWriter.

public virtual void Write(double);

Inherited from TextWriter.

public virtual void Write(int);

Inherited from TextWriter.

public virtual void Write(long);

Inherited from TextWriter.

public virtual void Write(object);

Inherited from TextWriter.

public virtual void Write(float);

Writes a string to the output.

public override void Write(string);

Inherited from TextWriter.

public virtual void Write(string,object);

Inherited from TextWriter.

public virtual void Write(string,object,object);

Inherited from TextWriter.

public virtual void Write(string,object,object,object);

Inherited from TextWriter.

public virtual void Write(string,params object[]);

Inherited from TextWriter.

public virtual void Write(uint);

Inherited from TextWriter.

public virtual void Write(ulong);

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilterProperties.html0000644000175000017500000000501510412737550026272 0ustar slomoslomo LoggerMatchFilter Properties
log4net SDK Reference

LoggerMatchFilter Properties

The properties of the LoggerMatchFilter class are listed below. For a complete list of LoggerMatchFilter class members, see the LoggerMatchFilter Members topic.

Public Instance Properties

AcceptOnMatch Accept when matching LoggerToMatch
LoggerToMatch The LoggerName that the filter will match
Next (inherited from FilterSkeleton) Property to get and set the next filter

See Also

LoggerMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.Facility.html0000644000175000017500000000415210412737532027043 0ustar slomoslomo Facility Property
log4net SDK Reference

RemoteSyslogAppender.Facility Property

Syslog facility

[Visual Basic]
Public Property Facility As SyslogFacility
[C#]
public RemoteSyslogAppender.SyslogFacility Facility {get; set;}

Remarks

Set to one of the RemoteSyslogAppender.SyslogFacility values. The list of facilities is predefined and cannot be extended. The default value is User.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData.html0000644000175000017500000000746310412737564030640 0ustar slomoslomo ReadOnlyPropertiesDictionary.GetObjectData Method
log4net SDK Reference

ReadOnlyPropertiesDictionary.GetObjectData Method 

Serializes this object into the SerializationInfo provided.

[Visual Basic]
Overridable Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) _
    Implements ISerializable.GetObjectData
[C#]
public virtual void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo to populate with data.
context
The destination for this serialization.

Implements

ISerializable.GetObjectData

Remarks

Serializes this object into the SerializationInfo provided.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetRepository_overload_2.html0000644000175000017500000000533410412737544027771 0ustar slomoslomo LoggerManager.GetRepository Method (Assembly)
log4net SDK Reference

LoggerManager.GetRepository Method (Assembly)

Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetRepository( _
   ByVal repositoryAssembly As Assembly _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetRepository(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Return Value

The default ILoggerRepository instance.

Remarks

Returns the default ILoggerRepository instance.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.IndexOf.html0000644000175000017500000000541210412737522026271 0ustar slomoslomo AppenderCollection.IndexOf Method
log4net SDK Reference

AppenderCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a IAppender in the AppenderCollection.

[Visual Basic]
Overridable Public Function IndexOf( _
   ByVal item As IAppender _
) As Integer
[C#]
public virtual int IndexOf(
   IAppender item
);

Parameters

item
The IAppender to locate in the AppenderCollection.

Return Value

The zero-based index of the first occurrence of item in the entire AppenderCollection, if found; otherwise, -1.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.IndexOf(log4net.Appender.IAppender)

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Clear.html0000644000175000017500000000552410412737560024522 0ustar slomoslomo EmptyDictionary.Clear Method
log4net SDK Reference

EmptyDictionary.Clear Method 

Removes all elements from the EmptyDictionary.

[Visual Basic]
NotOverridable Public Sub Clear() _
    Implements IDictionary.Clear
[C#]
public void Clear();

Implements

IDictionary.Clear

Remarks

As the collection is empty no values can be removed. A InvalidOperationException is thrown if this method is called.

Exceptions

Exception TypeCondition
InvalidOperationExceptionThis dictionary is always empty and cannot be modified.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Warn_overload_1.html0000644000175000017500000000606110412737516023306 0ustar slomoslomo ILog.Warn Method (Object, Exception)
log4net SDK Reference

ILog.Warn Method (Object, Exception)

Log a message object with the Warn level including the stack trace of the Exception passed as a parameter.

[Visual Basic]
Sub Warn( _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
void Warn(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

See the Warn form for more detailed information.

See Also

ILog Interface | log4net Namespace | ILog.Warn Overload List | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMap.html0000644000175000017500000000557110412737546022410 0ustar slomoslomo WrapperMap Class
log4net SDK Reference

WrapperMap Class

Maps between logger objects and wrapper objects.

For a list of all members of this type, see WrapperMap Members.

System.Object
   log4net.Core.WrapperMap

[Visual Basic]
Public Class WrapperMap
[C#]
public class WrapperMap

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class maintains a mapping between ILogger objects and ILoggerWrapper objects. Use the GetWrapper method to lookup the ILoggerWrapper for the specified ILogger.

New wrapper instances are created by the CreateNewWrapperObject method. The default behavior is for this method to delegate construction of the wrapper to the WrapperCreationHandler delegate supplied to the constructor. This allows specialization of the behavior without requiring subclassing of this type.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

WrapperMap Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.NetMessageBufferSend.html0000644000175000017500000001343310412737530030202 0ustar slomoslomo NetSendAppender.NetMessageBufferSend Method
log4net SDK Reference

NetSendAppender.NetMessageBufferSend Method 

Sends a buffer of information to a registered message alias.

[Visual Basic]
Protected Shared Function NetMessageBufferSend( _
   ByVal serverName As String, _
   ByVal msgName As String, _
   ByVal fromName As String, _
   ByVal buffer As String, _
   ByVal bufferSize As Integer _
) As Integer
[C#]
protected static int NetMessageBufferSend(
   string serverName,
   string msgName,
   string fromName,
   string buffer,
   int bufferSize
);

Parameters

serverName
The DNS or NetBIOS name of the server on which the function is to execute.
msgName
The message alias to which the message buffer should be sent
fromName
The originator of the message.
buffer
The message text.
bufferSize
The length, in bytes, of the message text.

Return Value

If the function succeeds, the return value is zero.

Remarks

The following restrictions apply for sending network messages:

Platform Requirements
Windows NT

No special group membership is required to send a network message.

Admin, Accounts, Print, or Server Operator group membership is required to successfully send a network message on a remote server.

Windows 2000 or later

If you send a message on a domain controller that is running Active Directory, access is allowed or denied based on the access control list (ACL) for the securable object. The default ACL permits only Domain Admins and Account Operators to send a network message.

On a member server or workstation, only Administrators and Server Operators can send a network message.

For more information see Security Requirements for the Network Management Functions.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DomainAttributeConstructor1.html0000644000175000017500000000342010412737536026257 0ustar slomoslomo DomainAttribute Constructor ()
log4net SDK Reference

DomainAttribute Constructor ()

Initializes a new instance of the DomainAttribute class.

[Visual Basic]
Overloads Public Sub New()
[C#]
public DomainAttribute();

Remarks

Obsolete. Use RepositoryAttribute instead of DomainAttribute.

See Also

DomainAttribute Class | log4net.Config Namespace | DomainAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelector.CreateRepository_overloads.html0000644000175000017500000000364110412737542031673 0ustar slomoslomo CreateRepository Method
log4net SDK Reference

IRepositorySelector.CreateRepository Method

Creates a new repository for the assembly specified.

Overload List

Creates a new repository for the assembly specified.

ILoggerRepository CreateRepository(Assembly,Type);

Creates a new repository with the name specified.

ILoggerRepository CreateRepository(string,Type);

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLoggerRepository_overloads.html0000644000175000017500000000473410412737520027503 0ustar slomoslomo GetLoggerRepository Method
log4net SDK Reference

LogManager.GetLoggerRepository Method

Get the logger repository.

Overload List

Obsolete. Returns the default ILoggerRepository instance.

public static ILoggerRepository GetLoggerRepository();

Obsolete. Returns the default ILoggerRepository instance.

public static ILoggerRepository GetLoggerRepository(Assembly);

Obsolete. Returns the default ILoggerRepository instance.

public static ILoggerRepository GetLoggerRepository(string);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_5.html0000644000175000017500000001031210412737540030010 0ustar slomoslomo XmlConfigurator.Configure Method (FileInfo)
log4net SDK Reference

XmlConfigurator.Configure Method (FileInfo)

Configures log4net using the specified configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal configFile As FileInfo _
)
[C#]
public static void Configure(
   FileInfo configFile
);

Parameters

configFile
The XML file to load the configuration from.

Remarks

The configuration file must be valid XML. It must contain at least one element called log4net that holds the log4net configuration data.

The log4net configuration file can possible be specified in the application's configuration file (either MyAppName.exe.config for a normal application on Web.config for an ASP.NET application).

The first element matching <configuration> will be read as the configuration. If this file is also a .NET .config file then you must specify a configuration section for the log4net element otherwise .NET will complain. Set the type for the section handler to IgnoreSectionHandler, for example:

[XML]
<configSections>
    <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections>

The following example configures log4net using a configuration file, of which the location is stored in the application's configuration file :
[C#]
using log4net.Config;
using System.IO;
using System.Configuration;

...

XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));

In the .config file, the path to the log4net can be specified like this :

[XML]
<configuration>
    <appSettings>
        <add key="log4net-config-file" value="log.config" />
    </appSettings>
</configuration>

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Append_overloads.html0000644000175000017500000000402610412737522027713 0ustar slomoslomo Append Method
log4net SDK Reference

AppenderSkeleton.Append Method

Subclasses of AppenderSkeleton should implement this method to perform actual logging.

Overload List

Subclasses of AppenderSkeleton should implement this method to perform actual logging.

protected abstract void Append(LoggingEvent);

Append a bulk array of logging events.

protected virtual void Append(LoggingEvent[]);

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBase.InvalidCharReplacement.html0000644000175000017500000000455710412737552030013 0ustar slomoslomo InvalidCharReplacement Property
log4net SDK Reference

XmlLayoutBase.InvalidCharReplacement Property

The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

[Visual Basic]
Public Property InvalidCharReplacement As String
[C#]
public string InvalidCharReplacement {get; set;}

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.ToFileSize.html0000644000175000017500000000636210412737562025530 0ustar slomoslomo OptionConverter.ToFileSize Method
log4net SDK Reference

OptionConverter.ToFileSize Method 

Parses a file size into a number.

[Visual Basic]
Public Shared Function ToFileSize( _
   ByVal argValue As String, _
   ByVal defaultValue As Long _
) As Long
[C#]
public static long ToFileSize(
   string argValue,
   long defaultValue
);

Parameters

argValue
String to parse.
defaultValue
The default value.

Return Value

The Int64 value of argValue.

Remarks

Parses a file size of the form: number[KB|MB|GB] into a long value. It is scaled with the appropriate multiplier.

defaultValue is returned when argValue cannot be converted to a Int64 value.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.LevelSeverity.Severity.html0000644000175000017500000000361110412737532031711 0ustar slomoslomo Severity Property
log4net SDK Reference

RemoteSyslogAppender.LevelSeverity.Severity Property

The mapped syslog severity for the specified level

[Visual Basic]
Public Property Severity As SyslogSeverity
[C#]
public RemoteSyslogAppender.SyslogSeverity Severity {get; set;}

Remarks

Required property. The mapped syslog severity for the specified level

See Also

RemoteSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandlerMethods.html0000644000175000017500000001157610412737562025741 0ustar slomoslomo OnlyOnceErrorHandler Methods
log4net SDK Reference

OnlyOnceErrorHandler Methods

The methods of the OnlyOnceErrorHandler class are listed below. For a complete list of OnlyOnceErrorHandler class members, see the OnlyOnceErrorHandler Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ErrorOverloaded. Log an error
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/treenodeplus.gif0000644000175000017500000000007310412737566020374 0ustar slomoslomoGIF89a ‘þþþ‚‚‚, Œ  ¶²œ‚ʉ{[xqÏÎtR;log4net-1.2.10/doc/release/sdk/log4net.Layout.SimpleLayout.Format.html0000644000175000017500000000545710412737552024575 0ustar slomoslomo SimpleLayout.Format Method
log4net SDK Reference

SimpleLayout.Format Method 

Produces a simple formatted output.

[Visual Basic]
Overrides Public Sub Format( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
) _
    Implements ILayout.Format
[C#]
public override void Format(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
the event being logged

Implements

ILayout.Format

Remarks

Formats the event as the level of the even, followed by " - " and then the log message itself. The output is terminated by a newline.

See Also

SimpleLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeleton.IgnoresException.html0000644000175000017500000000524610412737550027157 0ustar slomoslomo IgnoresException Property
log4net SDK Reference

LayoutSkeleton.IgnoresException Property

Flag indicating if this layout handles exceptions

[Visual Basic]
Overridable Public Property IgnoresException As Boolean _
    Implements ILayout.IgnoresException
[C#]
public virtual bool IgnoresException {get; set;}

Property Value

false if this layout handles exceptions

Implements

ILayout.IgnoresException

Remarks

If this layout handles the exception object contained within LoggingEvent, then the layout should return false. Otherwise, if the layout ignores the exception object, then the layout should return true.

Set this value to override a this default setting. The default value is true, this layout does not handle the exception.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBaseConstructor1.html0000644000175000017500000000341010412737552025762 0ustar slomoslomo XmlLayoutBase Constructor ()
log4net SDK Reference

XmlLayoutBase Constructor ()

Protected constructor to support subclasses

[Visual Basic]
Overloads Protected Sub New()
[C#]
protected XmlLayoutBase();

Remarks

Initializes a new instance of the XmlLayoutBase class with no location info.

See Also

XmlLayoutBase Class | log4net.Layout Namespace | XmlLayoutBase Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverter.IgnoresException.html0000644000175000017500000000500410412737552032306 0ustar slomoslomo IgnoresException Property
log4net SDK Reference

PatternLayoutConverter.IgnoresException Property

Flag indicating if this converter handles the logging event exception

[Visual Basic]
Overridable Public Property IgnoresException As Boolean
[C#]
public virtual bool IgnoresException {get; set;}

Property Value

false if this converter handles the logging event exception

Remarks

If this converter handles the exception object contained within LoggingEvent, then this property should be set to false. Otherwise, if the layout ignores the exception object, then the property should be set to true.

Set this value to override a this default setting. The default value is true, this converter does not handle the exception.

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.FormattingInfo.html0000644000175000017500000000357610412737562026612 0ustar slomoslomo FormattingInfo Property
log4net SDK Reference

PatternConverter.FormattingInfo Property

Gets or sets the formatting info for this converter

[Visual Basic]
Overridable Public Property FormattingInfo As FormattingInfo
[C#]
public virtual FormattingInfo FormattingInfo {get; set;}

Property Value

The formatting info for this converter

Remarks

Gets or sets the formatting info for this converter

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfoConstructor.html0000644000175000017500000000331310412737560025537 0ustar slomoslomo FormattingInfo Constructor
log4net SDK Reference

FormattingInfo Constructor

Defaut Constructor

Overload List

Defaut Constructor

public FormattingInfo();

Constructor

public FormattingInfo(int,int,bool);

See Also

FormattingInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IAppender.html0000644000175000017500000002514510412737530023037 0ustar slomoslomo IAppender Interface
log4net SDK Reference

IAppender Interface

Implement this interface for your own strategies for printing log statements.

For a list of all members of this type, see IAppender Members.

log4net.Appender.IAppender
   log4net.Appender.IBulkAppender

[Visual Basic]
Public Interface IAppender
[C#]
public interface IAppender

Types that implement IAppender

Type Description
AdoNetAppender Appender that logs to a database.
AnsiColorTerminalAppender Appends logging events to the terminal using ANSI color escape sequences.
AppenderSkeleton Abstract base class implementation of IAppender.
AspNetTraceAppender

Appends log events to the ASP.NET TraceContext system.

BufferingAppenderSkeleton Abstract base class implementation of IAppender that buffers events in a fixed size buffer.
BufferingForwardingAppender Buffers events and then forwards them to attached appenders.
ColoredConsoleAppender Appends logging events to the console.
ConsoleAppender Appends logging events to the console.
DebugAppender Appends log events to the Debug system.
EventLogAppender Writes events to the system event log.
FileAppender Appends logging events to a file.
ForwardingAppender This appender forwards logging events to attached appenders.
LocalSyslogAppender Logs events to a local syslog service.
MemoryAppender Stores logging events in an array.
NetSendAppender Logs entries by sending network messages using the NetMessageBufferSend native function.
OutputDebugStringAppender Appends log events to the OutputDebugString system.
RemoteSyslogAppender Logs events to a remote syslog daemon.
RemotingAppender Delivers logging events to a remote logging sink.
RollingFileAppender Appender that rolls log files based on size or date or both.
SmtpAppender Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
SmtpPickupDirAppender Send an email when a specific logging event occurs, typically on errors or fatal errors. Rather than sending via smtp it writes a file into the directory specified by PickupDir. This allows services such as the IIS SMTP agent to manage sending the messages.
TelnetAppender Appender that allows clients to connect via Telnet to receive log messages
TextWriterAppender Sends logging events to a TextWriter.
TraceAppender Appends log events to the Trace system.
UdpAppender Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using an UdpClient.

Remarks

Implementors should consider extending the AppenderSkeleton class which provides a default implementation of this interface.

Appenders can also implement the IOptionHandler interface. Therefore they would require that the ActivateOptions method be called after the appenders properties have been configured.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

IAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Insert.html0000644000175000017500000000704310412737554025410 0ustar slomoslomo PluginCollection.Insert Method
log4net SDK Reference

PluginCollection.Insert Method 

Inserts an element into the PluginCollection at the specified index.

[Visual Basic]
Overridable Public Sub Insert( _
   ByVal index As Integer, _
   ByVal item As IPlugin _
)
[C#]
public virtual void Insert(
   int index,
   IPlugin item
);

Parameters

index
The zero-based index at which item should be inserted.
item
The IPlugin to insert.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.Insert(System.Int32,log4net.Plugin.IPlugin)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumeratorMembers.html0000644000175000017500000001245510412737562026671 0ustar slomoslomo NullDictionaryEnumerator Members
log4net SDK Reference

NullDictionaryEnumerator Members

NullDictionaryEnumerator overview

Public Static (Shared) Properties

Instance Gets the singleton instance of the NullDictionaryEnumerator.

Public Instance Properties

Current Gets the current object from the enumerator.
Entry Gets the current entry from the enumerator.
Key Gets the current key from the enumerator.
Value Gets the current value from the enumerator.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
MoveNext Test if the enumerator can advance, if so advance.
Reset Resets the enumerator back to the start.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.WriteDictionary.html0000644000175000017500000000721610412737562026777 0ustar slomoslomo PatternConverter.WriteDictionary Method
log4net SDK Reference

PatternConverter.WriteDictionary Method 

Write an dictionary to a TextWriter

[Visual Basic]
Protected Shared Sub WriteDictionary( _
   ByVal writer As TextWriter, _
   ByVal repository As ILoggerRepository, _
   ByVal value As IDictionary _
)
[C#]
protected static void WriteDictionary(
   TextWriter writer,
   ILoggerRepository repository,
   IDictionary value
);

Parameters

writer
the writer to write to
repository
a ILoggerRepository to use for object conversion
value
the value to write to the writer

Remarks

Writes the IDictionary to a writer in the form:

{key1=value1, key2=value2, key3=value3}

If the ILoggerRepository specified is not null then it is used to render the key and value to text, otherwise the object's ToString method is called.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.Transform.MaskXmlInvalidCharacters.html0000644000175000017500000000621610412737564027211 0ustar slomoslomo Transform.MaskXmlInvalidCharacters Method
log4net SDK Reference

Transform.MaskXmlInvalidCharacters Method 

Replace invalid XML characters in text string

[Visual Basic]
Public Shared Function MaskXmlInvalidCharacters( _
   ByVal textData As String, _
   ByVal mask As String _
) As String
[C#]
public static string MaskXmlInvalidCharacters(
   string textData,
   string mask
);

Parameters

textData
the XML text input string
mask
the string to use in place of invalid characters

Return Value

A string that does not contain invalid XML characters.

Remarks

Certain Unicode code points are not allowed in the XML InfoSet, for details see: http://www.w3.org/TR/REC-xml/#charsets.

This method replaces any illegal characters in the input string with the mask string specified.

See Also

Transform Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilterMethods.html0000644000175000017500000001215110412737550025567 0ustar slomoslomo StringMatchFilter Methods
log4net SDK Reference

StringMatchFilter Methods

The methods of the StringMatchFilter class are listed below. For a complete list of StringMatchFilter class members, see the StringMatchFilter Members topic.

Public Instance Methods

ActivateOptions Initialize and precompile the Regex if required
Decide Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.LevelSeverityConstructor.html0000644000175000017500000000336710412737530032153 0ustar slomoslomo LocalSyslogAppender.LevelSeverity Constructor
log4net SDK Reference

LocalSyslogAppender.LevelSeverity Constructor 

Initializes a new instance of the LocalSyslogAppender.LevelSeverity class.

[Visual Basic]
Public Sub New()
[C#]
public LocalSyslogAppender.LevelSeverity();

See Also

LocalSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawLayoutConverter.CanConvertFrom.html0000644000175000017500000000610210412737552027407 0ustar slomoslomo RawLayoutConverter.CanConvertFrom Method
log4net SDK Reference

RawLayoutConverter.CanConvertFrom Method 

Can the sourceType be converted to an IRawLayout

[Visual Basic]
NotOverridable Public Function CanConvertFrom( _
   ByVal sourceType As Type _
) As Boolean _
    Implements IConvertFrom.CanConvertFrom
[C#]
public bool CanConvertFrom(
   Type sourceType
);

Parameters

sourceType
the source to be to be converted

Return Value

true if the source type can be converted to IRawLayout

Implements

IConvertFrom.CanConvertFrom

Remarks

Test if the sourceType can be converted to a IRawLayout. Only ILayout is supported as the sourceType.

See Also

RawLayoutConverter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasDomainAttribute.html0000644000175000017500000000715010412737536024706 0ustar slomoslomo AliasDomainAttribute Class
log4net SDK Reference

AliasDomainAttribute Class

NOTE: This class is now obsolete.

Use AliasRepositoryAttribute instead of AliasDomainAttribute


Assembly level attribute that specifies a domain to alias to this assembly's repository.

For a list of all members of this type, see AliasDomainAttribute Members.

System.Object
   System.Attribute
      log4net.Config.AliasRepositoryAttribute
         log4net.Config.AliasDomainAttribute

[Visual Basic]
NotInheritable Public Class AliasDomainAttribute
    Inherits AliasRepositoryAttribute
[C#]
public sealed class AliasDomainAttribute : AliasRepositoryAttribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.

An assembly's logger repository is defined by its DomainAttribute, however this can be overridden by an assembly loaded before the target assembly.

An assembly can alias another assembly's domain to its repository by specifying this attribute with the name of the target domain.

This attribute can only be specified on the assembly and may be used as many times as necessary to alias all the required domains.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

AliasDomainAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeletonProperties.html0000644000175000017500000000641710412737554030721 0ustar slomoslomo LoggerRepositorySkeleton Properties
log4net SDK Reference

LoggerRepositorySkeleton Properties

The properties of the LoggerRepositorySkeleton class are listed below. For a complete list of LoggerRepositorySkeleton class members, see the LoggerRepositorySkeleton Members topic.

Public Instance Properties

Configured Flag indicates if this repository has been configured.
LevelMap Get the level map for the Repository.
Name The name of the repository
PluginMap The plugin map for this repository.
Properties Repository specific properties
RendererMap RendererMap accesses the object renderer map for this repository.
Threshold The threshold for all events in this repository

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ShutdownRepository_overloads.html0000644000175000017500000000403210412737520027426 0ustar slomoslomo ShutdownRepository Method
log4net SDK Reference

LogManager.ShutdownRepository Method

Shutdown a logger repository.

Overload List

Shuts down the default repository.

public static void ShutdownRepository();

Shuts down the repository specified.

public static void ShutdownRepository(Assembly);

Shuts down the repository for the repository specified.

public static void ShutdownRepository(string);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.FatalFormat_overload_4.html0000644000175000017500000000662410412737516024607 0ustar slomoslomo ILog.FatalFormat Method (String, Object)
log4net SDK Reference

ILog.FatalFormat Method (String, Object)

Logs a formatted message string with the Fatal level.

[Visual Basic]
Sub FatalFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
)
[C#]
void FatalFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

ILog Interface | log4net Namespace | ILog.FatalFormat Overload List | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Filter.PropertyFilterMethods.html0000644000175000017500000001217010412737550025171 0ustar slomoslomo PropertyFilter Methods
log4net SDK Reference

PropertyFilter Methods

The methods of the PropertyFilter class are listed below. For a complete list of PropertyFilter class members, see the PropertyFilter Members topic.

Public Instance Methods

ActivateOptions (inherited from StringMatchFilter) Initialize and precompile the Regex if required
Decide Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PropertyFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderConstructor.html0000644000175000017500000000514210412737524030025 0ustar slomoslomo ColoredConsoleAppender Constructor
log4net SDK Reference

ColoredConsoleAppender Constructor

Initializes a new instance of the ColoredConsoleAppender class.

Overload List

Initializes a new instance of the ColoredConsoleAppender class.

public ColoredConsoleAppender();

Obsolete. Initializes a new instance of the ColoredConsoleAppender class with the specified layout.

public ColoredConsoleAppender(ILayout);

Obsolete. Initializes a new instance of the ColoredConsoleAppender class with the specified layout.

public ColoredConsoleAppender(ILayout,bool);

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.ApplicationBaseDirectory.html0000644000175000017500000000473410412737564027401 0ustar slomoslomo ApplicationBaseDirectory Property
log4net SDK Reference

SystemInfo.ApplicationBaseDirectory Property

Gets the base directory for this AppDomain.

[Visual Basic]
Public Shared ReadOnly Property ApplicationBaseDirectory As String
[C#]
public static string ApplicationBaseDirectory {get;}

Property Value

The base directory path for the current AppDomain.

Remarks

Gets the base directory for this AppDomain.

The value returned may be either a local file path or a URI.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.SyslogSeverity.html0000644000175000017500000000555010412737530030112 0ustar slomoslomo LocalSyslogAppender.SyslogSeverity Enumeration
log4net SDK Reference

LocalSyslogAppender.SyslogSeverity Enumeration

syslog severities

[Visual Basic]
Public Enum LocalSyslogAppender.SyslogSeverity
[C#]
public enum LocalSyslogAppender.SyslogSeverity

Remarks

The log4net Level maps to a syslog severity using the AddMapping method and the LocalSyslogAppender.LevelSeverity class. The severity is set on Severity.

Members

Member NameDescription
Emergency system is unusable
Alert action must be taken immediately
Critical critical conditions
Error error conditions
Warning warning conditions
Notice normal but significant condition
Informational informational
Debug debug-level messages

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppender.ImmediateFlush.html0000644000175000017500000000470610412737524026577 0ustar slomoslomo ImmediateFlush Property
log4net SDK Reference

DebugAppender.ImmediateFlush Property

Gets or sets a value that indicates whether the appender will flush at the end of each write.

[Visual Basic]
Public Property ImmediateFlush As Boolean
[C#]
public bool ImmediateFlush {get; set;}

Remarks

The default behavior is to flush at the end of each write. If the option is set tofalse, then the underlying stream can defer writing to physical medium to a later time.

Avoiding the flush operation at the end of each append results in a performance gain of 10 to 20 percent. However, there is safety trade-off involved in skipping flushing. Indeed, when flushing is skipped, then it is likely that the last few log events will not be recorded on disk when the application exits. This is a high price to pay even for a 20% performance gain.

See Also

DebugAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overloads.html0000644000175000017500000000434410412737556027551 0ustar slomoslomo Log Method
log4net SDK Reference

Logger.Log Method

This is the most generic printing method. This generic form is intended to be used by wrappers

Overload List

This is the most generic printing method. This generic form is intended to be used by wrappers

public virtual void Log(Level,object,Exception);

This is the most generic printing method that is intended to be used by wrappers.

public virtual void Log(LoggingEvent);

This generic form is intended to be used by wrappers.

public virtual void Log(Type,Level,object,Exception);

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerRepositoryCreationEventHandler.html0000644000175000017500000000565310412737544027635 0ustar slomoslomo LoggerRepositoryCreationEventHandler Delegate
log4net SDK Reference

LoggerRepositoryCreationEventHandler Delegate

Delegate used to handle logger repository creation event notifications

[Visual Basic]
Public Delegate Sub LoggerRepositoryCreationEventHandler( _
   ByVal sender As Object, _
   ByVal e As LoggerRepositoryCreationEventArgs _
)
[C#]
public delegate void LoggerRepositoryCreationEventHandler(
   object sender,
   LoggerRepositoryCreationEventArgs e
);

Parameters

sender
The IRepositorySelector which created the repository.
e
The LoggerRepositoryCreationEventArgs event args that holds the ILoggerRepository instance that has been created.

Remarks

Delegate used to handle logger repository creation event notifications.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_3.html0000644000175000017500000000463710412737540030023 0ustar slomoslomo XmlConfigurator.Configure Method (XmlElement)
log4net SDK Reference

XmlConfigurator.Configure Method (XmlElement)

Configures log4net using a log4net element

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal element As XmlElement _
)
[C#]
public static void Configure(
   XmlElement element
);

Parameters

element
The element to parse.

Remarks

Loads the log4net configuration from the XML element supplied as element.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppenderMethods.html0000644000175000017500000003233710412737532026404 0ustar slomoslomo RollingFileAppender Methods
log4net SDK Reference

RollingFileAppender Methods

The methods of the RollingFileAppender class are listed below. For a complete list of RollingFileAppender class members, see the RollingFileAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

AdjustFileBeforeAppend Performs any required rolling before outputting the next event
AppendOverloaded. Write out an array of logging events.
CloseFile (inherited from FileAppender) Closes the previously opened file.
CloseWriter (inherited from FileAppender) Closes the underlying TextWriter.
DeleteFile Deletes the specified file if it exists.
ExistingInit Initializes based on existing conditions at time of ActivateOptions.
FileExists Test if a file exists at a specified path
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetNextOutputFileName Get the current output file name
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
NextCheckDate Get the start time of the next window for the current rollpoint
OnClose (inherited from TextWriterAppender) Close this appender instance. The underlying stream or writer is also closed.
OpenFile Creates and opens the file for logging. If StaticLogFileName is false then the fully qualified name is determined and used.
PreAppendCheck (inherited from TextWriterAppender) This method determines if there is a sense in attempting to append.
PrepareWriter (inherited from FileAppender) Called to initialize the file writer
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
Reset (inherited from FileAppender) Closes any previously opened file and calls the parent's Reset.
RollFile Renames file fromFile to file toFile.
RollOverRenameFiles Implements file roll.
RollOverSize Implements file roll base on file size.
RollOverTime Rollover the file(s) to date/time tagged file(s).
SafeOpenFile (inherited from FileAppender) Sets and opens the file where the log output will go. The specified file must be writable.
SetQWForFilesOverloaded. Sets the quiet writer being used.
SetQWForFiles (inherited from FileAppender)Overloaded. Sets the quiet writer being used.
WriteFooter (inherited from FileAppender) Writes a footer as produced by the embedded layout's Footer property.
WriteFooterAndCloseWriter (inherited from TextWriterAppender) Writes the footer and closes the underlying TextWriter.
WriteHeader (inherited from FileAppender) Writes a header produced by the embedded layout's Header property.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReusableStringWriter.Reset.html0000644000175000017500000000530410412737564025560 0ustar slomoslomo ReusableStringWriter.Reset Method
log4net SDK Reference

ReusableStringWriter.Reset Method 

Reset this string writer so that it can be reused.

[Visual Basic]
Public Sub Reset( _
   ByVal maxCapacity As Integer, _
   ByVal defaultSize As Integer _
)
[C#]
public void Reset(
   int maxCapacity,
   int defaultSize
);

Parameters

maxCapacity
the maximum buffer capacity before it is trimmed
defaultSize
the default size to make the buffer

Remarks

Reset this string writer so that it can be reused. The internal buffers are cleared and reset.

See Also

ReusableStringWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMapProperties.html0000644000175000017500000000400310412737542024075 0ustar slomoslomo LevelMap Properties
log4net SDK Reference

LevelMap Properties

The properties of the LevelMap class are listed below. For a complete list of LevelMap class members, see the LevelMap Members topic.

Public Instance Properties

AllLevels Return all possible levels as a list of Level objects.
Item Lookup a Level by name

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.DenyAllFilterConstructor.html0000644000175000017500000000330310412737546025622 0ustar slomoslomo DenyAllFilter Constructor
log4net SDK Reference

DenyAllFilter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public DenyAllFilter();

Remarks

Missing <remarks> documentation for M:log4net.Filter.DenyAllFilter.#ctor

See Also

DenyAllFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.SetMaxDepth.html0000644000175000017500000000546510412737520022226 0ustar slomoslomo NDC.SetMaxDepth Method
log4net SDK Reference

NDC.SetMaxDepth Method 

Forces the stack depth to be at most maxDepth.

[Visual Basic]
Public Shared Sub SetMaxDepth( _
   ByVal maxDepth As Integer _
)
[C#]
public static void SetMaxDepth(
   int maxDepth
);

Parameters

maxDepth
The maximum depth of the stack

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

Forces the stack depth to be at most maxDepth. This may truncate the head of the stack. This only affects the stack in the current thread. Also it does not prevent it from growing, it only sets the maximum depth at the time of the call. This can be used to return to a known context depth.

See Also

NDC Class | log4net Namespace


././@LongLink0000000000000000000000000000015600000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFro0000644000175000017500000000737410412737556032561 0ustar slomoslomo XmlHierarchyConfigurator.CreateObjectFromXml Method
log4net SDK Reference

XmlHierarchyConfigurator.CreateObjectFromXml Method 

Creates an object as specified in XML.

[Visual Basic]
Protected Function CreateObjectFromXml( _
   ByVal element As XmlElement, _
   ByVal defaultTargetType As Type, _
   ByVal typeConstraint As Type _
) As Object
[C#]
protected object CreateObjectFromXml(
   XmlElement element,
   Type defaultTargetType,
   Type typeConstraint
);

Parameters

element
The XML element that contains the definition of the object.
defaultTargetType
The object type to use if not explicitly specified.
typeConstraint
The type that the returned object must be or must inherit from.

Return Value

The object or null

Remarks

Parse an XML element and create an object instance based on the configuration data.

The type of the instance may be specified in the XML. If not specified then the defaultTargetType is used as the type. However the type is specified it must support the typeConstraint type.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppenderConstructor2.html0000644000175000017500000000635710412737534027330 0ustar slomoslomo TextWriterAppender Constructor (ILayout, Stream)
log4net SDK Reference

TextWriterAppender Constructor (ILayout, Stream)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout & Writer properties


Initializes a new instance of the TextWriterAppender class and sets the output destination to a new StreamWriter initialized with the specified Stream.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal os As Stream _
)
[C#]
public TextWriterAppender(
   ILayout layout,
   Stream os
);

Parameters

layout
The layout to use with this appender.
os
The Stream to output to.

Remarks

Obsolete constructor.

See Also

TextWriterAppender Class | log4net.Appender Namespace | TextWriterAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.CommandText.html0000644000175000017500000000443610412737520026242 0ustar slomoslomo CommandText Property
log4net SDK Reference

AdoNetAppender.CommandText Property

Gets or sets the command text that is used to insert logging events into the database.

[Visual Basic]
Public Property CommandText As String
[C#]
public string CommandText {get; set;}

Property Value

The command text used to insert logging events into the database.

Remarks

Either the text of the prepared statement or the name of the stored procedure to execute to write into the database.

The CommandType property determines if this text is a prepared statement or a stored procedure.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPluginFactoryMethods.html0000644000175000017500000000353110412737552025112 0ustar slomoslomo IPluginFactory Methods
log4net SDK Reference

IPluginFactory Methods

The methods of the IPluginFactory interface are listed below. For a complete list of IPluginFactory interface members, see the IPluginFactory Members topic.

Public Instance Methods

CreatePlugin Creates the plugin object.

See Also

IPluginFactory Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyProperties.html0000644000175000017500000001036710412737556027531 0ustar slomoslomo Hierarchy Properties
log4net SDK Reference

Hierarchy Properties

The properties of the Hierarchy class are listed below. For a complete list of Hierarchy class members, see the Hierarchy Members topic.

Public Instance Properties

Configured (inherited from LoggerRepositorySkeleton) Flag indicates if this repository has been configured.
EmittedNoAppenderWarning Has no appender warning been emitted
LevelMap (inherited from LoggerRepositorySkeleton) Get the level map for the Repository.
LoggerFactory Gets or sets the default ILoggerFactory instance.
Name (inherited from LoggerRepositorySkeleton) The name of the repository
PluginMap (inherited from LoggerRepositorySkeleton) The plugin map for this repository.
Properties (inherited from LoggerRepositorySkeleton) Repository specific properties
RendererMap (inherited from LoggerRepositorySkeleton) RendererMap accesses the object renderer map for this repository.
Root Get the root of this hierarchy
Threshold (inherited from LoggerRepositorySkeleton) The threshold for all events in this repository

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.GetEntryType.html0000644000175000017500000000625410412737526027001 0ustar slomoslomo EventLogAppender.GetEntryType Method
log4net SDK Reference

EventLogAppender.GetEntryType Method 

Get the equivalent EventLogEntryType for a Level p

[Visual Basic]
Overridable Protected Function GetEntryType( _
   ByVal level As Level _
) As EventLogEntryType
[C#]
protected virtual EventLogEntryType GetEntryType(
   Level level
);

Parameters

level
the Level to convert to an EventLogEntryType

Return Value

The equivalent EventLogEntryType for a Level p

Remarks

Because there are fewer applicable EventLogEntryType values to use in logging levels than there are in the Level this is a one way mapping. There is a loss of information during the conversion.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelectorMethods.html0000644000175000017500000001446210412737540027034 0ustar slomoslomo DefaultRepositorySelector Methods
log4net SDK Reference

DefaultRepositorySelector Methods

The methods of the DefaultRepositorySelector class are listed below. For a complete list of DefaultRepositorySelector class members, see the DefaultRepositorySelector Members topic.

Public Instance Methods

AliasRepository Aliases a repository to an existing repository.
CreateRepositoryOverloaded. Creates a new repository for the specified repository.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ExistsRepository Test if a named repository exists
GetAllRepositories Gets a list of ILoggerRepository objects
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRepositoryOverloaded. Gets the ILoggerRepository for the specified repository.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnLoggerRepositoryCreatedEvent Notifies the registered listeners that the repository has been created.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent0000644000175000017500000000455010412737540032647 0ustar slomoslomo DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent Method
log4net SDK Reference

DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent Method 

Notifies the registered listeners that the repository has been created.

[Visual Basic]
Overridable Protected Sub OnLoggerRepositoryCreatedEvent( _
   ByVal repository As ILoggerRepository _
)
[C#]
protected virtual void OnLoggerRepositoryCreatedEvent(
   ILoggerRepository repository
);

Parameters

repository
The repository that has been created.

Remarks

Raises the LoggerRepositoryCreatedEvent event.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilter.AcceptOnMatch.html0000644000175000017500000000462010412737550026666 0ustar slomoslomo AcceptOnMatch Property
log4net SDK Reference

LoggerMatchFilter.AcceptOnMatch Property

Accept when matching LoggerToMatch

[Visual Basic]
Public Property AcceptOnMatch As Boolean
[C#]
public bool AcceptOnMatch {get; set;}

Remarks

The AcceptOnMatch property is a flag that determines the behavior when a matching Level is found. If the flag is set to true then the filter will Accept the logging event, otherwise it will Deny the event.

The default is true i.e. to Accept the event.

See Also

LoggerMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawLayoutConverterConstructor.html0000644000175000017500000000320610412737552026772 0ustar slomoslomo RawLayoutConverter Constructor
log4net SDK Reference

RawLayoutConverter Constructor 

Initializes a new instance of the RawLayoutConverter class.

[Visual Basic]
Public Sub New()
[C#]
public RawLayoutConverter();

See Also

RawLayoutConverter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetRepository_overload_3.html0000644000175000017500000000535110412737520026376 0ustar slomoslomo LogManager.GetRepository Method (Assembly)
log4net SDK Reference

LogManager.GetRepository Method (Assembly)

Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetRepository( _
   ByVal repositoryAssembly As Assembly _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetRepository(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Return Value

The default ILoggerRepository instance.

Remarks

Gets the ILoggerRepository for the repository specified by the repositoryAssembly argument.

See Also

LogManager Class | log4net Namespace | LogManager.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.WriteObject.html0000644000175000017500000000651110412737562026075 0ustar slomoslomo PatternConverter.WriteObject Method
log4net SDK Reference

PatternConverter.WriteObject Method 

Write an object to a TextWriter

[Visual Basic]
Protected Shared Sub WriteObject( _
   ByVal writer As TextWriter, _
   ByVal repository As ILoggerRepository, _
   ByVal value As Object _
)
[C#]
protected static void WriteObject(
   TextWriter writer,
   ILoggerRepository repository,
   object value
);

Parameters

writer
the writer to write to
repository
a ILoggerRepository to use for object conversion
value
the value to write to the writer

Remarks

Writes the Object to a writer. If the ILoggerRepository specified is not null then it is used to render the object to text, otherwise the object's ToString method is called.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMembers.html0000644000175000017500000002617110412737542022707 0ustar slomoslomo Level Members
log4net SDK Reference

Level Members

Level overview

Public Static (Shared) Fields

Alert The Alert level designates very severe error events. Take immediate action, alerts.
All The All level designates the lowest level possible.
Critical The Critical level designates very severe error events. Critical condition, critical.
Debug The Debug level designates fine-grained informational events that are most useful to debug an application.
Emergency The Emergency level designates very severe error events. System unusable, emergencies.
Error The Error level designates error events that might still allow the application to continue running.
Fatal The Fatal level designates very severe error events that will presumably lead the application to abort.
Fine The Fine level designates fine-grained informational events that are most useful to debug an application.
Finer The Finer level designates fine-grained informational events that are most useful to debug an application.
Finest The Finest level designates fine-grained informational events that are most useful to debug an application.
Info The Info level designates informational messages that highlight the progress of the application at coarse-grained level.
Notice The Notice level designates informational messages that highlight the progress of the application at the highest level.
Off The Off level designates a higher level than all the rest.
Severe The Severe level designates very severe error events.
Trace The Trace level designates fine-grained informational events that are most useful to debug an application.
Verbose The Verbose level designates fine-grained informational events that are most useful to debug an application.
Warn The Warn level designates potentially harmful situations.

Public Static (Shared) Methods

Compare Compares two specified Level instances.

Public Static (Shared) Operators

Equality Operator Returns a value indicating whether two specified Level objects have the same value.
Greater Than Operator Returns a value indicating whether a specified Level is greater than another specified Level.
Greater Than Or Equal Operator Returns a value indicating whether a specified Level is greater than or equal to another specified Level.
Inequality Operator Returns a value indicating whether two specified Level objects have different values.
Less Than Operator Returns a value indicating whether a specified Level is less than another specified Level.
Less Than Or Equal Operator Returns a value indicating whether a specified Level is less than or equal to another specified Level.

Public Instance Constructors

Level Overloaded. Initializes a new instance of the Level class.

Public Instance Properties

DisplayName Gets the display name of this level.
Name Gets the name of this level.
Value Gets the value of this level.

Public Instance Methods

CompareTo Compares this instance to a specified object and returns an indication of their relative values.
Equals Compares levels.
GetHashCode Returns a hash code
GetType (inherited from Object) Gets the Type of the current instance.
ToString Returns the String representation of the current Level.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning.html0000644000175000017500000000375110412737556032347 0ustar slomoslomo EmittedNoAppenderWarning Property
log4net SDK Reference

Hierarchy.EmittedNoAppenderWarning Property

Has no appender warning been emitted

[Visual Basic]
Public Property EmittedNoAppenderWarning As Boolean
[C#]
public bool EmittedNoAppenderWarning {get; set;}

Remarks

Flag to indicate if we have already issued a warning about not having an appender warning.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyConstructor1.html0000644000175000017500000000336610412737556030004 0ustar slomoslomo Hierarchy Constructor ()
log4net SDK Reference

Hierarchy Constructor ()

Default constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public Hierarchy();

Remarks

Initializes a new instance of the Hierarchy class.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace | Hierarchy Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.ErrorFormat_overload_1.html0000644000175000017500000001042010412737546026236 0ustar slomoslomo LogImpl.ErrorFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

LogImpl.ErrorFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the ERROR level.

[Visual Basic]
Overridable Overloads Public Sub ErrorFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.ErrorFormat
[C#]
public virtual void ErrorFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.ErrorFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.ErrorFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStack.Clear.html0000644000175000017500000000465710412737564025152 0ustar slomoslomo ThreadContextStack.Clear Method
log4net SDK Reference

ThreadContextStack.Clear Method 

Clears all the contextual information held in this stack.

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

Clears all the contextual information held in this stack. Only call this if you think that this tread is being reused after a previous call execution which may not have completed correctly. You do not need to use this method if you always guarantee to call the Dispose method of the IDisposable returned from Push even in exceptional circumstances, for example by using the using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message")) syntax.

See Also

ThreadContextStack Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfoProperties.html0000644000175000017500000000434710412737560025356 0ustar slomoslomo FormattingInfo Properties
log4net SDK Reference

FormattingInfo Properties

The properties of the FormattingInfo class are listed below. For a complete list of FormattingInfo class members, see the FormattingInfo Members topic.

Public Instance Properties

LeftAlign Gets or sets a flag indicating whether left align is enabled or not.
Max Gets or sets the maximum value.
Min Gets or sets the minimum value.

See Also

FormattingInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.IsSynchronized.html0000644000175000017500000000507310412737554027120 0ustar slomoslomo IsSynchronized Property
log4net SDK Reference

PluginCollection.IsSynchronized Property

Gets a value indicating whether access to the collection is synchronized (thread-safe).

[Visual Basic]
Overridable Public ReadOnly Property IsSynchronized As Boolean _
    Implements ICollection.IsSynchronized
[C#]
public virtual bool IsSynchronized {get;}

Implements

ICollection.IsSynchronized

Remarks

Missing <remarks> documentation for P:log4net.Plugin.PluginCollection.IsSynchronized

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfo.LineNumber.html0000644000175000017500000000366010412737544024750 0ustar slomoslomo LineNumber Property
log4net SDK Reference

LocationInfo.LineNumber Property

Gets the line number of the caller.

[Visual Basic]
Public ReadOnly Property LineNumber As String
[C#]
public string LineNumber {get;}

Property Value

The line number of the caller.

Remarks

Gets the line number of the caller.

See Also

LocationInfo Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.RaiseConfigurationChanged.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.RaiseConfigurationChanged0000644000175000017500000000460210412737554032737 0ustar slomoslomo LoggerRepositorySkeleton.RaiseConfigurationChanged Method
log4net SDK Reference

LoggerRepositorySkeleton.RaiseConfigurationChanged Method 

Raise a configuration changed event on this repository

[Visual Basic]
Public Sub RaiseConfigurationChanged( _
   ByVal e As EventArgs _
)
[C#]
public void RaiseConfigurationChanged(
   EventArgs e
);

Parameters

e
EventArgs.Empty

Remarks

Applications that programmatically change the configuration of the repository should raise this event notification to notify listeners.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.GetNextOutputFileName.html0000644000175000017500000000546110412737532031255 0ustar slomoslomo RollingFileAppender.GetNextOutputFileName Method
log4net SDK Reference

RollingFileAppender.GetNextOutputFileName Method 

Get the current output file name

[Visual Basic]
Protected Function GetNextOutputFileName( _
   ByVal fileName As String _
) As String
[C#]
protected string GetNextOutputFileName(
   string fileName
);

Parameters

fileName
the base file name

Return Value

the output file name

Remarks

The output file name is based on the base fileName specified. If StaticLogFileName is set then the output file name is the same as the base file passed in. Otherwise the output file depends on the date pattern, on the count direction or both.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerWrapperImpl.html0000644000175000017500000000504610412737544023727 0ustar slomoslomo LoggerWrapperImpl Class
log4net SDK Reference

LoggerWrapperImpl Class

Implementation of the ILoggerWrapper interface.

For a list of all members of this type, see LoggerWrapperImpl Members.

System.Object
   log4net.Core.LoggerWrapperImpl
      log4net.Core.LogImpl

[Visual Basic]
MustInherit Public Class LoggerWrapperImpl
    Implements ILoggerWrapper
[C#]
public abstract class LoggerWrapperImpl : ILoggerWrapper

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class should be used as the base for all wrapper implementations.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LoggerWrapperImpl Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeletonConstructor2.html0000644000175000017500000000434510412737554031172 0ustar slomoslomo LoggerRepositorySkeleton Constructor (PropertiesDictionary)
log4net SDK Reference

LoggerRepositorySkeleton Constructor (PropertiesDictionary)

Construct the repository using specific properties

[Visual Basic]
Overloads Protected Sub New( _
   ByVal properties As PropertiesDictionary _
)
[C#]
protected LoggerRepositorySkeleton(
   PropertiesDictionary properties
);

Parameters

properties
the properties to set for this repository

Remarks

Initializes the repository with specified properties.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace | LoggerRepositorySkeleton Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.HostName.html0000644000175000017500000000446710412737564024177 0ustar slomoslomo HostName Property
log4net SDK Reference

SystemInfo.HostName Property

Get the host name or machine name for the current machine

[Visual Basic]
Public Shared ReadOnly Property HostName As String
[C#]
public static string HostName {get;}

Property Value

The hostname or machine name

Remarks

Get the host name or machine name for the current machine

The host name (GetHostName) or the machine name (Environment.MachineName) for the current machine, or if neither of these are available then NOT AVAILABLE is returned.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppender.Append_overload_2.html0000644000175000017500000000534510412737526027224 0ustar slomoslomo DebugAppender.Append Method (LoggingEvent)
log4net SDK Reference

DebugAppender.Append Method (LoggingEvent)

Writes the logging event to the Debug system.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the logging event to the Debug system. If ImmediateFlush is true then the Flush is called.

See Also

DebugAppender Class | log4net.Appender Namespace | DebugAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderMembers.html0000644000175000017500000002717310412737524027102 0ustar slomoslomo ColoredConsoleAppender Members
log4net SDK Reference

ColoredConsoleAppender Members

ColoredConsoleAppender overview

Public Static (Shared) Fields

ConsoleError The Target to use when writing to the Console standard error output stream.
ConsoleOut The Target to use when writing to the Console standard output stream.

Public Instance Constructors

ColoredConsoleAppender Overloaded. Initializes a new instance of the ColoredConsoleAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Target Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the options for this appender
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to color - done by the config file
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasRepositoryAttributeMembers.html0000644000175000017500000001501710412737536027172 0ustar slomoslomo AliasRepositoryAttribute Members
log4net SDK Reference

AliasRepositoryAttribute Members

AliasRepositoryAttribute overview

Public Instance Constructors

AliasRepositoryAttribute Constructor Initializes a new instance of the AliasRepositoryAttribute class with the specified repository to alias to this assembly's repository.

Public Instance Properties

Name Gets or sets the repository to alias to this assemby's repository.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AliasRepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.TypeConverterAttributeProperties.html0000644000175000017500000000456610412737566032131 0ustar slomoslomo TypeConverterAttribute Properties
log4net SDK Reference

TypeConverterAttribute Properties

The properties of the TypeConverterAttribute class are listed below. For a complete list of TypeConverterAttribute class members, see the TypeConverterAttribute Members topic.

Public Instance Properties

ConverterTypeName The string type name of the type converter
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

TypeConverterAttribute Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelectorMembers.html0000644000175000017500000001550110412737540027020 0ustar slomoslomo CompactRepositorySelector Members
log4net SDK Reference

CompactRepositorySelector Members

CompactRepositorySelector overview

Public Instance Constructors

CompactRepositorySelector Constructor Create a new repository selector

Public Instance Methods

CreateRepositoryOverloaded. Create a new repository for the repository specified
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ExistsRepository Test if a named repository exists
GetAllRepositories Gets a list of ILoggerRepository objects
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRepositoryOverloaded. Get the named ILoggerRepository
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

LoggerRepositoryCreatedEvent Event to notify that a logger repository has been created.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnLoggerRepositoryCreatedEvent Notify the registered listeners that the repository has been created

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeleton.Footer.html0000644000175000017500000000431210412737550025121 0ustar slomoslomo Footer Property
log4net SDK Reference

LayoutSkeleton.Footer Property

The footer for the layout format.

[Visual Basic]
Overridable Public Property Footer As String _
    Implements ILayout.Footer
[C#]
public virtual string Footer {get; set;}

Property Value

the layout footer

Implements

ILayout.Footer

Remarks

The Footer text will be appended after all the logging events have been formatted and appended.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ConverterInfo.Type.html0000644000175000017500000000370110412737562026654 0ustar slomoslomo Type Property
log4net SDK Reference

PatternString.ConverterInfo.Type Property

Gets or sets the type of the converter

[Visual Basic]
Public Property Type As Type
[C#]
public System.Type Type {get; set;}

Property Value

The type of the converter

Remarks

Gets or sets the type of the converter

See Also

PatternString.ConverterInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Warn_overload_2.html0000644000175000017500000000536110412737560024555 0ustar slomoslomo LogLog.Warn Method (String, Exception)
log4net SDK Reference

LogLog.Warn Method (String, Exception)

Writes log4net internal warning messages to the standard error stream.

[Visual Basic]
Overloads Public Shared Sub Warn( _
   ByVal message As String, _
   ByVal exception As Exception _
)
[C#]
public static void Warn(
   string message,
   Exception exception
);

Parameters

message
The message to log.
exception
An exception to log.

Remarks

All internal warning messages are prepended with the string "log4net:WARN ".

See Also

LogLog Class | log4net.Util Namespace | LogLog.Warn Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.Current.html0000644000175000017500000000722710412737562027000 0ustar slomoslomo Current Property
log4net SDK Reference

NullDictionaryEnumerator.Current Property

Gets the current object from the enumerator.

[Visual Basic]
NotOverridable Public ReadOnly Property Current As Object _
    Implements IEnumerator.Current
[C#]
public object Current {get;}

Implements

IEnumerator.Current

Remarks

Throws an InvalidOperationException because the NullDictionaryEnumerator never has a current value.

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore Current will throw an InvalidOperationException.

Exceptions

Exception Type Condition
InvalidOperationException The collection is empty and Current cannot be positioned over a valid location.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IOptionHandlerMethods.html0000644000175000017500000000360210412737542024522 0ustar slomoslomo IOptionHandler Methods
log4net SDK Reference

IOptionHandler Methods

The methods of the IOptionHandler interface are listed below. For a complete list of IOptionHandler interface members, see the IOptionHandler Members topic.

Public Instance Methods

ActivateOptions Activate the options that were previously set with calls to properties.

See Also

IOptionHandler Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.GetEvents.html0000644000175000017500000000346610412737530026024 0ustar slomoslomo MemoryAppender.GetEvents Method
log4net SDK Reference

MemoryAppender.GetEvents Method 

Gets the events that have been logged.

[Visual Basic]
Overridable Public Function GetEvents() As LoggingEvent()
[C#]
public virtual LoggingEvent[] GetEvents();

Return Value

The events that have been logged

Remarks

Gets the events that have been logged.

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverterProperties.html0000644000175000017500000000537110412737552031106 0ustar slomoslomo PatternLayoutConverter Properties
log4net SDK Reference

PatternLayoutConverter Properties

The properties of the PatternLayoutConverter class are listed below. For a complete list of PatternLayoutConverter class members, see the PatternLayoutConverter Members topic.

Public Instance Properties

FormattingInfo (inherited from PatternConverter) Gets or sets the formatting info for this converter
IgnoresException Flag indicating if this converter handles the logging event exception
Next (inherited from PatternConverter) Get the next pattern converter in the chain
Option (inherited from PatternConverter) Gets or sets the option value for this converter

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogicalThreadContext.html0000644000175000017500000000772010412737516023505 0ustar slomoslomo LogicalThreadContext Class
log4net SDK Reference

LogicalThreadContext Class

The log4net Logical Thread Context.

For a list of all members of this type, see LogicalThreadContext Members.

System.Object
   log4net.LogicalThreadContext

[Visual Basic]
NotInheritable Public Class LogicalThreadContext
[C#]
public sealed class LogicalThreadContext

Thread Safety

This type is safe for multithreaded operations.

Remarks

The LogicalThreadContext provides a location for CallContext specific debugging information to be stored. The LogicalThreadContext properties override any ThreadContext or GlobalContext properties with the same name.

The Logical Thread Context has a properties map and a stack. The properties and stack can be included in the output of log messages. The PatternLayout supports selecting and outputting these properties.

The Logical Thread Context provides a diagnostic context for the current call context. This is an instrument for distinguishing interleaved log output from different sources. Log output is typically interleaved when a server handles multiple clients near-simultaneously.

The Logical Thread Context is managed on a per CallContext basis.

Example

Example of using the thread context properties to store a username.

[C#]
LogicalThreadContext.Properties["user"] = userName;
log.Info("This log message has a LogicalThreadContext Property called 'user'");
Example of how to push a message into the context stack
[C#]
using(LogicalThreadContext.Stacks["LDC"].Push("my context message"))
{
    log.Info("This log message has a LogicalThreadContext Stack message that includes 'my context message'");

} // at the end of the using block the message is automatically popped 

Requirements

Namespace: log4net

Assembly: log4net (in log4net.dll)

See Also

LogicalThreadContext Members | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilterConstructor.html0000644000175000017500000000332510412737550026315 0ustar slomoslomo LevelMatchFilter Constructor
log4net SDK Reference

LevelMatchFilter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public LevelMatchFilter();

Remarks

Missing <remarks> documentation for M:log4net.Filter.LevelMatchFilter.#ctor

See Also

LevelMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/pubmethod.gif0000644000175000017500000000157110412737506017650 0ustar slomoslomoGIF89a÷ÿÿÿÿÿ€€ÈÈÈ/// ÿÿÿ!ù,@VH° @p`€08ð€‡)̨‘ G†x¢CŒ†\Èp‰cÊœÉPÀGŠOÚìhÑäÛ¾`@æ£4“j ;log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Error.html0000644000175000017500000000356410412737542022465 0ustar slomoslomo Level.Error Field
log4net SDK Reference

Level.Error Field

The Error level designates error events that might still allow the application to continue running.

[Visual Basic]
Public Shared ReadOnly Error As Level
[C#]
public static readonly Level Error;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Error

See Also

Level Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionMethods.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionMethods.ht0000644000175000017500000001433710412737564032740 0ustar slomoslomo ConversionNotSupportedException Methods
log4net SDK Reference

ConversionNotSupportedException Methods

The methods of the ConversionNotSupportedException class are listed below. For a complete list of ConversionNotSupportedException class members, see the ConversionNotSupportedException Members topic.

Public Static (Shared) Methods

CreateOverloaded. Creates a new instance of the ConversionNotSupportedException class.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBaseException (inherited from Exception) When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData (inherited from Exception) When overridden in a derived class, sets the SerializationInfo with information about the exception.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Exception) Creates and returns a string representation of the current exception.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeletonConstructor.html0000644000175000017500000000316010412737546026057 0ustar slomoslomo FilterSkeleton Constructor
log4net SDK Reference

FilterSkeleton Constructor 

Initializes a new instance of the FilterSkeleton class.

[Visual Basic]
Protected Sub New()
[C#]
protected FilterSkeleton();

See Also

FilterSkeleton Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.SecurityContext.html0000644000175000017500000000434210412737526027546 0ustar slomoslomo SecurityContext Property
log4net SDK Reference

EventLogAppender.SecurityContext Property

Gets or sets the SecurityContext used to write to the EventLog.

[Visual Basic]
Public Property SecurityContext As SecurityContext
[C#]
public log4net.Core.SecurityContext SecurityContext {get; set;}

Property Value

The SecurityContext used to write to the EventLog.

Remarks

The system security context used to write to the EventLog.

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Debug.html0000644000175000017500000000357310412737542022422 0ustar slomoslomo Level.Debug Field
log4net SDK Reference

Level.Debug Field

The Debug level designates fine-grained informational events that are most useful to debug an application.

[Visual Basic]
Public Shared ReadOnly Debug As Level
[C#]
public static readonly Level Debug;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Debug

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.ConnectionType.html0000644000175000017500000000675510412737520026766 0ustar slomoslomo ConnectionType Property
log4net SDK Reference

AdoNetAppender.ConnectionType Property

Gets or sets the type name of the IDbConnection connection that should be created.

[Visual Basic]
Public Property ConnectionType As String
[C#]
public string ConnectionType {get; set;}

Property Value

The type name of the IDbConnection connection.

Remarks

The type name of the ADO.NET provider to use.

The default is to use the OLE DB provider.

Example

Use the OLE DB Provider. This is the default value.

System.Data.OleDb.OleDbConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Use the MS SQL Server Provider.
System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Use the ODBC Provider.
Microsoft.Data.Odbc.OdbcConnection,Microsoft.Data.Odbc,version=1.0.3300.0,publicKeyToken=b77a5c561934e089,culture=neutral
This is an optional package that you can download from http://msdn.microsoft.com/downloads search for ODBC .NET Data Provider. Use the Oracle Provider.
System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
This is an optional package that you can download from http://msdn.microsoft.com/downloads search for .NET Managed Provider for Oracle.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.ConsoleError.html0000644000175000017500000000423510412737520030643 0ustar slomoslomo AnsiColorTerminalAppender.ConsoleError Field
log4net SDK Reference

AnsiColorTerminalAppender.ConsoleError Field

The Target to use when writing to the Console standard error output stream.

[Visual Basic]
Public Const ConsoleError As String = "Console.Error"
[C#]
public const string ConsoleError = "Console.Error";

Remarks

The Target to use when writing to the Console standard error output stream.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.ActivateOptions.html0000644000175000017500000000500110412737534027206 0ustar slomoslomo TelnetAppender.ActivateOptions Method
log4net SDK Reference

TelnetAppender.ActivateOptions Method 

Initialize the appender based on the options set.

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

Create the socket handler and wait for connections

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfoProperties.html0000644000175000017500000000521010412737542024755 0ustar slomoslomo LocationInfo Properties
log4net SDK Reference

LocationInfo Properties

The properties of the LocationInfo class are listed below. For a complete list of LocationInfo class members, see the LocationInfo Members topic.

Public Instance Properties

ClassName Gets the fully qualified class name of the caller making the logging request.
FileName Gets the file name of the caller.
FullInfo Gets all available caller information
LineNumber Gets the line number of the caller.
MethodName Gets the method name of the caller.

See Also

LocationInfo Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppender.ConsoleError.html0000644000175000017500000000414110412737524026660 0ustar slomoslomo ConsoleAppender.ConsoleError Field
log4net SDK Reference

ConsoleAppender.ConsoleError Field

The Target to use when writing to the Console standard error output stream.

[Visual Basic]
Public Const ConsoleError As String = "Console.Error"
[C#]
public const string ConsoleError = "Console.Error";

Remarks

The Target to use when writing to the Console standard error output stream.

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImplMethods.html0000644000175000017500000001617010412737544023214 0ustar slomoslomo LogImpl Methods
log4net SDK Reference

LogImpl Methods

The methods of the LogImpl class are listed below. For a complete list of LogImpl class members, see the LogImpl Members topic.

Public Instance Methods

DebugOverloaded. Logs a message object with the DEBUG level
DebugFormatOverloaded. Logs a formatted message string with the DEBUG level.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ErrorOverloaded. Logs a message object with the ERROR level
ErrorFormatOverloaded. Logs a formatted message string with the ERROR level.
FatalOverloaded. Logs a message object with the FATAL level
FatalFormatOverloaded. Logs a formatted message string with the FATAL level.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
InfoOverloaded. Logs a message object with the INFO level.
InfoFormatOverloaded. Logs a formatted message string with the INFO level.
ToString (inherited from Object) Returns a String that represents the current Object.
WarnOverloaded. Logs a message object with the WARN level
WarnFormatOverloaded. Logs a formatted message string with the WARN level.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
ReloadLevels Virtual method called when the configuration of the repository changes

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.Iso8601DateFormatterMethods.html0000644000175000017500000001240110412737546027250 0ustar slomoslomo Iso8601DateFormatter Methods
log4net SDK Reference

Iso8601DateFormatter Methods

The methods of the Iso8601DateFormatter class are listed below. For a complete list of Iso8601DateFormatter class members, see the Iso8601DateFormatter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate (inherited from AbsoluteTimeDateFormatter) Renders the date into a string. Format is "HH:mm:ss,fff".
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatDateWithoutMillis Formats the date without the milliseconds part
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Iso8601DateFormatter Class | log4net.DateFormatter Namespace


././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.DateTimeDateFormatter.FormatDateWithoutMillis.htmllog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.DateTimeDateFormatter.FormatDateWithoutMillis.h0000644000175000017500000000576310412737546032432 0ustar slomoslomo DateTimeDateFormatter.FormatDateWithoutMillis Method
log4net SDK Reference

DateTimeDateFormatter.FormatDateWithoutMillis Method 

Formats the date without the milliseconds part

[Visual Basic]
Overrides Protected Sub FormatDateWithoutMillis( _
   ByVal dateToFormat As Date, _
   ByVal buffer As StringBuilder _
)
[C#]
protected override void FormatDateWithoutMillis(
   DateTime dateToFormat,
   StringBuilder buffer
);

Parameters

dateToFormat
The date to format.
buffer
The string builder to write to.

Remarks

Formats a DateTime in the format "dd MMM yyyy HH:mm:ss" for example, "06 Nov 1994 15:49:37".

The base class will append the ",fff" milliseconds section. This method will only be called at most once per second.

See Also

DateTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.RootLogger.Level.html0000644000175000017500000000365510412737556026671 0ustar slomoslomo Level Property
log4net SDK Reference

RootLogger.Level Property

Gets or sets the assigned Level for the root logger.

[Visual Basic]
Overrides Public Property Level As Level
[C#]
public override log4net.Core.Level Level {get; set;}

Property Value

The Level of the root logger.

Remarks

Setting the level of the root logger to a null reference may have catastrophic results. We prevent this here.

See Also

RootLogger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.ConfigureAndWatch_overload_2.html0000644000175000017500000000766710412737536031326 0ustar slomoslomo DOMConfigurator.ConfigureAndWatch Method (ILoggerRepository, FileInfo)
log4net SDK Reference

DOMConfigurator.ConfigureAndWatch Method (ILoggerRepository, FileInfo)

NOTE: This method is now obsolete.

Use XmlConfigurator.ConfigureAndWatch instead of DOMConfigurator.ConfigureAndWatch


Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

[Visual Basic]
Overloads Public Shared Sub ConfigureAndWatch( _
   ByVal repository As ILoggerRepository, _
   ByVal configFile As FileInfo _
)
[C#]
public static void ConfigureAndWatch(
   ILoggerRepository repository,
   FileInfo configFile
);

Parameters

repository
The repository to configure.
configFile
The XML file to load the configuration from.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

The configuration file must be valid XML. It must contain at least one element called log4net that holds the configuration data.

The configuration file will be monitored using a FileSystemWatcher and depends on the behavior of that class.

For more information on how to configure log4net using a separate configuration file, see Configure.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.ConfigureAndWatch Overload List | Configure


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertToMethods.html0000644000175000017500000000424010412737566026724 0ustar slomoslomo IConvertTo Methods
log4net SDK Reference

IConvertTo Methods

The methods of the IConvertTo interface are listed below. For a complete list of IConvertTo interface members, see the IConvertTo Members topic.

Public Instance Methods

CanConvertTo Returns whether this converter can convert the object to the specified type
ConvertTo Converts the given value object to the specified type, using the arguments

See Also

IConvertTo Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.html0000644000175000017500000001032610412737554023530 0ustar slomoslomo log4net.Repository.Hierarchy
log4net SDK Reference

log4net.Repository.Hierarchy Namespace

Standard hierarchy repository implementation.

Namespace hierarchy

Classes

Class Description
Hierarchy Hierarchical organization of loggers
Logger Implementation of ILogger used by Hierarchy
LoggerCreationEventArgs Provides data for the LoggerCreatedEvent event.
RootLogger The RootLogger sits at the root of the logger hierarchy tree.
XmlHierarchyConfigurator Initializes the log4net environment using an XML DOM.

Interfaces

Interface Description
ILoggerFactory Interface abstracts creation of Logger instances

Delegates

Delegate Description
LoggerCreationEventHandler Delegate used to handle logger creation event notifications.

././@LongLink0000000000000000000000000000015100000000000011562 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.AddConverter_overloads.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.AddConverter_overloads.0000644000175000017500000000363210412737566032620 0ustar slomoslomo AddConverter Method
log4net SDK Reference

ConverterRegistry.AddConverter Method

Adds a converter for a specific type.

Overload List

Adds a converter for a specific type.

public static void AddConverter(Type,object);

Adds a converter for a specific type.

public static void AddConverter(Type,Type);

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.PreAppendCheck.html0000644000175000017500000000512510412737522027243 0ustar slomoslomo AppenderSkeleton.PreAppendCheck Method
log4net SDK Reference

AppenderSkeleton.PreAppendCheck Method 

Called before Append as a precondition.

[Visual Basic]
Overridable Protected Function PreAppendCheck() As Boolean
[C#]
protected virtual bool PreAppendCheck();

Return Value

true if the call to Append should proceed.

Remarks

This method is called by DoAppend before the call to the abstract Append method.

This method can be overridden in a subclass to extend the checks made before the event is passed to the Append method.

A subclass should ensure that they delegate this call to this base class if it is overridden.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.RemoveAppender_overload_1.html0000644000175000017500000000567610412737560031425 0ustar slomoslomo AppenderAttachedImpl.RemoveAppender Method (String)
log4net SDK Reference

AppenderAttachedImpl.RemoveAppender Method (String)

Removes the appender with the specified name from the list of appenders.

[Visual Basic]
NotOverridable Overloads Public Function RemoveAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public IAppender RemoveAppender(
   string name
);

Parameters

name
The name of the appender to remove.

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace | AppenderAttachedImpl.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.ILog.DebugFormat_overload_1.html0000644000175000017500000001015110412737516024571 0ustar slomoslomo ILog.DebugFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

ILog.DebugFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the Debug level.

[Visual Basic]
Sub DebugFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void DebugFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

ILog Interface | log4net Namespace | ILog.DebugFormat Overload List | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionConstructor2.html0000644000175000017500000000474510412737542025743 0ustar slomoslomo LevelCollection Constructor (Int32)
log4net SDK Reference

LevelCollection Constructor (Int32)

Initializes a new instance of the LevelCollection class that has the specified initial capacity.

[Visual Basic]
Overloads Public Sub New( _
   ByVal capacity As Integer _
)
[C#]
public LevelCollection(
   int capacity
);

Parameters

capacity
The number of elements that the new LevelCollection is initially capable of storing.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.#ctor(System.Int32)

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.ResetConfiguration_overload_1.html0000644000175000017500000000535710412737544030770 0ustar slomoslomo LoggerManager.ResetConfiguration Method (String)
log4net SDK Reference

LoggerManager.ResetConfiguration Method (String)

Resets all values contained in this repository instance to their defaults.

[Visual Basic]
Overloads Public Shared Sub ResetConfiguration( _
   ByVal repository As String _
)
[C#]
public static void ResetConfiguration(
   string repository
);

Parameters

repository
The repository to reset.

Remarks

Resets all values contained in the repository instance to their defaults. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set its default "off" value.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.ResetConfiguration Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Fatal_overload_1.html0000644000175000017500000000655710412737546025043 0ustar slomoslomo LogImpl.Fatal Method (Object, Exception)
log4net SDK Reference

LogImpl.Fatal Method (Object, Exception)

Logs a message object with the FATAL level

[Visual Basic]
Overridable Overloads Public Sub Fatal( _
   ByVal message As Object, _
   ByVal exception As Exception _
) _
    Implements ILog.Fatal
[C#]
public virtual void Fatal(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Implements

ILog.Fatal

Remarks

Logs a message object with the FATAL level including the stack trace of the Exception exception passed as a parameter.

See the Fatal form for more detailed information.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Fatal Overload List | Fatal


log4net-1.2.10/doc/release/sdk/log4net.Util.CompositeProperties.Flatten.html0000644000175000017500000000364210412737560025763 0ustar slomoslomo CompositeProperties.Flatten Method
log4net SDK Reference

CompositeProperties.Flatten Method 

Flatten this composite collection into a single properties dictionary

[Visual Basic]
Public Function Flatten() As PropertiesDictionary
[C#]
public PropertiesDictionary Flatten();

Return Value

the flattened dictionary

Remarks

Reduces the collection of ordered dictionaries to a single dictionary containing the resultant values for the keys.

See Also

CompositeProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogExceptionConstructor.html0000644000175000017500000000410610412737544025167 0ustar slomoslomo LogException Constructor
log4net SDK Reference

LogException Constructor

Constructor

Overload List

Constructor

public LogException();

Serialization constructor

protected LogException(SerializationInfo,StreamingContext);

Constructor

public LogException(string);

Constructor

public LogException(string,Exception);

See Also

LogException Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMapMethods.html0000644000175000017500000000762410412737554024120 0ustar slomoslomo PluginMap Methods
log4net SDK Reference

PluginMap Methods

The methods of the PluginMap class are listed below. For a complete list of PluginMap class members, see the PluginMap Members topic.

Public Instance Methods

Add Adds a IPlugin to the map.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Removes a IPlugin from the map.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_6.html0000644000175000017500000000523510412737540030021 0ustar slomoslomo XmlConfigurator.Configure Method (Uri)
log4net SDK Reference

XmlConfigurator.Configure Method (Uri)

Configures log4net using the specified configuration URI.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal configUri As Uri _
)
[C#]
public static void Configure(
   Uri configUri
);

Parameters

configUri
A URI to load the XML configuration from.

Remarks

The configuration data must be valid XML. It must contain at least one element called log4net that holds the log4net configuration data.

The WebRequest must support the URI scheme specified.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.html0000644000175000017500000000344110412737552022323 0ustar slomoslomo log4net.Layout.Pattern
log4net SDK Reference

log4net.Layout.Pattern Namespace

Pattern handlers for the PatternLayout.

Namespace hierarchy

Classes

Class Description
PatternLayoutConverter Abstract class that provides the formatting functionality that derived classes need.

log4net-1.2.10/doc/release/sdk/log4net.ILog.FatalFormat_overload_2.html0000644000175000017500000001032610412737516024577 0ustar slomoslomo ILog.FatalFormat Method (String, Object, Object, Object)
log4net SDK Reference

ILog.FatalFormat Method (String, Object, Object, Object)

Logs a formatted message string with the Fatal level.

[Visual Basic]
Sub FatalFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
)
[C#]
void FatalFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

ILog Interface | log4net Namespace | ILog.FatalFormat Overload List | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.Shutdown.html0000644000175000017500000000434410412737554030453 0ustar slomoslomo LoggerRepositorySkeleton.Shutdown Method
log4net SDK Reference

LoggerRepositorySkeleton.Shutdown Method 

Shutdown the repository

[Visual Basic]
Overridable Public Sub Shutdown() _
    Implements ILoggerRepository.Shutdown
[C#]
public virtual void Shutdown();

Implements

ILoggerRepository.Shutdown

Remarks

Shutdown the repository. Can be overridden in a subclass. This base class implementation notifies the ShutdownEvent listeners and all attached plugins of the shutdown event.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.html0000644000175000017500000000476010412737544023511 0ustar slomoslomo LoggingEventData Structure
log4net SDK Reference

LoggingEventData Structure

Portable data structure used by LoggingEvent

For a list of all members of this type, see LoggingEventData Members.

System.Object
   System.ValueType
      log4net.Core.LoggingEventData

[Visual Basic]
Public Structure LoggingEventData
[C#]
public struct LoggingEventData

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Portable data structure used by LoggingEvent

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LoggingEventData Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.RollFile.html0000644000175000017500000000530510412737532026562 0ustar slomoslomo RollingFileAppender.RollFile Method
log4net SDK Reference

RollingFileAppender.RollFile Method 

Renames file fromFile to file toFile.

[Visual Basic]
Protected Sub RollFile( _
   ByVal fromFile As String, _
   ByVal toFile As String _
)
[C#]
protected void RollFile(
   string fromFile,
   string toFile
);

Parameters

fromFile
Name of existing file to roll.
toFile
New name for file.

Remarks

Renames file fromFile to file toFile. It also checks for existence of target file and deletes if it does.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertFrom.html0000644000175000017500000000532010412737566025721 0ustar slomoslomo IConvertFrom Interface
log4net SDK Reference

IConvertFrom Interface

Interface supported by type converters

For a list of all members of this type, see IConvertFrom Members.

[Visual Basic]
Public Interface IConvertFrom
[C#]
public interface IConvertFrom

Types that implement IConvertFrom

Type Description
RawLayoutConverter Type converter for the IRawLayout interface

Remarks

This interface supports conversion from arbitrary types to a single target type. See TypeConverterAttribute.

Requirements

Namespace: log4net.Util.TypeConverters

Assembly: log4net (in log4net.dll)

See Also

IConvertFrom Members | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfo.FullInfo.html0000644000175000017500000000417410412737542024425 0ustar slomoslomo FullInfo Property
log4net SDK Reference

LocationInfo.FullInfo Property

Gets all available caller information

[Visual Basic]
Public ReadOnly Property FullInfo As String
[C#]
public string FullInfo {get;}

Property Value

All available caller information, in the format fully.qualified.classname.of.caller.methodName(Filename:line)

Remarks

Gets all available caller information, in the format fully.qualified.classname.of.caller.methodName(Filename:line)

See Also

LocationInfo Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Emergency.html0000644000175000017500000000357310412737542023312 0ustar slomoslomo Level.Emergency Field
log4net SDK Reference

Level.Emergency Field

The Emergency level designates very severe error events. System unusable, emergencies.

[Visual Basic]
Public Shared ReadOnly Emergency As Level
[C#]
public static readonly Level Emergency;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Emergency

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverterMethods.html0000644000175000017500000001462610412737562025207 0ustar slomoslomo PatternConverter Methods
log4net SDK Reference

PatternConverter Methods

The methods of the PatternConverter class are listed below. For a complete list of PatternConverter class members, see the PatternConverter Members topic.

Protected Static (Shared) Methods

SpacePad Fast space padding method.
WriteDictionary Write an dictionary to a TextWriter
WriteObject Write an object to a TextWriter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Write the pattern converter to the writer with appropriate formatting
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
SetNext Set the next pattern converter in the chains
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Convert Evaluate this pattern converter and write the output to a writer.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMapping.Lookup.html0000644000175000017500000000455510412737560024207 0ustar slomoslomo LevelMapping.Lookup Method
log4net SDK Reference

LevelMapping.Lookup Method 

Lookup the mapping for the specified level

[Visual Basic]
Public Function Lookup( _
   ByVal level As Level _
) As LevelMappingEntry
[C#]
public LevelMappingEntry Lookup(
   Level level
);

Parameters

level
the level to lookup

Return Value

the LevelMappingEntry for the level or null if no mapping found

Remarks

Lookup the value for the specified level. Finds the nearest mapping value for the level that is equal to or less than the level specified.

If no mapping could be found then null is returned.

See Also

LevelMapping Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilter.Decide.html0000644000175000017500000000546710412737550025234 0ustar slomoslomo LevelRangeFilter.Decide Method
log4net SDK Reference

LevelRangeFilter.Decide Method 

Check if the event should be logged.

[Visual Basic]
Overrides Public Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision _
    Implements IFilter.Decide
[C#]
public override FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the logging event to check

Return Value

see remarks

Implements

IFilter.Decide

Remarks

If the Level of the logging event is outside the range matched by this filter then Deny is returned. If the Level is matched then the value of AcceptOnMatch is checked. If it is true then Accept is returned, otherwise Neutral is returned.

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumeratorMethods.html0000644000175000017500000000761610412737562024657 0ustar slomoslomo NullEnumerator Methods
log4net SDK Reference

NullEnumerator Methods

The methods of the NullEnumerator class are listed below. For a complete list of NullEnumerator class members, see the NullEnumerator Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
MoveNext Test if the enumerator can advance, if so advance
Reset Resets the enumerator back to the start.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NullEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.ActivateOptions.html0000644000175000017500000000467410412737550027371 0ustar slomoslomo StringMatchFilter.ActivateOptions Method
log4net SDK Reference

StringMatchFilter.ActivateOptions Method 

Initialize and precompile the Regex if required

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

StringMatchFilter Class | log4net.Filter Namespace


././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis.htmllog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMill0000644000175000017500000000600210412737546032534 0ustar slomoslomo AbsoluteTimeDateFormatter.FormatDateWithoutMillis Method
log4net SDK Reference

AbsoluteTimeDateFormatter.FormatDateWithoutMillis Method 

Renders the date into a string. Format is "HH:mm:ss".

[Visual Basic]
Overridable Protected Sub FormatDateWithoutMillis( _
   ByVal dateToFormat As Date, _
   ByVal buffer As StringBuilder _
)
[C#]
protected virtual void FormatDateWithoutMillis(
   DateTime dateToFormat,
   StringBuilder buffer
);

Parameters

dateToFormat
The date to render into a string.
buffer
The string builder to write to.

Remarks

Subclasses should override this method to render the date into a string using a precision up to the second. This method will be called at most once per second and the result will be reused if it is needed again during the same second.

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPlugin.Attach.html0000644000175000017500000000445710412737552023451 0ustar slomoslomo IPlugin.Attach Method
log4net SDK Reference

IPlugin.Attach Method 

Attaches the plugin to the specified ILoggerRepository.

[Visual Basic]
Sub Attach( _
   ByVal repository As ILoggerRepository _
)
[C#]
void Attach(
   ILoggerRepository repository
);

Parameters

repository
The ILoggerRepository that this plugin should be attached to.

Remarks

A plugin may only be attached to a single repository.

This method is called when the plugin is attached to the repository.

See Also

IPlugin Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLogger_overload_2.html0000644000175000017500000000623510412737544027032 0ustar slomoslomo LoggerManager.GetLogger Method (Assembly, String)
log4net SDK Reference

LoggerManager.GetLogger Method (Assembly, String)

Retrieves or creates a named logger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repositoryAssembly As Assembly, _
   ByVal name As String _
) As ILogger
[C#]
public static ILogger GetLogger(
   Assembly repositoryAssembly,
   string name
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.
name
The name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Retrieves a logger named as the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.

By default, loggers do not have a set level but inherit it from the hierarchy. This is one of the central features of log4net.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.IsErrorEnabled.html0000644000175000017500000000470310412737544024526 0ustar slomoslomo IsErrorEnabled Property
log4net SDK Reference

LogImpl.IsErrorEnabled Property

Checks if this logger is enabled for the ERROR level.

[Visual Basic]
Overridable Public ReadOnly Property IsErrorEnabled As Boolean _
    Implements ILog.IsErrorEnabled
[C#]
public virtual bool IsErrorEnabled {get;}

Property Value

true if this logger is enabled for ERROR events, false otherwise.

Implements

ILog.IsErrorEnabled

Remarks

See IsDebugEnabled for more information and examples of using this method.

See Also

LogImpl Class | log4net.Core Namespace | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextProvider.DefaultProvider.html0000644000175000017500000000470710412737546030317 0ustar slomoslomo DefaultProvider Property
log4net SDK Reference

SecurityContextProvider.DefaultProvider Property

Gets or sets the default SecurityContextProvider

[Visual Basic]
Public Shared Property DefaultProvider As SecurityContextProvider
[C#]
public static SecurityContextProvider DefaultProvider {get; set;}

Property Value

The default SecurityContextProvider

Remarks

The default provider is used by configured components that require a SecurityContext and have not had one given to them.

By default this is an instance of SecurityContextProvider that returns NullSecurityContext objects.

The default provider can be set programmatically by setting the value of this property to a sub class of SecurityContextProvider that has the desired behavior.

See Also

SecurityContextProvider Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumerator.MoveNext.html0000644000175000017500000000516110412737562025070 0ustar slomoslomo NullEnumerator.MoveNext Method
log4net SDK Reference

NullEnumerator.MoveNext Method 

Test if the enumerator can advance, if so advance

[Visual Basic]
NotOverridable Public Function MoveNext() As Boolean _
    Implements IEnumerator.MoveNext
[C#]
public bool MoveNext();

Return Value

false as the NullEnumerator cannot advance.

Implements

IEnumerator.MoveNext

Remarks

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore MoveNext will always return false.

See Also

NullEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeErrorMethods.html0000644000175000017500000001011310412737560024123 0ustar slomoslomo NativeError Methods
log4net SDK Reference

NativeError Methods

The methods of the NativeError class are listed below. For a complete list of NativeError class members, see the NativeError Members topic.

Public Static (Shared) Methods

GetError Create a new instance of the NativeError class.
GetErrorMessage Retrieves the message corresponding with a Win32 message identifier.
GetLastError Create a new instance of the NativeError class for the last Windows error.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString Return error information string

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.IsDebugEnabled.html0000644000175000017500000000374110412737560024327 0ustar slomoslomo IsDebugEnabled Property
log4net SDK Reference

LogLog.IsDebugEnabled Property

Test if LogLog.Debug is enabled for output.

[Visual Basic]
Public Shared ReadOnly Property IsDebugEnabled As Boolean
[C#]
public static bool IsDebugEnabled {get;}

Property Value

true if Debug is enabled

Remarks

Test if LogLog.Debug is enabled for output.

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.SendBuffer_overload_2.html0000644000175000017500000000442410412737520030153 0ustar slomoslomo AdoNetAppender.SendBuffer Method (LoggingEvent[])
log4net SDK Reference

AdoNetAppender.SendBuffer Method (LoggingEvent[])

Inserts the events into the database.

[Visual Basic]
Overrides Overloads Protected Sub SendBuffer( _
   ByVal events As LoggingEvent() _
)
[C#]
protected override void SendBuffer(
   LoggingEvent[] events
);

Parameters

events
The events to insert into the database.

Remarks

Insert all the events specified in the events array into the database.

See Also

AdoNetAppender Class | log4net.Appender Namespace | AdoNetAppender.SendBuffer Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.ILoggerFactoryMembers.html0000644000175000017500000000352710412737556027731 0ustar slomoslomo ILoggerFactory Members
log4net SDK Reference

ILoggerFactory Members

ILoggerFactory overview

Public Instance Methods

CreateLogger Create a new Logger instance

See Also

ILoggerFactory Interface | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.TryParse_overload_1.html0000644000175000017500000000627710412737564026346 0ustar slomoslomo SystemInfo.TryParse Method (String, Int32)
log4net SDK Reference

SystemInfo.TryParse Method (String, Int32)

Parse a string into an Int32 value

[Visual Basic]
Overloads Public Shared Function TryParse( _
   ByVal s As String, _
   ByRef val As Integer _
) As Boolean
[C#]
public static bool TryParse(
   string s,
   out int val
);

Parameters

s
the string to parse
val
out param where the parsed value is placed

Return Value

true if the string was able to be parsed into an integer

Remarks

Attempts to parse the string into an integer. If the string cannot be parsed then this method returns false. The method does not throw an exception.

See Also

SystemInfo Class | log4net.Util Namespace | SystemInfo.TryParse Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.RollingStyle.html0000644000175000017500000000442410412737532027502 0ustar slomoslomo RollingStyle Property
log4net SDK Reference

RollingFileAppender.RollingStyle Property

Gets or sets the rolling style.

[Visual Basic]
Public Property RollingStyle As RollingMode
[C#]
public RollingFileAppender.RollingMode RollingStyle {get; set;}

Property Value

The rolling style.

Remarks

The default rolling style is Composite.

When set to Once this appender's AppendToFile property is set to false, otherwise the appender would append to a single file rather than rolling the file each time it is opened.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.html0000644000175000017500000000614010412737564023344 0ustar slomoslomo log4net.Util.TypeConverters
log4net SDK Reference

log4net.Util.TypeConverters Namespace

Type conversion framework.

Namespace hierarchy

Classes

Class Description
ConversionNotSupportedException Exception base type for conversion errors.
ConverterRegistry Register of type converters for specific types.
TypeConverterAttribute Attribute used to associate a type converter

Interfaces

Interface Description
IConvertFrom Interface supported by type converters
IConvertTo Interface supported by type converters

log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.Clear.html0000644000175000017500000000354110412737552025560 0ustar slomoslomo RendererMap.Clear Method
log4net SDK Reference

RendererMap.Clear Method 

Clear the map of renderers

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

Clear the custom renderers defined by using Put. The DefaultRenderer cannot be removed.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfoMembers.html0000644000175000017500000002466310412737564023775 0ustar slomoslomo SystemInfo Members
log4net SDK Reference

SystemInfo Members

SystemInfo overview

Public Static (Shared) Fields

EmptyTypes Gets an empty array of types.

Public Static (Shared) Properties

ApplicationBaseDirectory Gets the base directory for this AppDomain.
ApplicationFriendlyName Get this application's friendly name
ConfigurationFileLocation Gets the path to the configuration file for the current AppDomain.
CurrentThreadId Gets the ID of the current thread.
EntryAssemblyLocation Gets the path to the file that first executed in the current AppDomain.
HostName Get the host name or machine name for the current machine
NewLine Gets the system dependent line terminator.
NotAvailableText Text to output when an unsupported feature is requested.
NullText Text to output when a null is encountered.
ProcessStartTime Get the start time for the current process.

Public Static (Shared) Methods

AssemblyFileName Gets the file name portion of the Assembly, including the extension.
AssemblyLocationInfo Gets the assembly location path for the specified assembly.
AssemblyQualifiedName Gets the fully qualified name of the Type, including the name of the assembly from which the Type was loaded.
AssemblyShortName Gets the short name of the Assembly.
ConvertToFullPath Convert a path into a fully qualified local file path.
CreateArgumentOutOfRangeException Create an ArgumentOutOfRangeException
CreateCaseInsensitiveHashtable Creates a new case-insensitive instance of the Hashtable class with the default initial capacity.
GetAppSetting Lookup an application setting
GetTypeFromStringOverloaded. Loads the type specified in the type string.
NewGuid Generate a new guid
TryParseOverloaded. Parse a string into an Int32 value

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.html0000644000175000017500000006162210412737550023524 0ustar slomoslomo PatternLayout Class
log4net SDK Reference

PatternLayout Class

A flexible layout configurable with pattern string.

For a list of all members of this type, see PatternLayout Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.PatternLayout

[Visual Basic]
Public Class PatternLayout
    Inherits LayoutSkeleton
[C#]
public class PatternLayout : LayoutSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The goal of this class is to Format a LoggingEvent as a string. The results depend on the conversion pattern.

The conversion pattern is closely related to the conversion pattern of the printf function in C. A conversion pattern is composed of literal text and format control expressions called conversion specifiers.

You are free to insert any literal text within the conversion pattern.

Each conversion specifier starts with a percent sign (%) and is followed by optional format modifiers and a conversion pattern name. The conversion pattern name specifies the type of data, e.g. logger, level, date, thread name. The format modifiers control such things as field width, padding, left and right justification. The following is a simple example.

Let the conversion pattern be "%-5level [%thread]: %message%newline" and assume that the log4net environment was set to use a PatternLayout. Then the statements

[C#]
ILog log = LogManager.GetLogger(typeof(TestApp));
log.Debug("Message 1");
log.Warn("Message 2");   

would yield the output

DEBUG [main]: Message 1
WARN  [main]: Message 2  

Note that there is no explicit separator between text and conversion specifiers. The pattern parser knows when it has reached the end of a conversion specifier when it reads a conversion character. In the example above the conversion specifier %-5level means the level of the logging event should be left justified to a width of five characters.

The recognized conversion pattern names are:

Conversion Pattern Name Effect
a Equivalent to appdomain
appdomain Used to output the friendly name of the AppDomain where the logging event was generated.
c Equivalent to logger
C Equivalent to type
class Equivalent to type
d Equivalent to date
date

Used to output the date of the logging event in the local time zone. To output the date in universal time use the %utcdate pattern. The date conversion specifier may be followed by a date format specifier enclosed between braces. For example, %date{HH:mm:ss,fff} or %date{dd MMM yyyy HH:mm:ss,fff}. If no date format specifier is given then ISO8601 format is assumed (Iso8601DateFormatter).

The date format specifier admits the same syntax as the time pattern string of the ToString.

For better results it is recommended to use the log4net date formatters. These can be specified using one of the strings "ABSOLUTE", "DATE" and "ISO8601" for specifying AbsoluteTimeDateFormatter, DateTimeDateFormatter and respectively Iso8601DateFormatter. For example, %date{ISO8601} or %date{ABSOLUTE}.

These dedicated date formatters perform significantly better than ToString.

exception

Used to output the exception passed in with the log message.

If an exception object is stored in the logging event it will be rendered into the pattern output with a trailing newline. If there is no exception then nothing will be output and no trailing newline will be appended. It is typical to put a newline before the exception and to have the exception as the last data in the pattern.

F Equivalent to file
file

Used to output the file name where the logging request was issued.

WARNING Generating caller location information is extremely slow. Its use should be avoided unless execution speed is not an issue.

See the note below on the availability of caller location information.

identity

Used to output the user name for the currently active user (Principal.Identity.Name).

WARNING Generating caller information is extremely slow. Its use should be avoided unless execution speed is not an issue.

l Equivalent to location
L Equivalent to line
location

Used to output location information of the caller which generated the logging event.

The location information depends on the CLI implementation but usually consists of the fully qualified name of the calling method followed by the callers source the file name and line number between parentheses.

The location information can be very useful. However, its generation is extremely slow. Its use should be avoided unless execution speed is not an issue.

See the note below on the availability of caller location information.

level

Used to output the level of the logging event.

line

Used to output the line number from where the logging request was issued.

WARNING Generating caller location information is extremely slow. Its use should be avoided unless execution speed is not an issue.

See the note below on the availability of caller location information.

logger

Used to output the logger of the logging event. The logger conversion specifier can be optionally followed by precision specifier, that is a decimal constant in brackets.

If a precision specifier is given, then only the corresponding number of right most components of the logger name will be printed. By default the logger name is printed in full.

For example, for the logger name "a.b.c" the pattern %logger{2} will output "b.c".

m Equivalent to message
M Equivalent to method
message

Used to output the application supplied message associated with the logging event.

mdc

The MDC (old name for the ThreadContext.Properties) is now part of the combined event properties. This pattern is supported for compatibility but is equivalent to property.

method

Used to output the method name where the logging request was issued.

WARNING Generating caller location information is extremely slow. Its use should be avoided unless execution speed is not an issue.

See the note below on the availability of caller location information.

n Equivalent to newline
newline

Outputs the platform dependent line separator character or characters.

This conversion pattern offers the same performance as using non-portable line separator strings such as "\n", or "\r\n". Thus, it is the preferred way of specifying a line separator.

ndc

Used to output the NDC (nested diagnostic context) associated with the thread that generated the logging event.

p Equivalent to level
P Equivalent to property
properties Equivalent to property
property

Used to output the an event specific property. The key to lookup must be specified within braces and directly following the pattern specifier, e.g. %property{user} would include the value from the property that is keyed by the string 'user'. Each property value that is to be included in the log must be specified separately. Properties are added to events by loggers or appenders. By default the log4net:HostName property is set to the name of machine on which the event was originally logged.

If no key is specified, e.g. %property then all the keys and their values are printed in a comma separated list.

The properties of an event are combined from a number of different contexts. These are listed below in the order in which they are searched.

the event properties
The event has Properties that can be set. These properties are specific to this event only.
the thread properties
The Properties that are set on the current thread. These properties are shared by all events logged on this thread.
the global properties
The Properties that are set globally. These properties are shared by all the threads in the AppDomain.
r Equivalent to timestamp
t Equivalent to thread
timestamp

Used to output the number of milliseconds elapsed since the start of the application until the creation of the logging event.

thread

Used to output the name of the thread that generated the logging event. Uses the thread number if no name is available.

type

Used to output the fully qualified type name of the caller issuing the logging request. This conversion specifier can be optionally followed by precision specifier, that is a decimal constant in brackets.

If a precision specifier is given, then only the corresponding number of right most components of the class name will be printed. By default the class name is output in fully qualified form.

For example, for the class name "log4net.Layout.PatternLayout", the pattern %type{1} will output "PatternLayout".

WARNING Generating the caller class information is slow. Thus, its use should be avoided unless execution speed is not an issue.

See the note below on the availability of caller location information.

u Equivalent to identity
username

Used to output the WindowsIdentity for the currently active user.

WARNING Generating caller WindowsIdentity information is extremely slow. Its use should be avoided unless execution speed is not an issue.

utcdate

Used to output the date of the logging event in universal time. The date conversion specifier may be followed by a date format specifier enclosed between braces. For example, %utcdate{HH:mm:ss,fff} or %utcdate{dd MMM yyyy HH:mm:ss,fff}. If no date format specifier is given then ISO8601 format is assumed (Iso8601DateFormatter).

The date format specifier admits the same syntax as the time pattern string of the ToString.

For better results it is recommended to use the log4net date formatters. These can be specified using one of the strings "ABSOLUTE", "DATE" and "ISO8601" for specifying AbsoluteTimeDateFormatter, DateTimeDateFormatter and respectively Iso8601DateFormatter. For example, %utcdate{ISO8601} or %utcdate{ABSOLUTE}.

These dedicated date formatters perform significantly better than ToString.

w Equivalent to username
x Equivalent to ndc
X Equivalent to mdc
%

The sequence %% outputs a single percent sign.

The single letter patterns are deprecated in favor of the longer more descriptive pattern names.

By default the relevant information is output as is. However, with the aid of format modifiers it is possible to change the minimum field width, the maximum field width and justification.

The optional format modifier is placed between the percent sign and the conversion pattern name.

The first optional format modifier is the left justification flag which is just the minus (-) character. Then comes the optional minimum field width modifier. This is a decimal constant that represents the minimum number of characters to output. If the data item requires fewer characters, it is padded on either the left or the right until the minimum width is reached. The default is to pad on the left (right justify) but you can specify right padding with the left justification flag. The padding character is space. If the data item is larger than the minimum field width, the field is expanded to accommodate the data. The value is never truncated.

This behavior can be changed using the maximum field width modifier which is designated by a period followed by a decimal constant. If the data item is longer than the maximum field, then the extra characters are removed from the beginning of the data item and not from the end. For example, it the maximum field width is eight and the data item is ten characters long, then the first two characters of the data item are dropped. This behavior deviates from the printf function in C where truncation is done from the end.

Below are various format modifier examples for the logger conversion specifier.

Format modifier left justify minimum width maximum width comment
%20logger false 20 none

Left pad with spaces if the logger name is less than 20 characters long.

%-20logger true 20 none

Right pad with spaces if the logger name is less than 20 characters long.

%.30logger NA none 30

Truncate from the beginning if the logger name is longer than 30 characters.

%20.30logger false 20 30

Left pad with spaces if the logger name is shorter than 20 characters. However, if logger name is longer than 30 characters, then truncate from the beginning.

%-20.30logger true 20 30

Right pad with spaces if the logger name is shorter than 20 characters. However, if logger name is longer than 30 characters, then truncate from the beginning.

Note about caller location information.
The following patterns %type %file %line %method %location %class %C %F %L %l %M all generate caller location information. Location information uses the System.Diagnostics.StackTrace class to generate a call stack. The caller's information is then extracted from this stack.

CAUTION   

The System.Diagnostics.StackTrace class is not supported on the .NET Compact Framework 1.0 therefore caller location information is not available on that framework.

CAUTION   

The System.Diagnostics.StackTrace class has this to say about Release builds:

"StackTrace information will be most informative with Debug build configurations. By default, Debug builds include debug symbols, while Release builds do not. The debug symbols contain most of the file, method name, line number, and column information used in constructing StackFrame and StackTrace objects. StackTrace might not report as many method calls as expected, due to code transformations that occur during optimization."

This means that in a Release build the caller information may be incomplete or may not exist at all! Therefore caller location information cannot be relied upon in a Release build.

Additional pattern converters may be registered with a specific PatternLayout instance using the AddConverter method.

Example

This is a more detailed pattern.

%timestamp [%thread] %level %logger %ndc - %message%newline
A similar pattern except that the relative time is right padded if less than 6 digits, thread name is right padded if less than 15 characters and truncated if longer and the logger name is left padded if shorter than 30 characters and truncated if longer.
%-6timestamp [%15.15thread] %-5level %30.30logger %ndc - %message%newline

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

PatternLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollection.GetEnumerator.html0000644000175000017500000000526710412737560026247 0ustar slomoslomo EmptyCollection.GetEnumerator Method
log4net SDK Reference

EmptyCollection.GetEnumerator Method 

Returns an enumerator that can iterate through a collection.

[Visual Basic]
NotOverridable Public Function GetEnumerator() As IEnumerator _
    Implements IEnumerable.GetEnumerator
[C#]
public IEnumerator GetEnumerator();

Return Value

An IEnumerator that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator

Remarks

As the collection is empty a NullEnumerator is returned.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyConstructor4.html0000644000175000017500000000527010412737556030003 0ustar slomoslomo Hierarchy Constructor (PropertiesDictionary, ILoggerFactory)
log4net SDK Reference

Hierarchy Constructor (PropertiesDictionary, ILoggerFactory)

Construct with properties and a logger factory

[Visual Basic]
Overloads Public Sub New( _
   ByVal properties As PropertiesDictionary, _
   ByVal loggerFactory As ILoggerFactory _
)
[C#]
public Hierarchy(
   PropertiesDictionary properties,
   ILoggerFactory loggerFactory
);

Parameters

properties
The properties to pass to this repository.
loggerFactory
The factory to use to create new logger instances.

Remarks

Initializes a new instance of the Hierarchy class with the specified ILoggerFactory.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace | Hierarchy Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.DefaultRenderer.html0000644000175000017500000000520210412737552025376 0ustar slomoslomo DefaultRenderer Class
log4net SDK Reference

DefaultRenderer Class

The default object Renderer.

For a list of all members of this type, see DefaultRenderer Members.

System.Object
   log4net.ObjectRenderer.DefaultRenderer

[Visual Basic]
NotInheritable Public Class DefaultRenderer
    Implements IObjectRenderer
[C#]
public sealed class DefaultRenderer : IObjectRenderer

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The default renderer supports rendering objects and collections to strings.

See the RenderObject method for details of the output.

Requirements

Namespace: log4net.ObjectRenderer

Assembly: log4net (in log4net.dll)

See Also

DefaultRenderer Members | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.WarnFormat_overload_2.html0000644000175000017500000001133710412737546026065 0ustar slomoslomo LogImpl.WarnFormat Method (String, Object, Object, Object)
log4net SDK Reference

LogImpl.WarnFormat Method (String, Object, Object, Object)

Logs a formatted message string with the WARN level.

[Visual Basic]
Overridable Overloads Public Sub WarnFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
) _
    Implements ILog.WarnFormat
[C#]
public virtual void WarnFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Implements

ILog.WarnFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the WarnFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.WarnFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppender.Append_overloads.html0000644000175000017500000000362010412737522030277 0ustar slomoslomo Append Method
log4net SDK Reference

AspNetTraceAppender.Append Method

Write the logging event to the ASP.NET trace

Overload List

Write the logging event to the ASP.NET trace

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

AspNetTraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.Name.html0000644000175000017500000000455110412737554027520 0ustar slomoslomo Name Property
log4net SDK Reference

LoggerRepositorySkeleton.Name Property

The name of the repository

[Visual Basic]
Overridable Public Property Name As String _
    Implements ILoggerRepository.Name
[C#]
public virtual string Name {get; set;}

Property Value

The string name of the repository

Implements

ILoggerRepository.Name

Remarks

The name of this repository. The name is used to store and lookup the repositories stored by the IRepositorySelector.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.AddRange_overload_3.html0000644000175000017500000000565410412737522030527 0ustar slomoslomo AppenderCollection.AddRange Method (AppenderCollection)
log4net SDK Reference

AppenderCollection.AddRange Method (AppenderCollection)

Adds the elements of another AppenderCollection to the current AppenderCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal x As AppenderCollection _
) As Integer
[C#]
public virtual int AddRange(
   AppenderCollection x
);

Parameters

x
The AppenderCollection whose elements should be added to the end of the current AppenderCollection.

Return Value

The new Count of the AppenderCollection.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.AppenderCollection)

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.CloseWriter.html0000644000175000017500000000375610412737536027243 0ustar slomoslomo TextWriterAppender.CloseWriter Method
log4net SDK Reference

TextWriterAppender.CloseWriter Method 

Closes the underlying TextWriter.

[Visual Basic]
Overridable Protected Sub CloseWriter()
[C#]
protected virtual void CloseWriter();

Remarks

Closes the underlying TextWriter.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionConstructor5.html0000644000175000017500000000525310412737522027274 0ustar slomoslomo AppenderCollection Constructor (ICollection)
log4net SDK Reference

AppenderCollection Constructor (ICollection)

Initializes a new instance of the AppenderCollection class that contains elements copied from the specified IAppender collection.

[Visual Basic]
Overloads Public Sub New( _
   ByVal col As ICollection _
)
[C#]
public AppenderCollection(
   ICollection col
);

Parameters

col
The IAppender collection whose elements are copied to the new list.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.#ctor(System.Collections.ICollection)

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.Append_overloads.html0000644000175000017500000000405010412737532030561 0ustar slomoslomo Append Method
log4net SDK Reference

RemoteSyslogAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionMembers.html0000644000175000017500000002640210412737522026253 0ustar slomoslomo AppenderCollection Members
log4net SDK Reference

AppenderCollection Members

AppenderCollection overview

Public Static (Shared) Fields

EmptyCollection An empty readonly static AppenderCollection

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a AppenderCollection instance.

Public Instance Constructors

AppenderCollection Overloaded. Initializes a new instance of the AppenderCollection class.

Public Instance Properties

Capacity Gets or sets the number of elements the AppenderCollection can contain.
Count Gets the number of elements actually contained in the AppenderCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the IAppender at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Public Instance Methods

Add Adds a IAppender to the end of the AppenderCollection.
AddRangeOverloaded. Adds the elements of a IAppender collection to the current AppenderCollection.
Clear Removes all elements from the AppenderCollection.
Clone Creates a shallow copy of the AppenderCollection.
Contains Determines whether a given IAppender is in the AppenderCollection.
CopyToOverloaded. Copies the entire AppenderCollection to a one-dimensional IAppender array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the AppenderCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a IAppender in the AppenderCollection.
Insert Inserts an element into the AppenderCollection at the specified index.
Remove Removes the first occurrence of a specific IAppender from the AppenderCollection.
RemoveAt Removes the element at the specified index of the AppenderCollection.
ToArray Return the collection elements as an array
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionConstructor3.html0000644000175000017500000000465410412737554026503 0ustar slomoslomo PluginCollection Constructor (PluginCollection)
log4net SDK Reference

PluginCollection Constructor (PluginCollection)

Initializes a new instance of the PluginCollection class that contains elements copied from the specified PluginCollection.

[Visual Basic]
Overloads Public Sub New( _
   ByVal c As PluginCollection _
)
[C#]
public PluginCollection(
   PluginCollection c
);

Parameters

c
The PluginCollection whose elements are copied to the new collection.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection)

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.IsFixedSize.html0000644000175000017500000000525510412737554026335 0ustar slomoslomo IsFixedSize Property
log4net SDK Reference

PluginCollection.IsFixedSize Property

Gets a value indicating whether the collection has a fixed size.

[Visual Basic]
Overridable Public ReadOnly Property IsFixedSize As Boolean _
    Implements IList.IsFixedSize
[C#]
public virtual bool IsFixedSize {get;}

Property Value

true if the collection has a fixed size; otherwise, false. The default is false.

Implements

IList.IsFixedSize

Remarks

Missing <remarks> documentation for P:log4net.Plugin.PluginCollection.IsFixedSize

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfoFields.html0000644000175000017500000000347010412737564023602 0ustar slomoslomo SystemInfo Fields
log4net SDK Reference

SystemInfo Fields

The fields of the SystemInfo class are listed below. For a complete list of SystemInfo class members, see the SystemInfo Members topic.

Public Static (Shared) Fields

EmptyTypes Gets an empty array of types.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppenderMethods.html0000644000175000017500000001736410412737534025436 0ustar slomoslomo TelnetAppender Methods
log4net SDK Reference

TelnetAppender Methods

The methods of the TelnetAppender class are listed below. For a complete list of TelnetAppender class members, see the TelnetAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Writes the logging event to each connected client.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Overrides the parent method to close the socket handler
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluatorProperties.html0000644000175000017500000000351410412737542025330 0ustar slomoslomo LevelEvaluator Properties
log4net SDK Reference

LevelEvaluator Properties

The properties of the LevelEvaluator class are listed below. For a complete list of LevelEvaluator class members, see the LevelEvaluator Members topic.

Public Instance Properties

Threshold the threshold to trigger at

See Also

LevelEvaluator Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.DetailConversionPattern.html0000644000175000017500000000421610412737550030325 0ustar slomoslomo PatternLayout.DetailConversionPattern Field
log4net SDK Reference

PatternLayout.DetailConversionPattern Field

A detailed conversion pattern

[Visual Basic]
Public Const DetailConversionPattern As String = "%timestamp [%thread] %level %logger %ndc - %message%newline"
[C#]
public const string DetailConversionPattern = "%timestamp [%thread] %level %logger %ndc - %message%newline";

Remarks

A conversion pattern which includes Time, Thread, Logger, and Nested Context. Current value is %timestamp [%thread] %level %logger %ndc - %message%newline.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.DateTimeDateFormatter.html0000644000175000017500000000600210412737546026347 0ustar slomoslomo DateTimeDateFormatter Class
log4net SDK Reference

DateTimeDateFormatter Class

Formats a DateTime as "dd MMM yyyy HH:mm:ss,fff"

For a list of all members of this type, see DateTimeDateFormatter Members.

System.Object
   log4net.DateFormatter.AbsoluteTimeDateFormatter
      log4net.DateFormatter.DateTimeDateFormatter

[Visual Basic]
Public Class DateTimeDateFormatter
    Inherits AbsoluteTimeDateFormatter
[C#]
public class DateTimeDateFormatter : AbsoluteTimeDateFormatter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Formats a DateTime in the format "dd MMM yyyy HH:mm:ss,fff" for example, "06 Nov 1994 15:49:37,459".

Requirements

Namespace: log4net.DateFormatter

Assembly: log4net (in log4net.dll)

See Also

DateTimeDateFormatter Members | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.IsReadOnly.html0000644000175000017500000000516510412737522026753 0ustar slomoslomo IsReadOnly Property
log4net SDK Reference

AppenderCollection.IsReadOnly Property

Gets a value indicating whether the IList is read-only.

[Visual Basic]
Overridable Public ReadOnly Property IsReadOnly As Boolean _
    Implements IList.IsReadOnly
[C#]
public virtual bool IsReadOnly {get;}

Property Value

true if the collection is read-only; otherwise, false. The default is false

Implements

IList.IsReadOnly

Remarks

Missing <remarks> documentation for P:log4net.Appender.AppenderCollection.IsReadOnly

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/protfield.gif0000644000175000017500000000162210412737506017646 0ustar slomoslomoGIF89a÷ÿÿÿÿÿ€€ ÿÿÿÿÿÿ ÏÏÏÈÈÈÀÀÀ€€€<<< ÿÿÿ!ù,@oH° @@¸€€  48°áL à ÀFŠ +X2À2@èÀ@ ”øñ ‚š%)’Ìi’@Æ:}¦°ñ€ƒ3 „(‘cB ÐtàÑ >âäˆu«Á<;././@LongLink0000000000000000000000000000015100000000000011562 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryTypeConstructor.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryTypeConstructor.0000644000175000017500000000345010412737526032433 0ustar slomoslomo EventLogAppender.Level2EventLogEntryType Constructor
log4net SDK Reference

EventLogAppender.Level2EventLogEntryType Constructor 

Initializes a new instance of the EventLogAppender.Level2EventLogEntryType class.

[Visual Basic]
Public Sub New()
[C#]
public EventLogAppender.Level2EventLogEntryType();

See Also

EventLogAppender.Level2EventLogEntryType Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.MaxSizeRollBackups.html0000644000175000017500000000515410412737532030576 0ustar slomoslomo MaxSizeRollBackups Property
log4net SDK Reference

RollingFileAppender.MaxSizeRollBackups Property

Gets or sets the maximum number of backup files that are kept before the oldest is erased.

[Visual Basic]
Public Property MaxSizeRollBackups As Integer
[C#]
public int MaxSizeRollBackups {get; set;}

Property Value

The maximum number of backup files that are kept before the oldest is erased.

Remarks

If set to zero, then there will be no backup files and the log file will be truncated when it reaches MaxFileSize.

If a negative number is supplied then no deletions will be made. Note that this could result in very slow performance as a large number of files are rolled over unless CountDirection is used.

The maximum applies to each time based group of files and not the total.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriter.Write_overload_15.html0000644000175000017500000000645210412737560030503 0ustar slomoslomo CountingQuietTextWriter.Write Method (Char[], Int32, Int32)
log4net SDK Reference

CountingQuietTextWriter.Write Method (Char[], Int32, Int32)

Writes a buffer to the underlying writer and counts the number of bytes written.

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal buffer As Char(), _
   ByVal index As Integer, _
   ByVal count As Integer _
)
[C#]
public override void Write(
   char[] buffer,
   int index,
   int count
);

Parameters

buffer
the buffer to write
index
the start index to write from
count
the number of characters to write

Remarks

Overrides implementation of QuietTextWriter. Counts the number of bytes written.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace | CountingQuietTextWriter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.SetNext.html0000644000175000017500000000454410412737562025252 0ustar slomoslomo PatternConverter.SetNext Method
log4net SDK Reference

PatternConverter.SetNext Method 

Set the next pattern converter in the chains

[Visual Basic]
Overridable Public Function SetNext( _
   ByVal patternConverter As PatternConverter _
) As PatternConverter
[C#]
public virtual PatternConverter SetNext(
   PatternConverter patternConverter
);

Parameters

patternConverter
the pattern converter that should follow this converter in the chain

Return Value

the next converter

Remarks

The PatternConverter can merge with its neighbor during this method (or a sub class). Therefore the return value may or may not be the value of the argument passed in.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.html0000644000175000017500000000613310412737554025243 0ustar slomoslomo ILoggerRepository Interface
log4net SDK Reference

ILoggerRepository Interface

Interface implemented by logger repositories.

For a list of all members of this type, see ILoggerRepository Members.

[Visual Basic]
Public Interface ILoggerRepository
[C#]
public interface ILoggerRepository

Types that implement ILoggerRepository

Type Description
Hierarchy Hierarchical organization of loggers
LoggerRepositorySkeleton Base implementation of ILoggerRepository

Remarks

This interface is implemented by logger repositories. e.g. Hierarchy.

This interface is used by the LogManager to obtain ILog interfaces.

Requirements

Namespace: log4net.Repository

Assembly: log4net (in log4net.dll)

See Also

ILoggerRepository Members | log4net.Repository Namespace


././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructor2.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructo0000644000175000017500000000472210412737564033063 0ustar slomoslomo ConversionNotSupportedException Constructor (String)
log4net SDK Reference

ConversionNotSupportedException Constructor (String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String _
)
[C#]
public ConversionNotSupportedException(
   string message
);

Parameters

message
A message to include with the exception.

Remarks

Initializes a new instance of the ConversionNotSupportedException class with the specified message.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace | ConversionNotSupportedException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.IFixingRequired.GetFixedObject.html0000644000175000017500000000407210412737540026202 0ustar slomoslomo IFixingRequired.GetFixedObject Method
log4net SDK Reference

IFixingRequired.GetFixedObject Method 

Get a portable version of this object

[Visual Basic]
Function GetFixedObject() As Object
[C#]
object GetFixedObject();

Return Value

the portable instance of this object

Remarks

Get a portable instance object that represents the current state of this object. The portable object can be stored and logged from any thread with identical results.

See Also

IFixingRequired Interface | log4net.Core Namespace


././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructor3.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructo0000644000175000017500000000570210412737564033062 0ustar slomoslomo ConversionNotSupportedException Constructor (String, Exception)
log4net SDK Reference

ConversionNotSupportedException Constructor (String, Exception)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String, _
   ByVal innerException As Exception _
)
[C#]
public ConversionNotSupportedException(
   string message,
   Exception innerException
);

Parameters

message
A message to include with the exception.
innerException
A nested exception to include.

Remarks

Initializes a new instance of the ConversionNotSupportedException class with the specified message and inner exception.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace | ConversionNotSupportedException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventDataFields.html0000644000175000017500000000740310412737544024635 0ustar slomoslomo LoggingEventData Fields
log4net SDK Reference

LoggingEventData Fields

The fields of the LoggingEventData structure are listed below. For a complete list of LoggingEventData structure members, see the LoggingEventData Members topic.

Public Instance Fields

Domain String representation of the AppDomain.
ExceptionString The string representation of the exception
Identity String representation of the identity.
Level Level of logging event.
LocationInfo Location information for the caller.
LoggerName The logger name.
Message The application supplied message.
Properties Additional event specific properties
ThreadName The name of thread
TimeStamp The time the event was logged
UserName String representation of the user

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Capacity.html0000644000175000017500000000407110412737542025137 0ustar slomoslomo Capacity Property
log4net SDK Reference

LevelCollection.Capacity Property

Gets or sets the number of elements the LevelCollection can contain.

[Visual Basic]
Overridable Public Property Capacity As Integer
[C#]
public virtual int Capacity {get; set;}

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.Capacity

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.GetLoggingEventData_overload_2.html0000644000175000017500000000507110412737544030650 0ustar slomoslomo LoggingEvent.GetLoggingEventData Method (FixFlags)
log4net SDK Reference

LoggingEvent.GetLoggingEventData Method (FixFlags)

Gets the portable data for this LoggingEvent.

[Visual Basic]
Overloads Public Function GetLoggingEventData( _
   ByVal fixFlags As FixFlags _
) As LoggingEventData
[C#]
public LoggingEventData GetLoggingEventData(
   FixFlags fixFlags
);

Parameters

fixFlags
The set of data to ensure is fixed in the LoggingEventData

Return Value

The LoggingEventData for this event.

Remarks

A new LoggingEvent can be constructed using a LoggingEventData instance.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent.GetLoggingEventData Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.ErrorCode.html0000644000175000017500000000505710412737540022207 0ustar slomoslomo ErrorCode Enumeration
log4net SDK Reference

ErrorCode Enumeration

Defined error codes that can be passed to the Error method.

[Visual Basic]
Public Enum ErrorCode
[C#]
public enum ErrorCode

Remarks

Values passed to the Error method.

Members

Member NameDescription
GenericFailure A general error
WriteFailure Error while writing output
FlushFailure Failed to flush file
CloseFailure Failed to close file
FileOpenFailure Unable to open output file
MissingLayout No layout specified
AddressParseFailure Failed to parse address

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfigurator.Configure_overload_2.html0000644000175000017500000000441610412737536030303 0ustar slomoslomo BasicConfigurator.Configure Method (IAppender)
log4net SDK Reference

BasicConfigurator.Configure Method (IAppender)

Initializes the log4net system using the specified appender.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal appender As IAppender _
)
[C#]
public static void Configure(
   IAppender appender
);

Parameters

appender
The appender to use to log all logging events.

Remarks

Initializes the log4net system using the specified appender.

See Also

BasicConfigurator Class | log4net.Config Namespace | BasicConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.IFilterMethods.html0000644000175000017500000000346510412737546023551 0ustar slomoslomo IFilter Methods
log4net SDK Reference

IFilter Methods

The methods of the IFilter interface are listed below. For a complete list of IFilter interface members, see the IFilter Members topic.

Public Instance Methods

Decide Decide if the logging event should be logged through an appender.

See Also

IFilter Interface | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.DoAppend_overload_2.html0000644000175000017500000000713310412737522030236 0ustar slomoslomo AppenderSkeleton.DoAppend Method (LoggingEvent[])
log4net SDK Reference

AppenderSkeleton.DoAppend Method (LoggingEvent[])

Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.

[Visual Basic]
NotOverridable Overloads Public Sub DoAppend( _
   ByVal loggingEvents As LoggingEvent() _
) _
    Implements IBulkAppender.DoAppend
[C#]
public void DoAppend(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
The array of events to log.

Implements

IBulkAppender.DoAppend

Remarks

This method cannot be overridden by derived classes. A derived class should override the Append method which is called by this method.

The implementation of this method is as follows:

If all of the above steps succeed then the loggingEvents will be passed to the Append method.

See Also

AppenderSkeleton Class | log4net.Appender Namespace | AppenderSkeleton.DoAppend Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.AddRange_overload_3.html0000644000175000017500000000551410412737542027167 0ustar slomoslomo LevelCollection.AddRange Method (LevelCollection)
log4net SDK Reference

LevelCollection.AddRange Method (LevelCollection)

Adds the elements of another LevelCollection to the current LevelCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal x As LevelCollection _
) As Integer
[C#]
public virtual int AddRange(
   LevelCollection x
);

Parameters

x
The LevelCollection whose elements should be added to the end of the current LevelCollection.

Return Value

The new Count of the LevelCollection.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.AddRange(log4net.Core.LevelCollection)

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.ILog.FatalFormat_overload_5.html0000644000175000017500000000671610412737516024612 0ustar slomoslomo ILog.FatalFormat Method (String, Object[])
log4net SDK Reference

ILog.FatalFormat Method (String, Object[])

Logs a formatted message string with the Fatal level.

[Visual Basic]
Sub FatalFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void FatalFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

ILog Interface | log4net Namespace | ILog.FatalFormat Overload List | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppenderMembers.html0000644000175000017500000002444610412737534025424 0ustar slomoslomo TelnetAppender Members
log4net SDK Reference

TelnetAppender Members

TelnetAppender overview

Public Instance Constructors

TelnetAppender Constructor Default constructor

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Port Gets or sets the TCP port number on which this TelnetAppender will listen for connections.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Writes the logging event to each connected client.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Overrides the parent method to close the socket handler
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppenderConstructor.html0000644000175000017500000000317610412737532026703 0ustar slomoslomo RemotingAppender Constructor
log4net SDK Reference

RemotingAppender Constructor 

Initializes a new instance of the RemotingAppender class.

[Visual Basic]
Public Sub New()
[C#]
public RemotingAppender();

Remarks

Default constructor.

See Also

RemotingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.ExceptionString.html0000644000175000017500000000357510412737544026640 0ustar slomoslomo LoggingEventData.ExceptionString Field
log4net SDK Reference

LoggingEventData.ExceptionString Field

The string representation of the exception

[Visual Basic]
Public ExceptionString As String
[C#]
public string ExceptionString;

Remarks

The string representation of the exception

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPluginFactory.html0000644000175000017500000000475610412737552023600 0ustar slomoslomo IPluginFactory Interface
log4net SDK Reference

IPluginFactory Interface

Interface used to create plugins.

For a list of all members of this type, see IPluginFactory Members.

[Visual Basic]
Public Interface IPluginFactory
[C#]
public interface IPluginFactory

Types that implement IPluginFactory

Type Description
PluginAttribute Assembly level attribute that specifies a plugin to attach to the repository.

Remarks

Interface used to create a plugin.

Requirements

Namespace: log4net.Plugin

Assembly: log4net (in log4net.dll)

See Also

IPluginFactory Members | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriterProperties.html0000644000175000017500000000656610412737562025570 0ustar slomoslomo QuietTextWriter Properties
log4net SDK Reference

QuietTextWriter Properties

The properties of the QuietTextWriter class are listed below. For a complete list of QuietTextWriter class members, see the QuietTextWriter Members topic.

Public Instance Properties

Closed Gets a value indicating whether this writer is closed.
Encoding (inherited from TextWriterAdapter) The Encoding in which the output is written
ErrorHandler Gets or sets the error handler that all errors are passed to.
FormatProvider (inherited from TextWriterAdapter) Gets an object that controls formatting
NewLine (inherited from TextWriterAdapter) Gets or sets the line terminator string used by the TextWriter

Protected Instance Properties

Writer (inherited from TextWriterAdapter) Gets or sets the underlying TextWriter.

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.DefaultRendererMembers.html0000644000175000017500000001014410412737552026712 0ustar slomoslomo DefaultRenderer Members
log4net SDK Reference

DefaultRenderer Members

DefaultRenderer overview

Public Instance Constructors

DefaultRenderer Constructor Default constructor

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RenderObject Render the object obj to a string
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DefaultRenderer Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderConstructor2.html0000644000175000017500000000517010412737524030110 0ustar slomoslomo ColoredConsoleAppender Constructor (ILayout)
log4net SDK Reference

ColoredConsoleAppender Constructor (ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property


Initializes a new instance of the ColoredConsoleAppender class with the specified layout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout _
)
[C#]
public ColoredConsoleAppender(
   ILayout layout
);

Parameters

layout
the layout to use for this appender

Remarks

The instance of the ColoredConsoleAppender class is set up to write to the standard output stream.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace | ColoredConsoleAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingMembers.html0000644000175000017500000001066210412737560024246 0ustar slomoslomo LevelMapping Members
log4net SDK Reference

LevelMapping Members

LevelMapping overview

Public Instance Constructors

LevelMapping Constructor Default constructor

Public Instance Methods

ActivateOptions Initialize options
Add Add a LevelMappingEntry to this mapping
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Lookup Lookup the mapping for the specified level
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LevelMapping Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeError.GetErrorMessage.html0000644000175000017500000000512110412737560025637 0ustar slomoslomo NativeError.GetErrorMessage Method
log4net SDK Reference

NativeError.GetErrorMessage Method 

Retrieves the message corresponding with a Win32 message identifier.

[Visual Basic]
Public Shared Function GetErrorMessage( _
   ByVal messageId As Integer _
) As String
[C#]
public static string GetErrorMessage(
   int messageId
);

Parameters

messageId
Message identifier for the requested message.

Return Value

The message corresponding with the specified message identifier.

Remarks

The message will be searched for in system message-table resource(s) using the native FormatMessage function.

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayoutFields.html0000644000175000017500000000416710412737550024654 0ustar slomoslomo PatternLayout Fields
log4net SDK Reference

PatternLayout Fields

The fields of the PatternLayout class are listed below. For a complete list of PatternLayout class members, see the PatternLayout Members topic.

Public Static (Shared) Fields

DefaultConversionPattern Default pattern string for log output.
DetailConversionPattern A detailed conversion pattern

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandlerMembers.html0000644000175000017500000001372510412737534030147 0ustar slomoslomo TelnetAppender.SocketHandler Members
log4net SDK Reference

TelnetAppender.SocketHandler Members

TelnetAppender.SocketHandler overview

Public Instance Constructors

TelnetAppender.SocketHandler Constructor Opens a new server port on

Public Instance Properties

HasConnections Test if this handler has active connections

Public Instance Methods

Dispose Close all network connections
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Send Sends a string message to each of the connected clients
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TelnetAppender.SocketHandler Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.InfoFormat_overload_2.html0000644000175000017500000001133710412737546026051 0ustar slomoslomo LogImpl.InfoFormat Method (String, Object, Object, Object)
log4net SDK Reference

LogImpl.InfoFormat Method (String, Object, Object, Object)

Logs a formatted message string with the INFO level.

[Visual Basic]
Overridable Overloads Public Sub InfoFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
) _
    Implements ILog.InfoFormat
[C#]
public virtual void InfoFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Implements

ILog.InfoFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the InfoFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.InfoFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.OnClose.html0000644000175000017500000000335710412737520025362 0ustar slomoslomo AdoNetAppender.OnClose Method
log4net SDK Reference

AdoNetAppender.OnClose Method 

Override the parent method to close the database

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Closes the database command and database connection.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLogger_overload_5.html0000644000175000017500000000566710412737520025452 0ustar slomoslomo LogManager.GetLogger Method (String, Type)
log4net SDK Reference

LogManager.GetLogger Method (String, Type)

Shorthand for GetLogger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repository As String, _
   ByVal type As Type _
) As ILog
[C#]
public static ILog GetLogger(
   string repository,
   Type type
);

Parameters

repository
The repository to lookup in.
type
The full name of type will be used as the name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Gets the logger for the fully qualified name of the type specified.

See Also

LogManager Class | log4net Namespace | LogManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.ILog.Fatal_overload_2.html0000644000175000017500000000632010412737516023425 0ustar slomoslomo ILog.Fatal Method (Object)
log4net SDK Reference

ILog.Fatal Method (Object)

Log a message object with the Fatal level.

[Visual Basic]
Sub Fatal( _
   ByVal message As Object _
)
[C#]
void Fatal(
   object message
);

Parameters

message
The message object to log.

Remarks

This method first checks if this logger is FATAL enabled by comparing the level of this logger with the Fatal level. If this logger is FATAL enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Fatal form instead.

See Also

ILog Interface | log4net Namespace | ILog.Fatal Overload List | Fatal | IsFatalEnabled


././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedException.Create_overload_1.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedException.Create_ov0000644000175000017500000000662510412737566032713 0ustar slomoslomo ConversionNotSupportedException.Create Method (Type, Object)
log4net SDK Reference

ConversionNotSupportedException.Create Method (Type, Object)

Creates a new instance of the ConversionNotSupportedException class.

[Visual Basic]
Overloads Public Shared Function Create( _
   ByVal destinationType As Type, _
   ByVal sourceValue As Object _
) As ConversionNotSupportedException
[C#]
public static ConversionNotSupportedException Create(
   Type destinationType,
   object sourceValue
);

Parameters

destinationType
The conversion destination type.
sourceValue
The value to convert.

Return Value

An instance of the ConversionNotSupportedException.

Remarks

Creates a new instance of the ConversionNotSupportedException class.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace | ConversionNotSupportedException.Create Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.Properties.html0000644000175000017500000000443510412737554030775 0ustar slomoslomo Properties Property
log4net SDK Reference

LoggerRepositorySkeleton.Properties Property

Repository specific properties

[Visual Basic]
NotOverridable Public ReadOnly Property Properties As PropertiesDictionary _
    Implements ILoggerRepository.Properties
[C#]
public log4net.Util.PropertiesDictionary Properties {get;}

Property Value

Repository specific properties

Implements

ILoggerRepository.Properties

Remarks

These properties can be specified on a repository specific basis

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.ActivateOptions.html0000644000175000017500000000471410412737530030214 0ustar slomoslomo LocalSyslogAppender.ActivateOptions Method
log4net SDK Reference

LocalSyslogAppender.ActivateOptions Method 

Initialize the appender based on the options set.

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppenderProperties.html0000644000175000017500000001416010412737532027355 0ustar slomoslomo RemoteSyslogAppender Properties
log4net SDK Reference

RemoteSyslogAppender Properties

The properties of the RemoteSyslogAppender class are listed below. For a complete list of RemoteSyslogAppender class members, see the RemoteSyslogAppender Members topic.

Public Instance Properties

Encoding (inherited from UdpAppender) Gets or sets Encoding used to write the packets.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Facility Syslog facility
FilterHead (inherited from AppenderSkeleton) The filter chain.
Identity Message identity
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LocalPort (inherited from UdpAppender) Gets or sets the TCP port number from which the underlying UdpClient will communicate.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
RemoteAddress (inherited from UdpAppender) Gets or sets the IP address of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
RemotePort (inherited from UdpAppender) Gets or sets the TCP port number of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

Client (inherited from UdpAppender) Gets or sets the underlying UdpClient.
RemoteEndPoint (inherited from UdpAppender) Gets or sets the cached remote endpoint to which the logging events should be sent.
RequiresLayout (inherited from UdpAppender) This appender requires a log4net.Layout to be set.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverterConstructor.html0000644000175000017500000000361410412737552031275 0ustar slomoslomo PatternLayoutConverter Constructor
log4net SDK Reference

PatternLayoutConverter Constructor 

Initializes a new instance of the PatternLayoutConverter class.

[Visual Basic]
Protected Sub New()
[C#]
protected PatternLayoutConverter();

Remarks

Missing <remarks> documentation for M:log4net.Layout.Pattern.PatternLayoutConverter.#ctor

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.RepositorySelector.html0000644000175000017500000000550010412737544026711 0ustar slomoslomo RepositorySelector Property
log4net SDK Reference

LoggerManager.RepositorySelector Property

Gets or sets the repository selector used by the LogManager.

[Visual Basic]
Public Shared Property RepositorySelector As IRepositorySelector
[C#]
public static IRepositorySelector RepositorySelector {get; set;}

Property Value

The repository selector used by the LogManager.

Remarks

The repository selector (IRepositorySelector) is used by the LogManager to create and select repositories (ILoggerRepository).

The caller to LogManager supplies either a string name or an assembly (if not supplied the assembly is inferred using GetCallingAssembly).

This context is used by the selector to lookup a specific repository.

For the full .NET Framework, the default repository is DefaultRepositorySelector; for the .NET Compact Framework CompactRepositorySelector is the default repository.

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetCurrentLoggers_overloads.html0000644000175000017500000000417310412737516027133 0ustar slomoslomo GetCurrentLoggers Method
log4net SDK Reference

LogManager.GetCurrentLoggers Method

Get the currently defined loggers.

Overload List

Returns all the currently defined loggers in the default repository.

public static ILog[] GetCurrentLoggers();

Returns all the currently defined loggers in the specified assembly's repository.

public static ILog[] GetCurrentLoggers(Assembly);

Returns all the currently defined loggers in the specified repository.

public static ILog[] GetCurrentLoggers(string);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.OnClose.html0000644000175000017500000000516310412737532025774 0ustar slomoslomo RemotingAppender.OnClose Method
log4net SDK Reference

RemotingAppender.OnClose Method 

Override base class close.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

This method waits while there are queued work items. The events are sent asynchronously using ThreadPool work items. These items will be sent once a thread pool thread is available to send them, therefore it is possible to close the appender before all the queued events have been sent.

This method attempts to wait until all the queued events have been sent, but this method will timeout after 30 seconds regardless.

If the appender is being closed because the ProcessExit event has fired it may not be possible to send all the queued events. During process exit the runtime limits the time that a ProcessExit event handler is allowed to run for.

See Also

RemotingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppenderMethods.html0000644000175000017500000002106510412737530026272 0ustar slomoslomo ForwardingAppender Methods
log4net SDK Reference

ForwardingAppender Methods

The methods of the ForwardingAppender class are listed below. For a complete list of ForwardingAppender class members, see the ForwardingAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddAppender Adds an IAppender to the list of appenders of this instance.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender Looks for the appender with the specified name.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveAllAppenders Removes all previously added appenders from this appender.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

AppendOverloaded. Forward the logging events to the attached appenders
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Closes the appender and releases resources.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppenderConstructor.html0000644000175000017500000000354110412737530027344 0ustar slomoslomo LocalSyslogAppender Constructor
log4net SDK Reference

LocalSyslogAppender Constructor 

Initializes a new instance of the LocalSyslogAppender class.

[Visual Basic]
Public Sub New()
[C#]
public LocalSyslogAppender();

Remarks

This instance of the LocalSyslogAppender class is set up to write to a local syslog service.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.AppendToFile.html0000644000175000017500000000417310412737526026042 0ustar slomoslomo AppendToFile Property
log4net SDK Reference

FileAppender.AppendToFile Property

Gets or sets a flag that indicates whether the file should be appended to or overwritten.

[Visual Basic]
Public Property AppendToFile As Boolean
[C#]
public bool AppendToFile {get; set;}

Property Value

Indicates whether the file should be appended to or overwritten.

Remarks

If the value is set to false then the file will be overwritten, if it is set to true then the file will be appended to.

The default value is true.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppenderMembers.html0000644000175000017500000002652710412737526026276 0ustar slomoslomo ForwardingAppender Members
log4net SDK Reference

ForwardingAppender Members

ForwardingAppender overview

Public Instance Constructors

ForwardingAppender Constructor Initializes a new instance of the ForwardingAppender class.

Public Instance Properties

Appenders Gets the appenders contained in this appender as an ICollection.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddAppender Adds an IAppender to the list of appenders of this instance.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender Looks for the appender with the specified name.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveAllAppenders Removes all previously added appenders from this appender.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

Protected Instance Methods

AppendOverloaded. Forward the logging events to the attached appenders
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Closes the appender and releases resources.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyEvents.html0000644000175000017500000000544310412737556026640 0ustar slomoslomo Hierarchy Events
log4net SDK Reference

Hierarchy Events

The events of the Hierarchy class are listed below. For a complete list of Hierarchy class members, see the Hierarchy Members topic.

Public Instance Events

ConfigurationChanged (inherited from LoggerRepositorySkeleton) Event to notify that the repository has had its configuration changed.
ConfigurationReset (inherited from LoggerRepositorySkeleton) Event to notify that the repository has had its configuration reset.
LoggerCreatedEvent Event used to notify that a logger has been created.
ShutdownEvent (inherited from LoggerRepositorySkeleton) Event to notify that the repository has been shutdown.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Item.html0000644000175000017500000000631410412737542024302 0ustar slomoslomo Item Property
log4net SDK Reference

LevelCollection.Item Property

Gets or sets the Level at the specified index.

[Visual Basic]
Overridable Public Default Property Item( _
   ByVal index As Integer _
) As Level
[C#]
public virtual Level this[
   int index
] {get; set;}

Parameters

index
The zero-based index of the element to get or set.

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.Item(System.Int32)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.ErrorFormat_overload_4.html0000644000175000017500000000662410412737516024651 0ustar slomoslomo ILog.ErrorFormat Method (String, Object)
log4net SDK Reference

ILog.ErrorFormat Method (String, Object)

Logs a formatted message string with the Error level.

[Visual Basic]
Sub ErrorFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
)
[C#]
void ErrorFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

ILog Interface | log4net Namespace | ILog.ErrorFormat Overload List | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.IsErrorEnabled.html0000644000175000017500000000374110412737560024372 0ustar slomoslomo IsErrorEnabled Property
log4net SDK Reference

LogLog.IsErrorEnabled Property

Test if LogLog.Error is enabled for output.

[Visual Basic]
Public Shared ReadOnly Property IsErrorEnabled As Boolean
[C#]
public static bool IsErrorEnabled {get;}

Property Value

true if Error is enabled

Remarks

Test if LogLog.Error is enabled for output.

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.html0000644000175000017500000001361010412737530024201 0ustar slomoslomo NetSendAppender Class
log4net SDK Reference

NetSendAppender Class

Logs entries by sending network messages using the NetMessageBufferSend native function.

For a list of all members of this type, see NetSendAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.NetSendAppender

[Visual Basic]
Public Class NetSendAppender
    Inherits AppenderSkeleton
[C#]
public class NetSendAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

You can send messages only to names that are active on the network. If you send the message to a user name, that user must be logged on and running the Messenger service to receive the message.

The receiver will get a top most window displaying the messages one at a time, therefore this appender should not be used to deliver a high volume of messages.

The following table lists some possible uses for this appender :

Action Property Value(s)
Send a message to a user account on the local machine

Server = <name of the local machine>

Recipient = <user name>

Send a message to a user account on a remote machine

Server = <name of the remote machine>

Recipient = <user name>

Send a message to a domain user account

Server = <name of a domain controller | uninitialized>

Recipient = <user name>

Send a message to all the names in a workgroup or domain

Recipient = <workgroup name | domain name>*

Send a message from the local machine to a remote machine

Server = <name of the local machine | uninitialized>

Recipient = <name of the remote machine>

Note : security restrictions apply for sending network messages, see NetMessageBufferSend for more information.

Example

An example configuration section to log information using this appender from the local machine, named LOCAL_PC, to machine OPERATOR_PC :

[XML]
<appender name="NetSendAppender_Operator" type="log4net.Appender.NetSendAppender">
    <server value="LOCAL_PC" />
    <recipient value="OPERATOR_PC" />
    <layout type="log4net.Layout.PatternLayout" value="%-5p %c [%x] - %m%n" />
</appender>

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

NetSendAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppenderMethods.html0000644000175000017500000002207110412737534026730 0ustar slomoslomo SmtpPickupDirAppender Methods
log4net SDK Reference

SmtpPickupDirAppender Methods

The methods of the SmtpPickupDirAppender class are listed below. For a complete list of SmtpPickupDirAppender class members, see the SmtpPickupDirAppender Members topic.

Protected Static (Shared) Methods

ConvertToFullPath Convert a path into a fully qualified path.

Public Instance Methods

ActivateOptions Activate the options on this appender.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from BufferingAppenderSkeleton) Close this appender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Sends the contents of the cyclic buffer as an e-mail message.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.html0000644000175000017500000000671010412737560023473 0ustar slomoslomo EmptyDictionary Class
log4net SDK Reference

EmptyDictionary Class

An always empty IDictionary.

For a list of all members of this type, see EmptyDictionary Members.

System.Object
   log4net.Util.EmptyDictionary

[Visual Basic]
NotInheritable Public Class EmptyDictionary
    Implements IDictionary, ICollection, IEnumerable
[C#]
public sealed class EmptyDictionary : IDictionary, ICollection, IEnumerable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A singleton implementation of the IDictionary interface that always represents an empty collection.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

EmptyDictionary Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeError.GetError.html0000644000175000017500000000472210412737560024340 0ustar slomoslomo NativeError.GetError Method
log4net SDK Reference

NativeError.GetError Method 

Create a new instance of the NativeError class.

[Visual Basic]
Public Shared Function GetError( _
   ByVal number As Integer _
) As NativeError
[C#]
public static NativeError GetError(
   int number
);

Parameters

number
the error number for the native error

Return Value

An instance of the NativeError class for the specified error number.

Remarks

The message for the specified error number is lookup up using the native Win32 FormatMessage function.

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.LocationInfo.html0000644000175000017500000000411710412737534026155 0ustar slomoslomo LocationInfo Property
log4net SDK Reference

SmtpAppender.LocationInfo Property

NOTE: This property is now obsolete.

Use the BufferingAppenderSkeleton Fix methods


Obsolete

[Visual Basic]
Public Property LocationInfo As Boolean
[C#]
public bool LocationInfo {get; set;}

Remarks

Use the BufferingAppenderSkeleton Fix methods instead

Obsolete property.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IAppender.Name.html0000644000175000017500000000363110412737530023712 0ustar slomoslomo Name Property
log4net SDK Reference

IAppender.Name Property

Gets or sets the name of this appender.

[Visual Basic]
Property Name As String
[C#]
string Name {get; set;}

Property Value

The name of the appender.

Remarks

The name uniquely identifies the appender.

See Also

IAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.RegexToMatch.html0000644000175000017500000000440110412737550026573 0ustar slomoslomo RegexToMatch Property
log4net SDK Reference

StringMatchFilter.RegexToMatch Property

Sets the regular expression to match

[Visual Basic]
Public Property RegexToMatch As String
[C#]
public string RegexToMatch {get; set;}

Remarks

The regular expression pattern that will be matched against the rendered message. If the message matches this pattern then the filter will match. If a match is found then the result depends on the value of AcceptOnMatch.

One of StringToMatch or RegexToMatch must be specified.

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandlerMethods.html0000644000175000017500000001227410412737534030156 0ustar slomoslomo TelnetAppender.SocketHandler Methods
log4net SDK Reference

TelnetAppender.SocketHandler Methods

The methods of the TelnetAppender.SocketHandler class are listed below. For a complete list of TelnetAppender.SocketHandler class members, see the TelnetAppender.SocketHandler Members topic.

Public Instance Methods

Dispose Close all network connections
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Send Sends a string message to each of the connected clients
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TelnetAppender.SocketHandler Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.m_regexToMatch.html0000644000175000017500000000416010412737550027151 0ustar slomoslomo StringMatchFilter.m_regexToMatch Field
log4net SDK Reference

StringMatchFilter.m_regexToMatch Field

A regex object to match (generated from m_stringRegexToMatch)

[Visual Basic]
Protected m_regexToMatch As Regex
[C#]
protected Regex m_regexToMatch;

Remarks

Missing <remarks> documentation for F:log4net.Filter.StringMatchFilter.m_regexToMatch

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.LookupProperty.html0000644000175000017500000000640510412737544025732 0ustar slomoslomo LoggingEvent.LookupProperty Method
log4net SDK Reference

LoggingEvent.LookupProperty Method 

Lookup a composite property in this event

[Visual Basic]
Public Function LookupProperty( _
   ByVal key As String _
) As Object
[C#]
public object LookupProperty(
   string key
);

Parameters

key
the key for the property to lookup

Return Value

the value for the property

Remarks

This event has composite properties that combine together properties from several different contexts in the following order:

this events properties
This event has Properties that can be set. These properties are specific to this event only.
the thread properties
The Properties that are set on the current thread. These properties are shared by all events logged on this thread.
the global properties
The Properties that are set globally. These properties are shared by all the threads in the AppDomain.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.ResetConfiguration.html0000644000175000017500000000376410412737554031063 0ustar slomoslomo ILoggerRepository.ResetConfiguration Method
log4net SDK Reference

ILoggerRepository.ResetConfiguration Method 

Reset the repositories configuration to a default state

[Visual Basic]
Sub ResetConfiguration()
[C#]
void ResetConfiguration();

Remarks

Reset all values contained in this instance to their default state.

Existing loggers are not removed. They are just reset.

This method should be used sparingly and with care as it will block all logging until it is completed.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppenderProperties.html0000644000175000017500000001061610412737534027046 0ustar slomoslomo TextWriterAppender Properties
log4net SDK Reference

TextWriterAppender Properties

The properties of the TextWriterAppender class are listed below. For a complete list of TextWriterAppender class members, see the TextWriterAppender Members topic.

Public Instance Properties

ErrorHandler Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush Gets or set whether the appender will flush at the end of each append operation.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
Writer Sets the TextWriter where the log output will go.

Protected Instance Properties

QuietWriter Gets or sets the QuietTextWriter where logging events will be written to.
RequiresLayout This appender requires a log4net.Layout to be set.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternParser.html0000644000175000017500000000463010412737562023142 0ustar slomoslomo PatternParser Class
log4net SDK Reference

PatternParser Class

Most of the work of the PatternLayout class is delegated to the PatternParser class.

For a list of all members of this type, see PatternParser Members.

System.Object
   log4net.Util.PatternParser

[Visual Basic]
NotInheritable Public Class PatternParser
[C#]
public sealed class PatternParser

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The PatternParser processes a pattern string and returns a chain of PatternConverter objects.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

PatternParser Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPluginConstructor.html0000644000175000017500000000346610412737554030256 0ustar slomoslomo RemoteLoggingServerPlugin Constructor
log4net SDK Reference

RemoteLoggingServerPlugin Constructor

Default constructor

Overload List

Default constructor

public RemoteLoggingServerPlugin();

Construct with sink Uri.

public RemoteLoggingServerPlugin(string);

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppenderProperties.html0000644000175000017500000000672610412737522027102 0ustar slomoslomo AspNetTraceAppender Properties
log4net SDK Reference

AspNetTraceAppender Properties

The properties of the AspNetTraceAppender class are listed below. For a complete list of AspNetTraceAppender class members, see the AspNetTraceAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

AspNetTraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLogger_overloads.html0000644000175000017500000000535610412737516025411 0ustar slomoslomo GetLogger Method
log4net SDK Reference

LogManager.GetLogger Method

Get or create a logger.

Overload List

Retrieves or creates a named logger.

public static ILog GetLogger(Assembly,string);

Shorthand for GetLogger.

public static ILog GetLogger(Assembly,Type);

Retrieves or creates a named logger.

public static ILog GetLogger(string);

Retrieves or creates a named logger.

public static ILog GetLogger(string,string);

Shorthand for GetLogger.

public static ILog GetLogger(string,Type);

Shorthand for GetLogger.

public static ILog GetLogger(Type);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.IsFixedSize.html0000644000175000017500000000521310412737522027122 0ustar slomoslomo IsFixedSize Property
log4net SDK Reference

AppenderCollection.IsFixedSize Property

Gets a value indicating whether the collection has a fixed size.

[Visual Basic]
Overridable Public ReadOnly Property IsFixedSize As Boolean _
    Implements IList.IsFixedSize
[C#]
public virtual bool IsFixedSize {get;}

Property Value

true if the collection has a fixed size; otherwise, false. The default is false

Implements

IList.IsFixedSize

Remarks

Missing <remarks> documentation for P:log4net.Appender.AppenderCollection.IsFixedSize

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.IFilter.html0000644000175000017500000001456310412737546022226 0ustar slomoslomo IFilter Interface
log4net SDK Reference

IFilter Interface

Implement this interface to provide customized logging event filtering

For a list of all members of this type, see IFilter Members.

[Visual Basic]
Public Interface IFilter
    Implements IOptionHandler
[C#]
public interface IFilter : IOptionHandler

Types that implement IFilter

Type Description
DenyAllFilter This filter drops all LoggingEvent.
FilterSkeleton Subclass this type to implement customized logging event filtering
LevelMatchFilter This is a very simple filter based on Level matching.
LevelRangeFilter This is a simple filter based on Level matching.
LoggerMatchFilter Simple filter to match a string in the event's logger name.
MdcFilter Simple filter to match a keyed string in the MDC
NdcFilter Simple filter to match a string in the NDC
PropertyFilter Simple filter to match a string an event property
StringMatchFilter Simple filter to match a string in the rendered message

Remarks

Users should implement this interface to implement customized logging event filtering. Note that Logger and AppenderSkeleton, the parent class of all standard appenders, have built-in filtering rules. It is suggested that you first use and understand the built-in rules before rushing to write your own custom filters.

This abstract class assumes and also imposes that filters be organized in a linear chain. The Decide method of each filter is called sequentially, in the order of their addition to the chain.

The Decide method must return one of the integer constants Deny, Neutral or Accept.

If the value Deny is returned, then the log event is dropped immediately without consulting with the remaining filters.

If the value Neutral is returned, then the next filter in the chain is consulted. If there are no more filters in the chain, then the log event is logged. Thus, in the presence of no filters, the default behavior is to log all logging events.

If the value Accept is returned, then the log event is logged without consulting the remaining filters.

The philosophy of log4net filters is largely inspired from the Linux ipchains.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

IFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionConstructor4.html0000644000175000017500000000456210412737542025742 0ustar slomoslomo LevelCollection Constructor (Level[])
log4net SDK Reference

LevelCollection Constructor (Level[])

Initializes a new instance of the LevelCollection class that contains elements copied from the specified Level array.

[Visual Basic]
Overloads Public Sub New( _
   ByVal a As Level() _
)
[C#]
public LevelCollection(
   Level[] a
);

Parameters

a
The Level array whose elements are copied to the new list.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.#ctor(log4net.Core.Level[])

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextPropertiesMethods.html0000644000175000017500000000766010412737564026535 0ustar slomoslomo ThreadContextProperties Methods
log4net SDK Reference

ThreadContextProperties Methods

The methods of the ThreadContextProperties class are listed below. For a complete list of ThreadContextProperties class members, see the ThreadContextProperties Members topic.

Public Instance Methods

Clear Clear all properties
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove a property
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextProperties.Item.html0000644000175000017500000000502110412737564026073 0ustar slomoslomo Item Property
log4net SDK Reference

ThreadContextProperties.Item Property

Gets or sets the value of a property

[Visual Basic]
Overrides Public Default Property Item( _
   ByVal key As String _
) As Object
[C#]
public override object this[
   string key
] {get; set;}

Parameters

key
Missing <param> documentation for key

Property Value

The value for the property with the specified key

Remarks

Gets or sets the value of a property

See Also

ThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.FilterHead.html0000644000175000017500000000365310412737522026442 0ustar slomoslomo FilterHead Property
log4net SDK Reference

AppenderSkeleton.FilterHead Property

The filter chain.

[Visual Basic]
Overridable Public ReadOnly Property FilterHead As IFilter
[C#]
public virtual log4net.Filter.IFilter FilterHead {get;}

Property Value

The head of the filter chain filter chain.

Remarks

Returns the head Filter. The Filters are organized in a linked list and so all Filters on this Appender are available through the result.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IFixingRequired.html0000644000175000017500000000631410412737540023356 0ustar slomoslomo IFixingRequired Interface
log4net SDK Reference

IFixingRequired Interface

Interface for objects that require fixing.

For a list of all members of this type, see IFixingRequired Members.

[Visual Basic]
Public Interface IFixingRequired
[C#]
public interface IFixingRequired

Types that implement IFixingRequired

Type Description
ThreadContextStack Implementation of Stack for the ThreadContext

Remarks

Interface that indicates that the object requires fixing before it can be taken outside the context of the appender's DoAppend method.

When objects that implement this interface are stored in the context properties maps GlobalContext Properties and ThreadContext Properties are fixed (see Fix) the GetFixedObject method will be called.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

IFixingRequired Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.IXmlRepositoryConfiguratorMembers.html0000644000175000017500000000352410412737554030463 0ustar slomoslomo IXmlRepositoryConfigurator Members
log4net SDK Reference

IXmlRepositoryConfigurator Members

IXmlRepositoryConfigurator overview

Public Instance Methods

Configure Initialize the repository using the specified config

See Also

IXmlRepositoryConfigurator Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.IsAsSevereAsThreshold.html0000644000175000017500000000506410412737522030603 0ustar slomoslomo AppenderSkeleton.IsAsSevereAsThreshold Method
log4net SDK Reference

AppenderSkeleton.IsAsSevereAsThreshold Method 

Checks if the message level is below this appender's threshold.

[Visual Basic]
Overridable Protected Function IsAsSevereAsThreshold( _
   ByVal level As Level _
) As Boolean
[C#]
protected virtual bool IsAsSevereAsThreshold(
   Level level
);

Parameters

level
Level to test against.

Return Value

true if the level meets the Threshold requirements of this appender.

Remarks

If there is no threshold set, then the return value is always true.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.SendBuffer_overload_1.html0000644000175000017500000000572510412737520030157 0ustar slomoslomo AdoNetAppender.SendBuffer Method (IDbTransaction, LoggingEvent[])
log4net SDK Reference

AdoNetAppender.SendBuffer Method (IDbTransaction, LoggingEvent[])

Writes the events to the database using the transaction specified.

[Visual Basic]
Overridable Overloads Protected Sub SendBuffer( _
   ByVal dbTran As IDbTransaction, _
   ByVal events As LoggingEvent() _
)
[C#]
protected virtual void SendBuffer(
   IDbTransaction dbTran,
   LoggingEvent[] events
);

Parameters

dbTran
The transaction that the events will be executed under.
events
The array of events to insert into the database.

Remarks

The transaction argument can be null if the appender has been configured not to use transactions. See UseTransactions property for more information.

See Also

AdoNetAppender Class | log4net.Appender Namespace | AdoNetAppender.SendBuffer Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLockMethods.html0000644000175000017500000001307110412737526027250 0ustar slomoslomo FileAppender.MinimalLock Methods
log4net SDK Reference

FileAppender.MinimalLock Methods

The methods of the FileAppender.MinimalLock class are listed below. For a complete list of FileAppender.MinimalLock class members, see the FileAppender.MinimalLock Members topic.

Public Instance Methods

AcquireLock Acquire the lock on the file
CloseFile Close the file
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
OpenFile Prepares to open the file when the first message is logged.
ReleaseLock Release the lock on the file
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Count.html0000644000175000017500000000476410412737522026036 0ustar slomoslomo Count Property
log4net SDK Reference

AppenderCollection.Count Property

Gets the number of elements actually contained in the AppenderCollection.

[Visual Basic]
Overridable Public ReadOnly Property Count As Integer _
    Implements ICollection.Count
[C#]
public virtual int Count {get;}

Implements

ICollection.Count

Remarks

Missing <remarks> documentation for P:log4net.Appender.AppenderCollection.Count

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IErrorHandlerMembers.html0000644000175000017500000000334410412737540024333 0ustar slomoslomo IErrorHandler Members
log4net SDK Reference

IErrorHandler Members

IErrorHandler overview

Public Instance Methods

ErrorOverloaded. Prints the error message passed as a parameter.

See Also

IErrorHandler Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.html0000644000175000017500000000454310412737542022031 0ustar slomoslomo LevelMap Class
log4net SDK Reference

LevelMap Class

Mapping between string name and Level object

For a list of all members of this type, see LevelMap Members.

System.Object
   log4net.Core.LevelMap

[Visual Basic]
NotInheritable Public Class LevelMap
[C#]
public sealed class LevelMap

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Mapping between string name and Level object. This mapping is held separately for each ILoggerRepository. The level name is case insensitive.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LevelMap Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.SimpleDateFormatter.html0000644000175000017500000000576610412737546026124 0ustar slomoslomo SimpleDateFormatter Class
log4net SDK Reference

SimpleDateFormatter Class

Formats the DateTime using the ToString method.

For a list of all members of this type, see SimpleDateFormatter Members.

System.Object
   log4net.DateFormatter.SimpleDateFormatter

[Visual Basic]
Public Class SimpleDateFormatter
    Implements IDateFormatter
[C#]
public class SimpleDateFormatter : IDateFormatter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Formats the DateTime using the DateTime ToString method.

Requirements

Namespace: log4net.DateFormatter

Assembly: log4net (in log4net.dll)

See Also

SimpleDateFormatter Members | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.ErrorFormat_overload_4.html0000644000175000017500000000765410412737546026260 0ustar slomoslomo LogImpl.ErrorFormat Method (String, Object)
log4net SDK Reference

LogImpl.ErrorFormat Method (String, Object)

Logs a formatted message string with the ERROR level.

[Visual Basic]
Overridable Overloads Public Sub ErrorFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
) _
    Implements ILog.ErrorFormat
[C#]
public virtual void ErrorFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Implements

ILog.ErrorFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the ErrorFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.ErrorFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.SendBuffer_overloads.html0000644000175000017500000000360510412737520030115 0ustar slomoslomo SendBuffer Method
log4net SDK Reference

AdoNetAppender.SendBuffer Method

Inserts the events into the database.

Overload List

Inserts the events into the database.

protected override void SendBuffer(LoggingEvent[]);

Writes the events to the database using the transaction specified.

protected virtual void SendBuffer(IDbTransaction,LoggingEvent[]);

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.Closed.html0000644000175000017500000000401010412737562024701 0ustar slomoslomo Closed Property
log4net SDK Reference

QuietTextWriter.Closed Property

Gets a value indicating whether this writer is closed.

[Visual Basic]
Public ReadOnly Property Closed As Boolean
[C#]
public bool Closed {get;}

Property Value

true if this writer is closed, otherwise false.

Remarks

Gets a value indicating whether this writer is closed.

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriter.Write_overload_6.html0000644000175000017500000000473210412737560030422 0ustar slomoslomo CountingQuietTextWriter.Write Method (String)
log4net SDK Reference

CountingQuietTextWriter.Write Method (String)

Writes a string to the output and counts the number of bytes written.

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal str As String _
)
[C#]
public override void Write(
   string str
);

Parameters

str
The string data to write to the output.

Remarks

Overrides implementation of QuietTextWriter. Counts the number of bytes written.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace | CountingQuietTextWriter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.LookupWithDefault.html0000644000175000017500000000472010412737542025437 0ustar slomoslomo LevelMap.LookupWithDefault Method
log4net SDK Reference

LevelMap.LookupWithDefault Method 

Lookup a named level from the map

[Visual Basic]
Public Function LookupWithDefault( _
   ByVal defaultLevel As Level _
) As Level
[C#]
public Level LookupWithDefault(
   Level defaultLevel
);

Parameters

defaultLevel
the name of the level to lookup is taken from this level. If the level is not set on the map then this level is added

Return Value

the level in the map with the name specified

Remarks

Lookup a named level from the map. The name of the level to lookup is taken from the Name property of the defaultLevel argument.

If no level with the specified name is found then the defaultLevel argument is added to the level map and returned.

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/privoperator.gif0000644000175000017500000000156710412737506020422 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@Tÿ  ° Áƒø\X A†ñý@ñņ'|‘¢ÇÿHHRbƉ¨´ñäÀ–‚䨲¦ÍøVzÌHÐ$ÏRPIS&Ι-;log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.DebugFormat_overload_5.html0000644000175000017500000000774610412737546026220 0ustar slomoslomo LogImpl.DebugFormat Method (String, Object[])
log4net SDK Reference

LogImpl.DebugFormat Method (String, Object[])

Logs a formatted message string with the DEBUG level.

[Visual Basic]
Overridable Overloads Public Sub DebugFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.DebugFormat
[C#]
public virtual void DebugFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.DebugFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the DebugFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.DebugFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.AssemblyLocationInfo.html0000644000175000017500000000515410412737564026537 0ustar slomoslomo SystemInfo.AssemblyLocationInfo Method
log4net SDK Reference

SystemInfo.AssemblyLocationInfo Method 

Gets the assembly location path for the specified assembly.

[Visual Basic]
Public Shared Function AssemblyLocationInfo( _
   ByVal myAssembly As Assembly _
) As String
[C#]
public static string AssemblyLocationInfo(
   Assembly myAssembly
);

Parameters

myAssembly
The assembly to get the location for.

Return Value

The location of the assembly.

Remarks

This method does not guarantee to return the correct path to the assembly. If only tries to give an indication as to where the assembly was loaded from.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.SecurityContextProviderAttributeProperties.html0000644000175000017500000000461010412737540031462 0ustar slomoslomo SecurityContextProviderAttribute Properties
log4net SDK Reference

SecurityContextProviderAttribute Properties

The properties of the SecurityContextProviderAttribute class are listed below. For a complete list of SecurityContextProviderAttribute class members, see the SecurityContextProviderAttribute Members topic.

Public Instance Properties

ProviderType Gets or sets the type of the provider to use.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

SecurityContextProviderAttribute Class | log4net.Config Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClientMembers.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClientMembers.htm0000644000175000017500000001363010412737534032354 0ustar slomoslomo TelnetAppender.SocketHandler.SocketClient Members
log4net SDK Reference

TelnetAppender.SocketHandler.SocketClient Members

TelnetAppender.SocketHandler.SocketClient overview

Public Instance Constructors

TelnetAppender.SocketHandler.SocketClient Constructor Create this TelnetAppender.SocketHandler.SocketClient for the specified Socket

Public Instance Methods

Dispose Cleanup the clients connection
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Send Write a string to the client
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TelnetAppender.SocketHandler.SocketClient Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternParserMembers.html0000644000175000017500000001061610412737562024456 0ustar slomoslomo PatternParser Members
log4net SDK Reference

PatternParser Members

PatternParser overview

Public Instance Constructors

PatternParser Constructor Constructor

Public Instance Properties

PatternConverters Get the converter registry used by this parser

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Parse Parses the pattern into a chain of pattern converters.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PatternParser Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateDomain_overload_1.html0000644000175000017500000000661610412737516026122 0ustar slomoslomo LogManager.CreateDomain Method (Type)
log4net SDK Reference

LogManager.CreateDomain Method (Type)

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository with the specified repository type.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateDomain(
   Type repositoryType
);

Parameters

repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository will return the same repository instance.

See Also

LogManager Class | log4net Namespace | LogManager.CreateDomain Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeleton.Next.html0000644000175000017500000000407010412737546024527 0ustar slomoslomo Next Property
log4net SDK Reference

FilterSkeleton.Next Property

Property to get and set the next filter

[Visual Basic]
NotOverridable Public Property Next As IFilter _
    Implements IFilter.Next
[C#]
public IFilter Next {get; set;}

Property Value

The next filter in the chain

Implements

IFilter.Next

Remarks

Filters are typically composed into chains. This property allows the next filter in the chain to be accessed.

See Also

FilterSkeleton Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLock.OpenFile.html0000644000175000017500000000670510412737526030013 0ustar slomoslomo FileAppender.ExclusiveLock.OpenFile Method
log4net SDK Reference

FileAppender.ExclusiveLock.OpenFile Method 

Open the file specified and prepare for logging.

[Visual Basic]
Overrides Public Sub OpenFile( _
   ByVal filename As String, _
   ByVal append As Boolean, _
   ByVal encoding As Encoding _
)
[C#]
public override void OpenFile(
   string filename,
   bool append,
   Encoding encoding
);

Parameters

filename
The filename to use
append
Whether to append to the file, or overwrite
encoding
The encoding to use

Remarks

Open the file specified and prepare for logging. No writes will be made until AcquireLock is called. Must be called before any calls to AcquireLock, ReleaseLock and CloseFile.

See Also

FileAppender.ExclusiveLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.html0000644000175000017500000000710610412737534025406 0ustar slomoslomo SmtpPickupDirAppender Class
log4net SDK Reference

SmtpPickupDirAppender Class

Send an email when a specific logging event occurs, typically on errors or fatal errors. Rather than sending via smtp it writes a file into the directory specified by PickupDir. This allows services such as the IIS SMTP agent to manage sending the messages.

For a list of all members of this type, see SmtpPickupDirAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.BufferingAppenderSkeleton
         log4net.Appender.SmtpPickupDirAppender

[Visual Basic]
Public Class SmtpPickupDirAppender
    Inherits BufferingAppenderSkeleton
[C#]
public class SmtpPickupDirAppender : BufferingAppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The configuration for this appender is identical to that of the SMTPAppender, except that instead of specifying the SMTPAppender.SMTPHost you specify PickupDir.

The number of logging events delivered in this e-mail depend on the value of BufferSize option. The SmtpPickupDirAppender keeps only the last BufferSize logging events in its cyclic buffer. This keeps memory requirements at a reasonable level while still delivering useful application context.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

SmtpPickupDirAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ConverterInfo.Name.html0000644000175000017500000000373510412737562026622 0ustar slomoslomo Name Property
log4net SDK Reference

PatternString.ConverterInfo.Name Property

Gets or sets the name of the conversion pattern

[Visual Basic]
Public Property Name As String
[C#]
public string Name {get; set;}

Property Value

The name of the conversion pattern

Remarks

Gets or sets the name of the conversion pattern

See Also

PatternString.ConverterInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayout.Prefix.html0000644000175000017500000000366410412737552024107 0ustar slomoslomo Prefix Property
log4net SDK Reference

XmlLayout.Prefix Property

The prefix to use for all element names

[Visual Basic]
Public Property Prefix As String
[C#]
public string Prefix {get; set;}

Remarks

The default prefix is log4net. Set this property to change the prefix. If the prefix is set to an empty string then no prefix will be written.

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.DomainName.html0000644000175000017500000000466610412737564027121 0ustar slomoslomo DomainName Property
log4net SDK Reference

WindowsSecurityContext.DomainName Property

Gets or sets the Windows domain name for this security context

[Visual Basic]
Public Property DomainName As String
[C#]
public string DomainName {get; set;}

Property Value

The Windows domain name for this security context

Remarks

The default value for DomainName is the local machine name taken from the MachineName property.

This property must be set if Credentials is set to User (the default setting).

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent.html0000644000175000017500000000412410412737554031451 0ustar slomoslomo LoggerRepositorySkeleton.ShutdownEvent Event
log4net SDK Reference

LoggerRepositorySkeleton.ShutdownEvent Event

Event to notify that the repository has been shutdown.

[Visual Basic]
Public Event ShutdownEvent As LoggerRepositoryShutdownEventHandler
[C#]
public event LoggerRepositoryShutdownEventHandler ShutdownEvent;

Implements

ILoggerRepository.ShutdownEvent

Remarks

Event raised when the repository has been shutdown.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.GetRepository_overloads.html0000644000175000017500000000414010412737540032374 0ustar slomoslomo GetRepository Method
log4net SDK Reference

DefaultRepositorySelector.GetRepository Method

Gets the ILoggerRepository for the specified assembly.

Overload List

Gets the ILoggerRepository for the specified assembly.

public ILoggerRepository GetRepository(Assembly);

Gets the ILoggerRepository for the specified repository.

public ILoggerRepository GetRepository(string);

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMap.AllPlugins.html0000644000175000017500000000370210412737554024636 0ustar slomoslomo AllPlugins Property
log4net SDK Reference

PluginMap.AllPlugins Property

Gets all possible plugins as a list of IPlugin objects.

[Visual Basic]
Public ReadOnly Property AllPlugins As PluginCollection
[C#]
public PluginCollection AllPlugins {get;}

Property Value

All possible plugins as a list of IPlugin objects.

Remarks

Get a collection of all the plugins defined in this map.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateDomain_overload_4.html0000644000175000017500000000771110412737516026122 0ustar slomoslomo LogManager.CreateDomain Method (Assembly, Type)
log4net SDK Reference

LogManager.CreateDomain Method (Assembly, Type)

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository for the specified assembly and repository type.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal repositoryAssembly As Assembly, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateDomain(
   Assembly repositoryAssembly,
   Type repositoryType
);

Parameters

repositoryAssembly
The assembly to use to get the name of the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same assembly specified will return the same repository instance.

See Also

LogManager Class | log4net Namespace | LogManager.CreateDomain Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.ThreadName.html0000644000175000017500000000376310412737544024730 0ustar slomoslomo ThreadName Property
log4net SDK Reference

LoggingEvent.ThreadName Property

Gets the name of the current thread.

[Visual Basic]
Public ReadOnly Property ThreadName As String
[C#]
public string ThreadName {get;}

Property Value

The name of the current thread, or the thread ID when the name is not available.

Remarks

The collected information is cached for future use.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeletonMembers.html0000644000175000017500000001361410412737546025131 0ustar slomoslomo FilterSkeleton Members
log4net SDK Reference

FilterSkeleton Members

FilterSkeleton overview

Public Instance Properties

Next Property to get and set the next filter

Public Instance Methods

ActivateOptions Initialize the filter with the options set
Decide Decide if the LoggingEvent should be logged through an appender.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

FilterSkeleton Constructor Initializes a new instance of the FilterSkeleton class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FilterSkeleton Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollection.Instance.html0000644000175000017500000000340410412737560025221 0ustar slomoslomo Instance Property
log4net SDK Reference

EmptyCollection.Instance Property

Gets the singleton instance of the empty collection.

[Visual Basic]
Public Shared ReadOnly Property Instance As EmptyCollection
[C#]
public static EmptyCollection Instance {get;}

Remarks

Gets the singleton instance of the empty collection.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStack.Push.html0000644000175000017500000000624710412737564025040 0ustar slomoslomo ThreadContextStack.Push Method
log4net SDK Reference

ThreadContextStack.Push Method 

Pushes a new context message into this stack.

[Visual Basic]
Public Function Push( _
   ByVal message As String _
) As IDisposable
[C#]
public IDisposable Push(
   string message
);

Parameters

message
The new context message.

Return Value

An IDisposable that can be used to clean up the context stack.

Remarks

Pushes a new context onto this stack. An IDisposable is returned that can be used to clean up this stack. This can be easily combined with the using keyword to scope the context.

Example

Simple example of using the Push method with the using keyword.

[C#]
using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))
{
    log.Warn("This should have an ThreadContext Stack message");
}

See Also

ThreadContextStack Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.FatalFormat_overload_5.html0000644000175000017500000000774610412737546026221 0ustar slomoslomo LogImpl.FatalFormat Method (String, Object[])
log4net SDK Reference

LogImpl.FatalFormat Method (String, Object[])

Logs a formatted message string with the FATAL level.

[Visual Basic]
Overridable Overloads Public Sub FatalFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.FatalFormat
[C#]
public virtual void FatalFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.FatalFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the FatalFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.FatalFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatterMembers.html0000644000175000017500000001552410412737546030574 0ustar slomoslomo AbsoluteTimeDateFormatter Members
log4net SDK Reference

AbsoluteTimeDateFormatter Members

AbsoluteTimeDateFormatter overview

Public Static (Shared) Fields

AbsoluteTimeDateFormat String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is ABSOLUTE.
DateAndTimeDateFormat String constant used to specify DateTimeDateFormat in layouts. Current value is DATE.
Iso8601TimeDateFormat String constant used to specify ISO8601DateFormat in layouts. Current value is ISO8601.

Public Instance Constructors

AbsoluteTimeDateFormatter Constructor Initializes a new instance of the AbsoluteTimeDateFormatter class.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate Renders the date into a string. Format is "HH:mm:ss,fff".
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatDateWithoutMillis Renders the date into a string. Format is "HH:mm:ss".
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Close.html0000644000175000017500000000447610412737522025504 0ustar slomoslomo AppenderSkeleton.Close Method
log4net SDK Reference

AppenderSkeleton.Close Method 

Closes the appender and release resources.

[Visual Basic]
NotOverridable Public Sub Close() _
    Implements IAppender.Close
[C#]
public void Close();

Implements

IAppender.Close

Remarks

Release any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

This method cannot be overridden by subclasses. This method delegates the closing of the appender to the OnClose method which must be overridden in the subclass.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClient.html0000644000175000017500000000545110412737534031217 0ustar slomoslomo TelnetAppender.SocketHandler.SocketClient Class
log4net SDK Reference

TelnetAppender.SocketHandler.SocketClient Class

Class that represents a client connected to this handler

For a list of all members of this type, see TelnetAppender.SocketHandler.SocketClient Members.

System.Object
   log4net.Appender.TelnetAppender.SocketHandler.SocketClient

[Visual Basic]
Protected Class TelnetAppender.SocketHandler.SocketClient
    Implements IDisposable
[C#]
protected class TelnetAppender.SocketHandler.SocketClient : IDisposable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Class that represents a client connected to this handler

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

TelnetAppender.SocketHandler.SocketClient Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Clear.html0000644000175000017500000000442510412737554025173 0ustar slomoslomo PluginCollection.Clear Method
log4net SDK Reference

PluginCollection.Clear Method 

Removes all elements from the PluginCollection.

[Visual Basic]
Overridable Public Sub Clear() _
    Implements IList.Clear
[C#]
public virtual void Clear();

Implements

IList.Clear

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.Clear

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternParser.PatternConverters.html0000644000175000017500000000404610412737562026632 0ustar slomoslomo PatternConverters Property
log4net SDK Reference

PatternParser.PatternConverters Property

Get the converter registry used by this parser

[Visual Basic]
Public ReadOnly Property PatternConverters As Hashtable
[C#]
public System.Collections.Hashtable PatternConverters {get;}

Property Value

The converter registry used by this parser

Remarks

Get the converter registry used by this parser

See Also

PatternParser Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.html0000644000175000017500000000660010412737520020031 0ustar slomoslomo NDC Class
log4net SDK Reference

NDC Class

Implementation of Nested Diagnostic Contexts.

For a list of all members of this type, see NDC Members.

System.Object
   log4net.NDC

[Visual Basic]
NotInheritable Public Class NDC
[C#]
public sealed class NDC

Thread Safety

This type is safe for multithreaded operations.

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

A Nested Diagnostic Context, or NDC in short, is an instrument to distinguish interleaved log output from different sources. Log output is typically interleaved when a server handles multiple clients near-simultaneously.

Interleaved log output can still be meaningful if each log entry from different contexts had a distinctive stamp. This is where NDCs come into play.

Note that NDCs are managed on a per thread basis. The NDC class is made up of static methods that operate on the context of the calling thread.

Example

How to push a message into the context

[C#]
using(NDC.Push("my context message"))
{
    ... all log calls will have 'my context message' included ...

} // at the end of the using block the message is automatically removed 

Requirements

Namespace: log4net

Assembly: log4net (in log4net.dll)

See Also

NDC Members | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.TrimToSize.html0000644000175000017500000000363010412737554026213 0ustar slomoslomo PluginCollection.TrimToSize Method
log4net SDK Reference

PluginCollection.TrimToSize Method 

Sets the capacity to the actual number of elements.

[Visual Basic]
Overridable Public Sub TrimToSize()
[C#]
public virtual void TrimToSize();

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.TrimToSize

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.Option.html0000644000175000017500000000357310412737562025131 0ustar slomoslomo Option Property
log4net SDK Reference

PatternConverter.Option Property

Gets or sets the option value for this converter

[Visual Basic]
Overridable Public Property Option As String
[C#]
public virtual string Option {get; set;}

Remarks

Gets or sets the option value for this converter

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.LogName.html0000644000175000017500000000507610412737526025721 0ustar slomoslomo LogName Property
log4net SDK Reference

EventLogAppender.LogName Property

The name of the log where messages will be stored.

[Visual Basic]
Public Property LogName As String
[C#]
public string LogName {get; set;}

Property Value

The string name of the log where messages will be stored.

Remarks

This is the name of the log as it appears in the Event Viewer tree. The default value is to log into the Application log, this is where most applications write their events. However if you need a separate log for your application (or applications) then you should set the LogName appropriately.

This should not be used to distinguish your event log messages from those of other applications, the ApplicationName property should be used to distinguish events. This property should be used to group together events into a single log.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo.html0000644000175000017500000000566410412737566031441 0ustar slomoslomo ConverterRegistry.GetConvertTo Method
log4net SDK Reference

ConverterRegistry.GetConvertTo Method 

Gets the type converter to use to convert values to the destination type.

[Visual Basic]
Public Shared Function GetConvertTo( _
   ByVal sourceType As Type, _
   ByVal destinationType As Type _
) As IConvertTo
[C#]
public static IConvertTo GetConvertTo(
   Type sourceType,
   Type destinationType
);

Parameters

sourceType
The type being converted from.
destinationType
The type being converted to.

Return Value

The type converter instance to use for type conversions or null if no type converter is found.

Remarks

Gets the type converter to use to convert values to the destination type.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.InfoFormat_overload_2.html0000644000175000017500000001031010412737516024434 0ustar slomoslomo ILog.InfoFormat Method (String, Object, Object, Object)
log4net SDK Reference

ILog.InfoFormat Method (String, Object, Object, Object)

Logs a formatted message string with the Info level.

[Visual Basic]
Sub InfoFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
)
[C#]
void InfoFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

ILog Interface | log4net Namespace | ILog.InfoFormat Overload List | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppenderConstructor.html0000644000175000017500000000322310412737522027260 0ustar slomoslomo AspNetTraceAppender Constructor
log4net SDK Reference

AspNetTraceAppender Constructor 

Initializes a new instance of the AspNetTraceAppender class.

[Visual Basic]
Public Sub New()
[C#]
public AspNetTraceAppender();

Remarks

Default constructor.

See Also

AspNetTraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.GetLogger_overload_1.html0000644000175000017500000000576210412737556031450 0ustar slomoslomo Hierarchy.GetLogger Method (String)
log4net SDK Reference

Hierarchy.GetLogger Method (String)

Return a new logger instance named as the first parameter using the default factory.

[Visual Basic]
Overrides Overloads Public Function GetLogger( _
   ByVal name As String _
) As ILogger _
    Implements ILoggerRepository.GetLogger
[C#]
public override ILogger GetLogger(
   string name
);

Parameters

name
The name of the logger to retrieve

Return Value

The logger object with the name specified

Implements

ILoggerRepository.GetLogger

Remarks

Return a new logger instance named as the first parameter using the default factory.

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.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace | Hierarchy.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLogMembers.html0000644000175000017500000001325510412737560023047 0ustar slomoslomo LogLog Members
log4net SDK Reference

LogLog Members

LogLog overview

Public Static (Shared) Properties

InternalDebugging Gets or sets a value indicating whether log4net internal logging is enabled or disabled.
IsDebugEnabled Test if LogLog.Debug is enabled for output.
IsErrorEnabled Test if LogLog.Error is enabled for output.
IsWarnEnabled Test if LogLog.Warn is enabled for output.
QuietMode Gets or sets a value indicating whether log4net should generate no output from internal logging, not even for errors.

Public Static (Shared) Methods

DebugOverloaded. Writes log4net internal debug messages to the standard output stream.
ErrorOverloaded. Writes log4net internal error messages to the standard error stream.
WarnOverloaded. Writes log4net internal warning messages to the standard error stream.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.ConsoleOut.html0000644000175000017500000000416310412737524027652 0ustar slomoslomo ColoredConsoleAppender.ConsoleOut Field
log4net SDK Reference

ColoredConsoleAppender.ConsoleOut Field

The Target to use when writing to the Console standard output stream.

[Visual Basic]
Public Const ConsoleOut As String = "Console.Out"
[C#]
public const string ConsoleOut = "Console.Out";

Remarks

The Target to use when writing to the Console standard output stream.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImplMembers.html0000644000175000017500000002203210412737544023175 0ustar slomoslomo LogImpl Members
log4net SDK Reference

LogImpl Members

LogImpl overview

Public Instance Constructors

LogImpl Constructor Construct a new wrapper for the specified logger.

Public Instance Properties

IsDebugEnabled Checks if this logger is enabled for the DEBUG level.
IsErrorEnabled Checks if this logger is enabled for the ERROR level.
IsFatalEnabled Checks if this logger is enabled for the FATAL level.
IsInfoEnabled Checks if this logger is enabled for the INFO level.
IsWarnEnabled Checks if this logger is enabled for the WARN level.
Logger (inherited from LoggerWrapperImpl) Gets the implementation behind this wrapper object.

Public Instance Methods

DebugOverloaded. Logs a message object with the DEBUG level
DebugFormatOverloaded. Logs a formatted message string with the DEBUG level.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ErrorOverloaded. Logs a message object with the ERROR level
ErrorFormatOverloaded. Logs a formatted message string with the ERROR level.
FatalOverloaded. Logs a message object with the FATAL level
FatalFormatOverloaded. Logs a formatted message string with the FATAL level.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
InfoOverloaded. Logs a message object with the INFO level.
InfoFormatOverloaded. Logs a formatted message string with the INFO level.
ToString (inherited from Object) Returns a String that represents the current Object.
WarnOverloaded. Logs a message object with the WARN level
WarnFormatOverloaded. Logs a formatted message string with the WARN level.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
ReloadLevels Virtual method called when the configuration of the repository changes

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertFrom.ConvertFrom.html0000644000175000017500000000473410412737566030174 0ustar slomoslomo IConvertFrom.ConvertFrom Method
log4net SDK Reference

IConvertFrom.ConvertFrom Method 

Convert the source object to the type supported by this object

[Visual Basic]
Function ConvertFrom( _
   ByVal source As Object _
) As Object
[C#]
object ConvertFrom(
   object source
);

Parameters

source
the object to convert

Return Value

the converted object

Remarks

Converts the source to the type supported by this converter.

See Also

IConvertFrom Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.IsWarnEnabled.html0000644000175000017500000000457110412737516022746 0ustar slomoslomo IsWarnEnabled Property
log4net SDK Reference

ILog.IsWarnEnabled Property

Checks if this logger is enabled for the Warn level.

[Visual Basic]
Property IsWarnEnabled As Boolean
[C#]
bool IsWarnEnabled {get;}

Property Value

true if this logger is enabled for Warn events, false otherwise.

Remarks

For more information see IsDebugEnabled.

See Also

ILog Interface | log4net Namespace | Warn | WarnFormat | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.html0000644000175000017500000000662210412737516017437 0ustar slomoslomo log4net
log4net SDK Reference

log4net Namespace

Primary types used by calling applications to generate log messages.

Namespace hierarchy

Classes

Class Description
GlobalContext The log4net Global Context.
LogicalThreadContext The log4net Logical Thread Context.
LogManager This class is used by client applications to request logger instances.
MDC Implementation of Mapped Diagnostic Contexts.
NDC Implementation of Nested Diagnostic Contexts.
ThreadContext The log4net Thread Context.

Interfaces

Interface Description
ILog The ILog interface is use by application to log messages into the log4net framework.

log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.IObjectRendererMethods.html0000644000175000017500000000363010412737552026660 0ustar slomoslomo IObjectRenderer Methods
log4net SDK Reference

IObjectRenderer Methods

The methods of the IObjectRenderer interface are listed below. For a complete list of IObjectRenderer interface members, see the IObjectRenderer Members topic.

Public Instance Methods

RenderObject Render the object obj to a string

See Also

IObjectRenderer Interface | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.RootLoggerMembers.html0000644000175000017500000002420610412737556027131 0ustar slomoslomo RootLogger Members
log4net SDK Reference

RootLogger Members

RootLogger overview

Public Instance Constructors

RootLogger Constructor Construct a RootLogger

Public Instance Properties

Additivity (inherited from Logger) Gets or sets a value indicating if child loggers inherit their parent's appenders.
Appenders (inherited from Logger) Get the appenders contained in this logger as an ICollection.
EffectiveLevel Gets the assigned level value without walking the logger hierarchy.
Hierarchy (inherited from Logger) Gets or sets the Hierarchy where this Logger instance is attached to.
Level Gets or sets the assigned Level for the root logger.
Name (inherited from Logger) Gets the logger name.
Parent (inherited from Logger) Gets or sets the parent logger in the hierarchy.
Repository (inherited from Logger) Gets the ILoggerRepository where this Logger instance is attached to.

Public Instance Methods

AddAppender (inherited from Logger) Add newAppender to the list of appenders of this Logger instance.
CloseNestedAppenders (inherited from Logger) Closes all attached appenders implementing the IAppenderAttachable interface.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender (inherited from Logger) Look for the appender named as name
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IsEnabledFor (inherited from Logger) Checks if this logger is enabled for a given Level passed as parameter.
Log (inherited from Logger)Overloaded. This is the most generic printing method that is intended to be used by wrappers.
RemoveAllAppenders (inherited from Logger) Remove all previously added appenders from this Logger instance.
RemoveAppender (inherited from Logger)Overloaded. Remove the appender passed as parameter form the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CallAppenders (inherited from Logger) Deliver the LoggingEvent to the attached appenders.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
ForcedLog (inherited from Logger)Overloaded. Creates a new logging event and logs the event without further checks.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RootLogger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextMembers.html0000644000175000017500000001241010412737546025007 0ustar slomoslomo SecurityContext Members
log4net SDK Reference

SecurityContext Members

SecurityContext overview

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Impersonate Impersonate this SecurityContext
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

SecurityContext Constructor Initializes a new instance of the SecurityContext class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SecurityContext Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverterMethods.html0000644000175000017500000001306210412737552030351 0ustar slomoslomo PatternLayoutConverter Methods
log4net SDK Reference

PatternLayoutConverter Methods

The methods of the PatternLayoutConverter class are listed below. For a complete list of PatternLayoutConverter class members, see the PatternLayoutConverter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format (inherited from PatternConverter) Write the pattern converter to the writer with appropriate formatting
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
SetNext (inherited from PatternConverter) Set the next pattern converter in the chains
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

ConvertOverloaded. Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterSkeleton.Decide.html0000644000175000017500000000567010412737546024775 0ustar slomoslomo FilterSkeleton.Decide Method
log4net SDK Reference

FilterSkeleton.Decide Method 

Decide if the LoggingEvent should be logged through an appender.

[Visual Basic]
MustOverride Public Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision _
    Implements IFilter.Decide
[C#]
public abstract FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The LoggingEvent to decide upon

Return Value

The decision of the filter

Implements

IFilter.Decide

Remarks

If the decision is Deny, then the event will be dropped. If the decision is Neutral, then the next filter, if any, will be invoked. If the decision is Accept then the event will be logged without consulting with other filters in the chain.

This method is marked abstract and must be implemented in a subclass.

See Also

FilterSkeleton Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateDomain_overload_3.html0000644000175000017500000001032210412737516026111 0ustar slomoslomo LogManager.CreateDomain Method (String, Type)
log4net SDK Reference

LogManager.CreateDomain Method (String, Type)

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository with the specified name and repository type.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal repository As String, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateDomain(
   string repository,
   Type repositoryType
);

Parameters

repository
The name of the repository, this must be unique to the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LogManager Class | log4net Namespace | LogManager.CreateDomain Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.AddAppender.html0000644000175000017500000000520410412737524030744 0ustar slomoslomo BufferingForwardingAppender.AddAppender Method
log4net SDK Reference

BufferingForwardingAppender.AddAppender Method 

Adds an IAppender to the list of appenders of this instance.

[Visual Basic]
Overridable Public Sub AddAppender( _
   ByVal newAppender As IAppender _
) _
    Implements IAppenderAttachable.AddAppender
[C#]
public virtual void AddAppender(
   IAppender newAppender
);

Parameters

newAppender
The IAppender to add to this appender.

Implements

IAppenderAttachable.AddAppender

Remarks

If the specified IAppender is already in the list of appenders, then it won't be added again.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppenderMethods.html0000644000175000017500000002035610412737536024730 0ustar slomoslomo UdpAppender Methods
log4net SDK Reference

UdpAppender Methods

The methods of the UdpAppender class are listed below. For a complete list of UdpAppender class members, see the UdpAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
InitializeClientConnection Initializes the underlying UdpClient connection.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Closes the UDP connection and releases all resources associated with this UdpAppender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.AddConverter_overload_2.html0000644000175000017500000000605710412737550030220 0ustar slomoslomo PatternLayout.AddConverter Method (String, Type)
log4net SDK Reference

PatternLayout.AddConverter Method (String, Type)

Add a converter to this PatternLayout

[Visual Basic]
Overloads Public Sub AddConverter( _
   ByVal name As String, _
   ByVal type As Type _
)
[C#]
public void AddConverter(
   string name,
   Type type
);

Parameters

name
the name of the conversion pattern for this converter
type
the type of the converter

Remarks

Add a named pattern converter to this instance. This converter will be used in the formatting of the event. This method must be called before ActivateOptions.

The type specified must extend the PatternConverter type.

See Also

PatternLayout Class | log4net.Layout Namespace | PatternLayout.AddConverter Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingMethods.html0000644000175000017500000001013410412737560024251 0ustar slomoslomo LevelMapping Methods
log4net SDK Reference

LevelMapping Methods

The methods of the LevelMapping class are listed below. For a complete list of LevelMapping class members, see the LevelMapping Members topic.

Public Instance Methods

ActivateOptions Initialize options
Add Add a LevelMappingEntry to this mapping
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Lookup Lookup the mapping for the specified level
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LevelMapping Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.WarnFormat_overload_5.html0000644000175000017500000000772710412737546026100 0ustar slomoslomo LogImpl.WarnFormat Method (String, Object[])
log4net SDK Reference

LogImpl.WarnFormat Method (String, Object[])

Logs a formatted message string with the WARN level.

[Visual Basic]
Overridable Overloads Public Sub WarnFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.WarnFormat
[C#]
public virtual void WarnFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.WarnFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the WarnFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.WarnFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.CopyTo.html0000644000175000017500000000727410412737560024715 0ustar slomoslomo EmptyDictionary.CopyTo Method
log4net SDK Reference

EmptyDictionary.CopyTo Method 

Copies the elements of the ICollection to an Array, starting at a particular Array index.

[Visual Basic]
NotOverridable Public Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) _
    Implements ICollection.CopyTo
[C#]
public void CopyTo(
   Array array,
   int index
);

Parameters

array
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.

Implements

ICollection.CopyTo

Remarks

As the collection is empty no values are copied into the array.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Name.html0000644000175000017500000000355610412737542022255 0ustar slomoslomo Name Property
log4net SDK Reference

Level.Name Property

Gets the name of this level.

[Visual Basic]
Public ReadOnly Property Name As String
[C#]
public string Name {get;}

Property Value

The name of this level.

Remarks

Gets the name of this level.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.Add_overload_3.html0000644000175000017500000000401310412737542024625 0ustar slomoslomo LevelMap.Add Method (Level)
log4net SDK Reference

LevelMap.Add Method (Level)

Add a Level to the map

[Visual Basic]
Overloads Public Sub Add( _
   ByVal level As Level _
)
[C#]
public void Add(
   Level level
);

Parameters

level
the Level to add

Remarks

Add a Level to the map

See Also

LevelMap Class | log4net.Core Namespace | LevelMap.Add Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppenderMembers.html0000644000175000017500000003431310412737532026615 0ustar slomoslomo RemoteSyslogAppender Members
log4net SDK Reference

RemoteSyslogAppender Members

RemoteSyslogAppender overview

Public Static (Shared) Methods

GeneratePriority Generate a syslog priority.

Public Instance Constructors

RemoteSyslogAppender Constructor Initializes a new instance of the RemoteSyslogAppender class.

Public Instance Properties

Encoding (inherited from UdpAppender) Gets or sets Encoding used to write the packets.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Facility Syslog facility
FilterHead (inherited from AppenderSkeleton) The filter chain.
Identity Message identity
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LocalPort (inherited from UdpAppender) Gets or sets the TCP port number from which the underlying UdpClient will communicate.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
RemoteAddress (inherited from UdpAppender) Gets or sets the IP address of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
RemotePort (inherited from UdpAppender) Gets or sets the TCP port number of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the options for this appender
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to severity
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

Client (inherited from UdpAppender) Gets or sets the underlying UdpClient.
RemoteEndPoint (inherited from UdpAppender) Gets or sets the cached remote endpoint to which the logging events should be sent.
RequiresLayout (inherited from UdpAppender) This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetSeverity Translates a log4net level to a syslog severity.
InitializeClientConnection (inherited from UdpAppender) Initializes the underlying UdpClient connection.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from UdpAppender) Closes the UDP connection and releases all resources associated with this UdpAppender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IFixingRequiredMembers.html0000644000175000017500000000334410412737540024671 0ustar slomoslomo IFixingRequired Members
log4net SDK Reference

IFixingRequired Members

IFixingRequired overview

Public Instance Methods

GetFixedObject Get a portable version of this object

See Also

IFixingRequired Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPluginProperties.html0000644000175000017500000000510110412737554030051 0ustar slomoslomo RemoteLoggingServerPlugin Properties
log4net SDK Reference

RemoteLoggingServerPlugin Properties

The properties of the RemoteLoggingServerPlugin class are listed below. For a complete list of RemoteLoggingServerPlugin class members, see the RemoteLoggingServerPlugin Members topic.

Public Instance Properties

Name (inherited from PluginSkeleton) Gets or sets the name of the plugin.
SinkUri Gets or sets the URI of this sink.

Protected Instance Properties

LoggerRepository (inherited from PluginSkeleton) The repository for this plugin

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilter.html0000644000175000017500000000635510412737550024225 0ustar slomoslomo LoggerMatchFilter Class
log4net SDK Reference

LoggerMatchFilter Class

Simple filter to match a string in the event's logger name.

For a list of all members of this type, see LoggerMatchFilter Members.

System.Object
   log4net.Filter.FilterSkeleton
      log4net.Filter.LoggerMatchFilter

[Visual Basic]
Public Class LoggerMatchFilter
    Inherits FilterSkeleton
[C#]
public class LoggerMatchFilter : FilterSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The works very similar to the LevelMatchFilter. It admits two options LoggerToMatch and AcceptOnMatch. If the LoggerName of the LoggingEvent starts with the value of the LoggerToMatch option, then the Decide method returns Accept in case the AcceptOnMatch option value is set to true, if it is false then Deny is returned.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

LoggerMatchFilter Members | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/intmethod.gif0000644000175000017500000000161010412737506017646 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@eÿ H° A‚ ôKXÀÁú)Tèß>|ÿ.îsø°cDŽJ\ŸÉ“@¦äˆqŸ@— ;Œ’"AŒ&¦iߟ9ŠLhNˆ þËéòbÌ¢8qÒ¸²êT;log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.DateTimeDateFormatterMembers.html0000644000175000017500000001315210412737546027666 0ustar slomoslomo DateTimeDateFormatter Members
log4net SDK Reference

DateTimeDateFormatter Members

DateTimeDateFormatter overview

Public Instance Constructors

DateTimeDateFormatter Constructor Default constructor.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate (inherited from AbsoluteTimeDateFormatter) Renders the date into a string. Format is "HH:mm:ss,fff".
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatDateWithoutMillis Formats the date without the milliseconds part
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DateTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Threshold.html0000644000175000017500000000414610412737522026365 0ustar slomoslomo Threshold Property
log4net SDK Reference

AppenderSkeleton.Threshold Property

Gets or sets the threshold Level of this appender.

[Visual Basic]
Public Property Threshold As Level
[C#]
public log4net.Core.Level Threshold {get; set;}

Property Value

The threshold Level of the appender.

Remarks

All log events with lower level than the threshold level are ignored by the appender.

In configuration files this option is specified by setting the value of the Threshold option to a level string, such as "DEBUG", "INFO" and so on.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/protoperator.gif0000644000175000017500000000156710412737506020426 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@Tÿ  ° Aƒì#x°á?‚ °€Å‰"”8ТÇîÛ§páÆDä¨ñ¤Ãˆ A®dyp€4PxeË›$a~üô`L—;log4net-1.2.10/doc/release/sdk/log4net.Layout.IRawLayoutMembers.html0000644000175000017500000000331510412737550024257 0ustar slomoslomo IRawLayout Members
log4net SDK Reference

IRawLayout Members

IRawLayout overview

Public Instance Methods

Format Implement this method to create your own layout format.

See Also

IRawLayout Interface | log4net.Layout Namespace


././@LongLink0000000000000000000000000000016700000000000011571 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseChildrenOfLoggerElement.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseChildrenOf0000644000175000017500000000607510412737556032565 0ustar slomoslomo XmlHierarchyConfigurator.ParseChildrenOfLoggerElement Method
log4net SDK Reference

XmlHierarchyConfigurator.ParseChildrenOfLoggerElement Method 

Parses the children of a logger element.

[Visual Basic]
Protected Sub ParseChildrenOfLoggerElement( _
   ByVal catElement As XmlElement, _
   ByVal log As Logger, _
   ByVal isRoot As Boolean _
)
[C#]
protected void ParseChildrenOfLoggerElement(
   XmlElement catElement,
   Logger log,
   bool isRoot
);

Parameters

catElement
The category element.
log
The logger instance.
isRoot
Flag to indicate if the logger is the root logger.

Remarks

Parse the child elements of a <logger> element.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMapMembers.html0000644000175000017500000001154110412737554024100 0ustar slomoslomo PluginMap Members
log4net SDK Reference

PluginMap Members

PluginMap overview

Public Instance Constructors

PluginMap Constructor Constructor

Public Instance Properties

AllPlugins Gets all possible plugins as a list of IPlugin objects.
Item Gets a IPlugin by name.

Public Instance Methods

Add Adds a IPlugin to the map.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Removes a IPlugin from the map.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetRepository_overloads.html0000644000175000017500000000431410412737520026335 0ustar slomoslomo GetRepository Method
log4net SDK Reference

LogManager.GetRepository Method

Get a logger repository.

Overload List

Returns the default ILoggerRepository instance.

public static ILoggerRepository GetRepository();

Returns the default ILoggerRepository instance.

public static ILoggerRepository GetRepository(Assembly);

Returns the default ILoggerRepository instance.

public static ILoggerRepository GetRepository(string);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfoMembers.html0000644000175000017500000001423210412737542024217 0ustar slomoslomo LocationInfo Members
log4net SDK Reference

LocationInfo Members

LocationInfo overview

Public Instance Constructors

LocationInfo Overloaded. Initializes a new instance of the LocationInfo class.

Public Instance Properties

ClassName Gets the fully qualified class name of the caller making the logging request.
FileName Gets the file name of the caller.
FullInfo Gets all available caller information
LineNumber Gets the line number of the caller.
MethodName Gets the method name of the caller.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LocationInfo Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollection.html0000644000175000017500000000623210412737560023460 0ustar slomoslomo EmptyCollection Class
log4net SDK Reference

EmptyCollection Class

An always empty ICollection.

For a list of all members of this type, see EmptyCollection Members.

System.Object
   log4net.Util.EmptyCollection

[Visual Basic]
NotInheritable Public Class EmptyCollection
    Implements ICollection, IEnumerable
[C#]
public sealed class EmptyCollection : ICollection, IEnumerable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A singleton implementation of the ICollection interface that always represents an empty collection.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

EmptyCollection Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.SimpleLayoutMembers.html0000644000175000017500000001474310412737552024657 0ustar slomoslomo SimpleLayout Members
log4net SDK Reference

SimpleLayout Members

SimpleLayout overview

Public Instance Constructors

SimpleLayout Constructor Constructs a SimpleLayout

Public Instance Properties

ContentType (inherited from LayoutSkeleton) The content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions

Public Instance Methods

ActivateOptions Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Produces a simple formatted output.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SimpleLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfoConstructor1.html0000644000175000017500000000452610412737542025240 0ustar slomoslomo LocationInfo Constructor (Type)
log4net SDK Reference

LocationInfo Constructor (Type)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal callerStackBoundaryDeclaringType As Type _
)
[C#]
public LocationInfo(
   Type callerStackBoundaryDeclaringType
);

Parameters

callerStackBoundaryDeclaringType
The declaring type of the method that is the stack boundary into the logging system for this call.

Remarks

Initializes a new instance of the LocationInfo class based on the current thread.

See Also

LocationInfo Class | log4net.Core Namespace | LocationInfo Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfo.LeftAlign.html0000644000175000017500000000401210412737560025132 0ustar slomoslomo LeftAlign Property
log4net SDK Reference

FormattingInfo.LeftAlign Property

Gets or sets a flag indicating whether left align is enabled or not.

[Visual Basic]
Public Property LeftAlign As Boolean
[C#]
public bool LeftAlign {get; set;}

Property Value

A flag indicating whether left align is enabled or not.

Remarks

Gets or sets a flag indicating whether left align is enabled or not.

See Also

FormattingInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppender.html0000644000175000017500000000622710412737524023700 0ustar slomoslomo DebugAppender Class
log4net SDK Reference

DebugAppender Class

Appends log events to the Debug system.

For a list of all members of this type, see DebugAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.DebugAppender

[Visual Basic]
Public Class DebugAppender
    Inherits AppenderSkeleton
[C#]
public class DebugAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The application configuration file can be used to control what listeners are actually used. See the MSDN documentation for the Debug class for details on configuring the debug system.

Events are written using the Write method. The event's logger name is passed as the value for the category name to the Write method.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

DebugAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.RootLoggerProperties.html0000644000175000017500000000762210412737556027676 0ustar slomoslomo RootLogger Properties
log4net SDK Reference

RootLogger Properties

The properties of the RootLogger class are listed below. For a complete list of RootLogger class members, see the RootLogger Members topic.

Public Instance Properties

Additivity (inherited from Logger) Gets or sets a value indicating if child loggers inherit their parent's appenders.
Appenders (inherited from Logger) Get the appenders contained in this logger as an ICollection.
EffectiveLevel Gets the assigned level value without walking the logger hierarchy.
Hierarchy (inherited from Logger) Gets or sets the Hierarchy where this Logger instance is attached to.
Level Gets or sets the assigned Level for the root logger.
Name (inherited from Logger) Gets the logger name.
Parent (inherited from Logger) Gets or sets the parent logger in the hierarchy.
Repository (inherited from Logger) Gets the ILoggerRepository where this Logger instance is attached to.

See Also

RootLogger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.WriteFooterAndCloseWriter.html0000644000175000017500000000412210412737536032044 0ustar slomoslomo TextWriterAppender.WriteFooterAndCloseWriter Method
log4net SDK Reference

TextWriterAppender.WriteFooterAndCloseWriter Method 

Writes the footer and closes the underlying TextWriter.

[Visual Basic]
Overridable Protected Sub WriteFooterAndCloseWriter()
[C#]
protected virtual void WriteFooterAndCloseWriter();

Remarks

Writes the footer and closes the underlying TextWriter.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.RemoteAddress.html0000644000175000017500000001077310412737536026146 0ustar slomoslomo RemoteAddress Property
log4net SDK Reference

UdpAppender.RemoteAddress Property

Gets or sets the IP address of the remote host or multicast group to which the underlying UdpClient should sent the logging event.

[Visual Basic]
Public Property RemoteAddress As IPAddress
[C#]
public System.Net.IPAddress RemoteAddress {get; set;}

Property Value

The IP address of the remote host or multicast group to which the logging event will be sent.

Remarks

Multicast addresses are identified by IP class D addresses (in the range 224.0.0.0 to 239.255.255.255). Multicast packets can pass across different networks through routers, so it is possible to use multicasts in an Internet scenario as long as your network provider supports multicasting.

Hosts that want to receive particular multicast messages must register their interest by joining the multicast group. Multicast messages are not sent to networks where no host has joined the multicast group. Class D IP addresses are used for multicast groups, to differentiate them from normal host addresses, allowing nodes to easily detect if a message is of interest.

Static multicast addresses that are needed globally are assigned by IANA. A few examples are listed in the table below:

IP Address Description
224.0.0.1

Sends a message to all system on the subnet.

224.0.0.2

Sends a message to all routers on the subnet.

224.0.0.12

The DHCP server answers messages on the IP address 224.0.0.12, but only on a subnet.

A complete list of actually reserved multicast addresses and their owners in the ranges defined by RFC 3171 can be found at the IANA web site.

The address range 239.0.0.0 to 239.255.255.255 is reserved for administrative scope-relative addresses. These addresses can be reused with other local groups. Routers are typically configured with filters to prevent multicast traffic in this range from flowing outside of the local network.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.html0000644000175000017500000000464010412737560021532 0ustar slomoslomo LogLog Class
log4net SDK Reference

LogLog Class

Outputs log statements from within the log4net assembly.

For a list of all members of this type, see LogLog Members.

System.Object
   log4net.Util.LogLog

[Visual Basic]
NotInheritable Public Class LogLog
[C#]
public sealed class LogLog

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Log4net components cannot make log4net logging calls. However, it is sometimes useful for the user to learn about what log4net is doing.

All log4net internal debug calls go to the standard output stream whereas internal error messages are sent to the standard error output stream.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

LogLog Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.ReconnectOnError.html0000644000175000017500000000537210412737520027246 0ustar slomoslomo ReconnectOnError Property
log4net SDK Reference

AdoNetAppender.ReconnectOnError Property

Should this appender try to reconnect to the database on error.

[Visual Basic]
Public Property ReconnectOnError As Boolean
[C#]
public bool ReconnectOnError {get; set;}

Property Value

true if the appender should try to reconnect to the database after an error has occurred, otherwise false. The default value is false, i.e. not to try to reconnect.

Remarks

The default behaviour is for the appender not to try to reconnect to the database if an error occurs. Subsequent logging events are discarded.

To force the appender to attempt to reconnect to the database set this property to true.

Note    When the appender attempts to connect to the database there may be a delay of up to the connection timeout specified in the connection string. This delay will block the calling application's thread. Until the connection can be reestablished this potential delay may occur multiple times.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriterMembers.html0000644000175000017500000002557410412737560026533 0ustar slomoslomo CountingQuietTextWriter Members
log4net SDK Reference

CountingQuietTextWriter Members

CountingQuietTextWriter overview

Public Instance Constructors

CountingQuietTextWriter Constructor Constructor

Public Instance Properties

Closed (inherited from QuietTextWriter) Gets a value indicating whether this writer is closed.
Count Gets or sets the total number of bytes written.
Encoding (inherited from TextWriterAdapter) The Encoding in which the output is written
ErrorHandler (inherited from QuietTextWriter) Gets or sets the error handler that all errors are passed to.
FormatProvider (inherited from TextWriterAdapter) Gets an object that controls formatting
NewLine (inherited from TextWriterAdapter) Gets or sets the line terminator string used by the TextWriter

Public Instance Methods

Close (inherited from QuietTextWriter) Closes the underlying output writer.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriterAdapter) Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteOverloaded. Writes a string to the output and counts the number of bytes written.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Fields

CoreNewLine (inherited from TextWriter) Stores the new line characters used for this TextWriter .

Protected Instance Properties

Writer (inherited from TextWriterAdapter) Gets or sets the underlying TextWriter.

Protected Instance Methods

Dispose (inherited from TextWriterAdapter) Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionConstructor4.html0000644000175000017500000000474110412737522027274 0ustar slomoslomo AppenderCollection Constructor (IAppender[])
log4net SDK Reference

AppenderCollection Constructor (IAppender[])

Initializes a new instance of the AppenderCollection class that contains elements copied from the specified IAppender array.

[Visual Basic]
Overloads Public Sub New( _
   ByVal a As IAppender() _
)
[C#]
public AppenderCollection(
   IAppender[] a
);

Parameters

a
The IAppender array whose elements are copied to the new list.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.IAppender[])

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachableMethods.html0000644000175000017500000000507710412737540025471 0ustar slomoslomo IAppenderAttachable Methods
log4net SDK Reference

IAppenderAttachable Methods

The methods of the IAppenderAttachable interface are listed below. For a complete list of IAppenderAttachable interface members, see the IAppenderAttachable Members topic.

Public Instance Methods

AddAppender Attaches an appender.
GetAppender Gets an attached appender with the specified name.
RemoveAllAppenders Removes all attached appenders.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.

See Also

IAppenderAttachable Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutMethods.html0000644000175000017500000001232610412737552024172 0ustar slomoslomo XmlLayout Methods
log4net SDK Reference

XmlLayout Methods

The methods of the XmlLayout class are listed below. For a complete list of XmlLayout class members, see the XmlLayout Members topic.

Public Instance Methods

ActivateOptions Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format (inherited from XmlLayoutBase) Produces a formatted string.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatXml Does the actual writing of the XML.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLoggerRepository_overload_2.html0000644000175000017500000000563310412737520027540 0ustar slomoslomo LogManager.GetLoggerRepository Method (String)
log4net SDK Reference

LogManager.GetLoggerRepository Method (String)

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository


Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetLoggerRepository( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetLoggerRepository(
   string repository
);

Parameters

repository
The repository to lookup in.

Return Value

The default ILoggerRepository instance.

Remarks

Gets the ILoggerRepository for the repository specified by the repository argument.

See Also

LogManager Class | log4net Namespace | LogManager.GetLoggerRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Flush.html0000644000175000017500000000337510412737564025061 0ustar slomoslomo TextWriterAdapter.Flush Method
log4net SDK Reference

TextWriterAdapter.Flush Method 

Flushes any buffered output

[Visual Basic]
Overrides Public Sub Flush()
[C#]
public override void Flush();

Remarks

Clears all buffers for the writer and causes any buffered data to be written to the underlying device

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.CopyTo_overload_2.html0000644000175000017500000000507210412737522030270 0ustar slomoslomo AppenderCollection.CopyTo Method (IAppender[])
log4net SDK Reference

AppenderCollection.CopyTo Method (IAppender[])

Copies the entire AppenderCollection to a one-dimensional IAppender array.

[Visual Basic]
Overridable Overloads Public Sub CopyTo( _
   ByVal array As IAppender() _
)
[C#]
public virtual void CopyTo(
   IAppender[] array
);

Parameters

array
The one-dimensional IAppender array to copy to.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[])

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection.CopyTo Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMapMethods.html0000644000175000017500000001243510412737546023731 0ustar slomoslomo WrapperMap Methods
log4net SDK Reference

WrapperMap Methods

The methods of the WrapperMap class are listed below. For a complete list of WrapperMap class members, see the WrapperMap Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
GetWrapper Gets the wrapper object for the specified logger.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CreateNewWrapperObject Creates the wrapper object for the specified logger.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
RepositoryShutdown Called when a monitored repository shutdown event is received.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.Clear.html0000644000175000017500000000337410412737530025144 0ustar slomoslomo MemoryAppender.Clear Method
log4net SDK Reference

MemoryAppender.Clear Method 

Clear the list of events

[Visual Basic]
Overridable Public Sub Clear()
[C#]
public virtual void Clear();

Remarks

Clear the list of events

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.DoAppend_overloads.html0000644000175000017500000000441410412737522030177 0ustar slomoslomo DoAppend Method
log4net SDK Reference

AppenderSkeleton.DoAppend Method

Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.

Overload List

Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.

public void DoAppend(LoggingEvent);

Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.

public void DoAppend(LoggingEvent[]);

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LoggerMatchFilterConstructor.html0000644000175000017500000000333310412737550026464 0ustar slomoslomo LoggerMatchFilter Constructor
log4net SDK Reference

LoggerMatchFilter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public LoggerMatchFilter();

Remarks

Missing <remarks> documentation for M:log4net.Filter.LoggerMatchFilter.#ctor

See Also

LoggerMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.DebugFormat_overload_5.html0000644000175000017500000000671610412737516024611 0ustar slomoslomo ILog.DebugFormat Method (String, Object[])
log4net SDK Reference

ILog.DebugFormat Method (String, Object[])

Logs a formatted message string with the Debug level.

[Visual Basic]
Sub DebugFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void DebugFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

ILog Interface | log4net Namespace | ILog.DebugFormat Overload List | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Util.ReusableStringWriterMembers.html0000644000175000017500000002614210412737564026015 0ustar slomoslomo ReusableStringWriter Members
log4net SDK Reference

ReusableStringWriter Members

ReusableStringWriter overview

Public Instance Constructors

ReusableStringWriter Constructor Create an instance of ReusableStringWriter

Public Instance Properties

Encoding (inherited from StringWriter) Gets the Encoding in which the output is written.
FormatProvider (inherited from TextWriter) Gets an object that controls formatting.
NewLine (inherited from TextWriter) Gets or sets the line terminator string used by the current TextWriter .

Public Instance Methods

Close (inherited from StringWriter) Closes the current StringWriter and the underlying stream.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriter) Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetStringBuilder (inherited from StringWriter) Returns the underlying StringBuilder .
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Reset Reset this string writer so that it can be reused.
ToString (inherited from StringWriter) Returns a string containing the characters written to the current StringWriter so far.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
Write (inherited from StringWriter)Overloaded. Writes a string to this instance of the StringWriter.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Fields

CoreNewLine (inherited from TextWriter) Stores the new line characters used for this TextWriter .

Protected Instance Methods

Dispose Override Dispose to prevent closing of writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ReusableStringWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.FindAndRender_overload_2.html0000644000175000017500000000624210412737552031312 0ustar slomoslomo RendererMap.FindAndRender Method (Object, TextWriter)
log4net SDK Reference

RendererMap.FindAndRender Method (Object, TextWriter)

Render obj using the appropriate renderer.

[Visual Basic]
Overloads Public Sub FindAndRender( _
   ByVal obj As Object, _
   ByVal writer As TextWriter _
)
[C#]
public void FindAndRender(
   object obj,
   TextWriter writer
);

Parameters

obj
the object to render to a string
writer
The writer to render to

Remarks

Find the appropriate renderer for the type of the obj parameter. This is accomplished by calling the Get method. Once a renderer is found, it is applied on the object obj and the result is returned as a String.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace | RendererMap.FindAndRender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.Clear.html0000644000175000017500000000322010412737542023045 0ustar slomoslomo LevelMap.Clear Method
log4net SDK Reference

LevelMap.Clear Method 

Clear the internal maps of all levels

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

Clear the internal maps of all levels

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeletonConstructor1.html0000644000175000017500000000356010412737522030610 0ustar slomoslomo BufferingAppenderSkeleton Constructor ()
log4net SDK Reference

BufferingAppenderSkeleton Constructor ()

Initializes a new instance of the BufferingAppenderSkeleton class.

[Visual Basic]
Overloads Protected Sub New()
[C#]
protected BufferingAppenderSkeleton();

Remarks

Protected default constructor to allow subclassing.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace | BufferingAppenderSkeleton Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeletonConstructor2.html0000644000175000017500000000536610412737522030617 0ustar slomoslomo BufferingAppenderSkeleton Constructor (Boolean)
log4net SDK Reference

BufferingAppenderSkeleton Constructor (Boolean)

Initializes a new instance of the BufferingAppenderSkeleton class.

[Visual Basic]
Overloads Protected Sub New( _
   ByVal eventMustBeFixed As Boolean _
)
[C#]
protected BufferingAppenderSkeleton(
   bool eventMustBeFixed
);

Parameters

eventMustBeFixed
the events passed through this appender must be fixed by the time that they arrive in the derived class' SendBuffer method.

Remarks

Protected constructor to allow subclassing.

The eventMustBeFixed should be set if the subclass expects the events delivered to be fixed even if the BufferSize is set to zero, i.e. when no buffering occurs.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace | BufferingAppenderSkeleton Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.OnLoggerCreationEvent.html0000644000175000017500000000433710412737556031656 0ustar slomoslomo Hierarchy.OnLoggerCreationEvent Method
log4net SDK Reference

Hierarchy.OnLoggerCreationEvent Method 

Sends a logger creation event to all registered listeners

[Visual Basic]
Overridable Protected Sub OnLoggerCreationEvent( _
   ByVal logger As Logger _
)
[C#]
protected virtual void OnLoggerCreationEvent(
   Logger logger
);

Parameters

logger
The newly created logger

Remarks

Raises the logger creation event.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.GetAppender.html0000644000175000017500000000521010412737530027135 0ustar slomoslomo ForwardingAppender.GetAppender Method
log4net SDK Reference

ForwardingAppender.GetAppender Method 

Looks for the appender with the specified name.

[Visual Basic]
Overridable Public Function GetAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.GetAppender
[C#]
public virtual IAppender GetAppender(
   string name
);

Parameters

name
The name of the appender to lookup.

Return Value

The appender with the specified name, or null.

Implements

IAppenderAttachable.GetAppender

Remarks

Get the named appender attached to this appender.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.ILoggerFactory.html0000644000175000017500000000470610412737556026416 0ustar slomoslomo ILoggerFactory Interface
log4net SDK Reference

ILoggerFactory Interface

Interface abstracts creation of Logger instances

For a list of all members of this type, see ILoggerFactory Members.

[Visual Basic]
Public Interface ILoggerFactory
[C#]
public interface ILoggerFactory

Remarks

This interface is used by the Hierarchy to create new Logger objects.

The CreateLogger method is called to create a named Logger.

Implement this interface to create new subclasses of Logger.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

ILoggerFactory Members | log4net.Repository.Hierarchy Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData.ht0000644000175000017500000000521710412737522032431 0ustar slomoslomo OnlyFixPartialEventData Property
log4net SDK Reference

BufferingAppenderSkeleton.OnlyFixPartialEventData Property

NOTE: This property is now obsolete.

Use Fix property


Gets or sets a value indicating if only part of the logging event data should be fixed.

[Visual Basic]
Overridable Public Property OnlyFixPartialEventData As Boolean
[C#]
public virtual bool OnlyFixPartialEventData {get; set;}

Property Value

true if the appender should only fix part of the logging event data, otherwise false. The default is false.

Remarks

Setting this property to true will cause only part of the event data to be fixed and serialized. This will improve performance.

See FixVolatileData for more information.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Append_overloads.html0000644000175000017500000000407410412737524031550 0ustar slomoslomo Append Method
log4net SDK Reference

BufferingAppenderSkeleton.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppenderConstructor.html0000644000175000017500000000316010412737530026356 0ustar slomoslomo MemoryAppender Constructor
log4net SDK Reference

MemoryAppender Constructor 

Initializes a new instance of the MemoryAppender class.

[Visual Basic]
Public Sub New()
[C#]
public MemoryAppender();

Remarks

Default constructor.

See Also

MemoryAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overloads.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.CreateRepository_overloads.htm0000644000175000017500000000435510412737540032714 0ustar slomoslomo CreateRepository Method
log4net SDK Reference

DefaultRepositorySelector.CreateRepository Method

Create a new repository for the assembly specified

Overload List

Create a new repository for the assembly specified

public ILoggerRepository CreateRepository(Assembly,Type);

Creates a new repository for the assembly specified.

public ILoggerRepository CreateRepository(Assembly,Type,string,bool);

Creates a new repository for the specified repository.

public ILoggerRepository CreateRepository(string,Type);

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.Log.html0000644000175000017500000000527510412737554027365 0ustar slomoslomo LoggerRepositorySkeleton.Log Method
log4net SDK Reference

LoggerRepositorySkeleton.Log Method 

Log the logEvent through this repository.

[Visual Basic]
MustOverride Public Sub Log( _
   ByVal logEvent As LoggingEvent _
) _
    Implements ILoggerRepository.Log
[C#]
public abstract void Log(
   LoggingEvent logEvent
);

Parameters

logEvent
the event to log

Implements

ILoggerRepository.Log

Remarks

This method should not normally be used to log. The ILog interface should be used for routine logging. This interface can be obtained using the GetLogger method.

The logEvent is delivered to the appropriate logger and that logger is then responsible for logging the event.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.FatalFormat_overload_3.html0000644000175000017500000001051510412737546026203 0ustar slomoslomo LogImpl.FatalFormat Method (String, Object, Object)
log4net SDK Reference

LogImpl.FatalFormat Method (String, Object, Object)

Logs a formatted message string with the FATAL level.

[Visual Basic]
Overridable Overloads Public Sub FatalFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
) _
    Implements ILog.FatalFormat
[C#]
public virtual void FatalFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Implements

ILog.FatalFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the FatalFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.FatalFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.PrepareWriter.html0000644000175000017500000000403010412737536027556 0ustar slomoslomo TextWriterAppender.PrepareWriter Method
log4net SDK Reference

TextWriterAppender.PrepareWriter Method 

Called to allow a subclass to lazily initialize the writer

[Visual Basic]
Overridable Protected Sub PrepareWriter()
[C#]
protected virtual void PrepareWriter();

Remarks

This method is called when an event is logged and the Writer or QuietWriter have not been set. This allows a subclass to attempt to initialize the writer multiple times.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.ConvertToFullPath.html0000644000175000017500000000507610412737534030774 0ustar slomoslomo SmtpPickupDirAppender.ConvertToFullPath Method
log4net SDK Reference

SmtpPickupDirAppender.ConvertToFullPath Method 

Convert a path into a fully qualified path.

[Visual Basic]
Protected Shared Function ConvertToFullPath( _
   ByVal path As String _
) As String
[C#]
protected static string ConvertToFullPath(
   string path
);

Parameters

path
The path to convert.

Return Value

The fully qualified path.

Remarks

Converts the path specified to a fully qualified path. If the path is relative it is taken as relative from the application base directory.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Error_overload_2.html0000644000175000017500000000632110412737516023470 0ustar slomoslomo ILog.Error Method (Object)
log4net SDK Reference

ILog.Error Method (Object)

Logs a message object with the Error level.

[Visual Basic]
Sub Error( _
   ByVal message As Object _
)
[C#]
void Error(
   object message
);

Parameters

message
The message object to log.

Remarks

This method first checks if this logger is ERROR enabled by comparing the level of this logger with the Error level. If this logger is ERROR enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Error form instead.

See Also

ILog Interface | log4net Namespace | ILog.Error Overload List | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPluginConstructor2.html0000644000175000017500000000473510412737554030340 0ustar slomoslomo RemoteLoggingServerPlugin Constructor (String)
log4net SDK Reference

RemoteLoggingServerPlugin Constructor (String)

Construct with sink Uri.

[Visual Basic]
Overloads Public Sub New( _
   ByVal sinkUri As String _
)
[C#]
public RemoteLoggingServerPlugin(
   string sinkUri
);

Parameters

sinkUri
The name to publish the sink under in the remoting infrastructure. See SinkUri for more details.

Remarks

Initializes a new instance of the RemoteLoggingServerPlugin class with specified name.

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace | RemoteLoggingServerPlugin Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemStringFormatMembers.html0000644000175000017500000000707510412737564025517 0ustar slomoslomo SystemStringFormat Members
log4net SDK Reference

SystemStringFormat Members

SystemStringFormat overview

Public Instance Constructors

SystemStringFormat Constructor Initialise the SystemStringFormat

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString Format the string and arguments

See Also

SystemStringFormat Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.SimpleDateFormatterMethods.html0000644000175000017500000001205610412737546027436 0ustar slomoslomo SimpleDateFormatter Methods
log4net SDK Reference

SimpleDateFormatter Methods

The methods of the SimpleDateFormatter class are listed below. For a complete list of SimpleDateFormatter class members, see the SimpleDateFormatter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FormatDate Formats the date using ToString.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SimpleDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Capacity.html0000644000175000017500000000413010412737522026466 0ustar slomoslomo Capacity Property
log4net SDK Reference

AppenderCollection.Capacity Property

Gets or sets the number of elements the AppenderCollection can contain.

[Visual Basic]
Overridable Public Property Capacity As Integer
[C#]
public virtual int Capacity {get; set;}

Remarks

Missing <remarks> documentation for P:log4net.Appender.AppenderCollection.Capacity

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DomainAttributeConstructor2.html0000644000175000017500000000443110412737536026263 0ustar slomoslomo DomainAttribute Constructor (String)
log4net SDK Reference

DomainAttribute Constructor (String)

Initialize a new instance of the DomainAttribute class with the name of the domain.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String _
)
[C#]
public DomainAttribute(
   string name
);

Parameters

name
The name of the domain.

Remarks

Obsolete. Use RepositoryAttribute instead of DomainAttribute.

See Also

DomainAttribute Class | log4net.Config Namespace | DomainAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.RequiresLayout.html0000644000175000017500000000413510412737534027764 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

TextWriterAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppenderProperties.html0000644000175000017500000001701610412737534025651 0ustar slomoslomo SmtpAppender Properties
log4net SDK Reference

SmtpAppender Properties

The properties of the SmtpAppender class are listed below. For a complete list of SmtpAppender class members, see the SmtpAppender Members topic.

Public Instance Properties

Authentication The mode to use to authentication with the SMTP server
BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
From Gets or sets the e-mail address of the sender.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LocationInfoObsolete. Obsolete
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Password The password to use to authenticate with the SMTP server
Port The port on which the SMTP server is listening
Priority Gets or sets the priority of the e-mail message
SmtpHost Gets or sets the name of the SMTP relay mail server to use to send the e-mail messages.
Subject Gets or sets the subject line of the e-mail message.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
To Gets or sets a semicolon-delimited list of recipient e-mail addresses.
Username The username to use to authenticate with the SMTP server

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IOptionHandler.html0000644000175000017500000004350710412737542023206 0ustar slomoslomo IOptionHandler Interface
log4net SDK Reference

IOptionHandler Interface

Interface used to delay activate a configured object.

For a list of all members of this type, see IOptionHandler Members.

log4net.Core.IOptionHandler
   log4net.Filter.IFilter

[Visual Basic]
Public Interface IOptionHandler
[C#]
public interface IOptionHandler

Types that implement IOptionHandler

Type Description
AdoNetAppender Appender that logs to a database.
AnsiColorTerminalAppender Appends logging events to the terminal using ANSI color escape sequences.
AnsiColorTerminalAppender.LevelColors A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
AppenderSkeleton Abstract base class implementation of IAppender.
AspNetTraceAppender

Appends log events to the ASP.NET TraceContext system.

BufferingAppenderSkeleton Abstract base class implementation of IAppender that buffers events in a fixed size buffer.
BufferingForwardingAppender Buffers events and then forwards them to attached appenders.
ColoredConsoleAppender Appends logging events to the console.
ColoredConsoleAppender.LevelColors A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
ConsoleAppender Appends logging events to the console.
DebugAppender Appends log events to the Debug system.
EventLogAppender Writes events to the system event log.
EventLogAppender.Level2EventLogEntryType A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
FileAppender Appends logging events to a file.
ForwardingAppender This appender forwards logging events to attached appenders.
LocalSyslogAppender Logs events to a local syslog service.
LocalSyslogAppender.LevelSeverity A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.
MemoryAppender Stores logging events in an array.
NetSendAppender Logs entries by sending network messages using the NetMessageBufferSend native function.
OutputDebugStringAppender Appends log events to the OutputDebugString system.
RemoteSyslogAppender Logs events to a remote syslog daemon.
RemoteSyslogAppender.LevelSeverity A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.
RemotingAppender Delivers logging events to a remote logging sink.
RollingFileAppender Appender that rolls log files based on size or date or both.
SmtpAppender Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
SmtpPickupDirAppender Send an email when a specific logging event occurs, typically on errors or fatal errors. Rather than sending via smtp it writes a file into the directory specified by PickupDir. This allows services such as the IIS SMTP agent to manage sending the messages.
TelnetAppender Appender that allows clients to connect via Telnet to receive log messages
TextWriterAppender Sends logging events to a TextWriter.
TraceAppender Appends log events to the Trace system.
UdpAppender Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using an UdpClient.
DenyAllFilter This filter drops all LoggingEvent.
FilterSkeleton Subclass this type to implement customized logging event filtering
LevelMatchFilter This is a very simple filter based on Level matching.
LevelRangeFilter This is a simple filter based on Level matching.
LoggerMatchFilter Simple filter to match a string in the event's logger name.
MdcFilter Simple filter to match a keyed string in the MDC
NdcFilter Simple filter to match a string in the NDC
PropertyFilter Simple filter to match a string an event property
StringMatchFilter Simple filter to match a string in the rendered message
ExceptionLayout A Layout that renders only the Exception text from the logging event
LayoutSkeleton Extend this abstract class to create your own log layout format.
PatternLayout A flexible layout configurable with pattern string.
SimpleLayout A very simple layout
XmlLayout Layout that formats the log events as XML elements.
XmlLayoutBase Layout that formats the log events as XML elements.
XmlLayoutSchemaLog4j Layout that formats the log events as XML elements compatible with the log4j schema
LevelMapping Manages a mapping from levels to LevelMappingEntry
LevelMappingEntry An entry in the LevelMapping
PatternString This class implements a patterned string.
WindowsSecurityContext Impersonate a Windows Account

Remarks

This allows an object to defer activation of its options until all options have been set. This is required for components which have related options that remain ambiguous until all are set.

If a component implements this interface then the ActivateOptions method must be called by the container after its all the configured properties have been set and before the component can be used.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

IOptionHandler Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.GlobalContextProperties.html0000644000175000017500000000351210412737516024253 0ustar slomoslomo GlobalContext Properties
log4net SDK Reference

GlobalContext Properties

The properties of the GlobalContext class are listed below. For a complete list of GlobalContext class members, see the GlobalContext Members topic.

Public Static (Shared) Properties

Properties The global properties map.

See Also

GlobalContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandler.Error_overloads.html0000644000175000017500000000366110412737562027557 0ustar slomoslomo Error Method
log4net SDK Reference

OnlyOnceErrorHandler.Error Method

Log an error

Overload List

Log an error

public void Error(string);

Log an Error

public void Error(string,Exception);

Log an Error

public void Error(string,Exception,ErrorCode);

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelConstructor1.html0000644000175000017500000000617010412737542023720 0ustar slomoslomo Level Constructor (Int32, String, String)
log4net SDK Reference

Level Constructor (Int32, String, String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal level As Integer, _
   ByVal levelName As String, _
   ByVal displayName As String _
)
[C#]
public Level(
   int level,
   string levelName,
   string displayName
);

Parameters

level
Integer value for this level, higher values represent more severe levels.
levelName
The string name of this level.
displayName
The display name for this level. This may be localized or otherwise different from the name

Remarks

Initializes a new instance of the Level class with the specified level name and value.

See Also

Level Class | log4net.Core Namespace | Level Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.ActivateOptions.html0000644000175000017500000000531510412737532030167 0ustar slomoslomo RollingFileAppender.ActivateOptions Method
log4net SDK Reference

RollingFileAppender.ActivateOptions Method 

Initialize the appender based on the options set

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

Sets initial conditions including date/time roll over information, first check, scheduledFilename, and calls ExistingInit to initialize the current number of backups.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Contains.html0000644000175000017500000000522710412737554025724 0ustar slomoslomo PluginCollection.Contains Method
log4net SDK Reference

PluginCollection.Contains Method 

Determines whether a given IPlugin is in the PluginCollection.

[Visual Basic]
Overridable Public Function Contains( _
   ByVal item As IPlugin _
) As Boolean
[C#]
public virtual bool Contains(
   IPlugin item
);

Parameters

item
The IPlugin to check for.

Return Value

true if item is found in the PluginCollection; otherwise, false.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.Contains(log4net.Plugin.IPlugin)

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_9.html0000644000175000017500000000607710412737540030031 0ustar slomoslomo XmlConfigurator.Configure Method (ILoggerRepository, Uri)
log4net SDK Reference

XmlConfigurator.Configure Method (ILoggerRepository, Uri)

Configures the ILoggerRepository using the specified configuration URI.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal configUri As Uri _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   Uri configUri
);

Parameters

repository
The repository to configure.
configUri
A URI to load the XML configuration from.

Remarks

The configuration data must be valid XML. It must contain at least one element called log4net that holds the configuration data.

The WebRequest must support the URI scheme specified.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.IsDebugEnabled.html0000644000175000017500000000653310412737544024466 0ustar slomoslomo IsDebugEnabled Property
log4net SDK Reference

LogImpl.IsDebugEnabled Property

Checks if this logger is enabled for the DEBUG level.

[Visual Basic]
Overridable Public ReadOnly Property IsDebugEnabled As Boolean _
    Implements ILog.IsDebugEnabled
[C#]
public virtual bool IsDebugEnabled {get;}

Property Value

true if this logger is enabled for DEBUG events, false otherwise.

Implements

ILog.IsDebugEnabled

Remarks

This function is intended to lessen the computational cost of disabled log debug statements.

For some log Logger object, when you write:

[C#]
log.Debug("This is entry number: " + i );

You incur the cost constructing the message, concatenation in this case, regardless of whether the message is logged or not.

If you are worried about speed, then you should write:

[C#]
if (log.IsDebugEnabled())
{ 
 log.Debug("This is entry number: " + i );
}

This way you will not incur the cost of parameter construction if debugging is disabled for log. On the other hand, if the log is debug enabled, you will incur the cost of evaluating whether the logger is debug enabled twice. Once in IsDebugEnabled and once in the Debug. This is an insignificant overhead since evaluating a logger takes about 1% of the time it takes to actually log.

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttribute.Type.html0000644000175000017500000000362310412737540024677 0ustar slomoslomo Type Property
log4net SDK Reference

PluginAttribute.Type Property

Gets or sets the type for the plugin.

[Visual Basic]
Public Property Type As Type
[C#]
public System.Type Type {get; set;}

Property Value

The type for the plugin.

Remarks

The type for the plugin.

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachableProperties.html0000644000175000017500000000360610412737540026216 0ustar slomoslomo IAppenderAttachable Properties
log4net SDK Reference

IAppenderAttachable Properties

The properties of the IAppenderAttachable interface are listed below. For a complete list of IAppenderAttachable interface members, see the IAppenderAttachable Members topic.

Public Instance Properties

Appenders Gets all attached appenders.

See Also

IAppenderAttachable Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.Exists_overload_2.html0000644000175000017500000000563010412737516025042 0ustar slomoslomo LogManager.Exists Method (String, String)
log4net SDK Reference

LogManager.Exists Method (String, String)

Returns the named logger if it exists.

[Visual Basic]
Overloads Public Shared Function Exists( _
   ByVal repository As String, _
   ByVal name As String _
) As ILog
[C#]
public static ILog Exists(
   string repository,
   string name
);

Parameters

repository
The repository to lookup in.
name
The fully qualified logger name to look for.

Return Value

The logger found, or null if the logger doesn't exist in the specified repository.

Remarks

If the named logger exists (in the specified repository) then it returns a reference to the logger, otherwise it returns null.

See Also

LogManager Class | log4net Namespace | LogManager.Exists Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppenderProperties.html0000644000175000017500000000760710412737530027031 0ustar slomoslomo ForwardingAppender Properties
log4net SDK Reference

ForwardingAppender Properties

The properties of the ForwardingAppender class are listed below. For a complete list of ForwardingAppender class members, see the ForwardingAppender Members topic.

Public Instance Properties

Appenders Gets the appenders contained in this appender as an ICollection.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.html0000644000175000017500000000546210412737526024756 0ustar slomoslomo ForwardingAppender Class
log4net SDK Reference

ForwardingAppender Class

This appender forwards logging events to attached appenders.

For a list of all members of this type, see ForwardingAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.ForwardingAppender

[Visual Basic]
Public Class ForwardingAppender
    Inherits AppenderSkeleton
    Implements IAppenderAttachable
[C#]
public class ForwardingAppender : AppenderSkeleton, IAppenderAttachable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The forwarding appender can be used to specify different thresholds and filters for the same appender at different locations within the hierarchy.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

ForwardingAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingEntry.Level.html0000644000175000017500000000350710412737560025023 0ustar slomoslomo Level Property
log4net SDK Reference

LevelMappingEntry.Level Property

The level that is the key for this mapping

[Visual Basic]
Public Property Level As Level
[C#]
public log4net.Core.Level Level {get; set;}

Property Value

The Level that is the key for this mapping

Remarks

Get or set the Level that is the key for this mapping subclass.

See Also

LevelMappingEntry Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ExceptionLayout.ActivateOptions.html0000644000175000017500000000423510412737550027155 0ustar slomoslomo ExceptionLayout.ActivateOptions Method
log4net SDK Reference

ExceptionLayout.ActivateOptions Method 

Activate component options

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Part of the IOptionHandler component activation framework.

This method does nothing as options become effective immediately.

See Also

ExceptionLayout Class | log4net.Layout Namespace


././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryTypeProperties.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryTypeProperties.h0000644000175000017500000000453710412737526032421 0ustar slomoslomo EventLogAppender.Level2EventLogEntryType Properties
log4net SDK Reference

EventLogAppender.Level2EventLogEntryType Properties

The properties of the EventLogAppender.Level2EventLogEntryType class are listed below. For a complete list of EventLogAppender.Level2EventLogEntryType class members, see the EventLogAppender.Level2EventLogEntryType Members topic.

Public Instance Properties

EventLogEntryType The EventLogEntryType for this entry
Level (inherited from LevelMappingEntry) The level that is the key for this mapping

See Also

EventLogAppender.Level2EventLogEntryType Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverter.Next.html0000644000175000017500000000352310412737562024572 0ustar slomoslomo Next Property
log4net SDK Reference

PatternConverter.Next Property

Get the next pattern converter in the chain

[Visual Basic]
Overridable Public ReadOnly Property Next As PatternConverter
[C#]
public virtual PatternConverter Next {get;}

Property Value

the next pattern converter in the chain

Remarks

Get the next pattern converter in the chain

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.RenderLoggingEvent_overload_1.html0000644000175000017500000000656610412737522032304 0ustar slomoslomo AppenderSkeleton.RenderLoggingEvent Method (LoggingEvent)
log4net SDK Reference

AppenderSkeleton.RenderLoggingEvent Method (LoggingEvent)

Renders the LoggingEvent to a string.

[Visual Basic]
Overloads Protected Function RenderLoggingEvent( _
   ByVal loggingEvent As LoggingEvent _
) As String
[C#]
protected string RenderLoggingEvent(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to render.

Return Value

The event rendered as a string.

Remarks

Helper method to render a LoggingEvent to a string. This appender must have a Layout set to render the loggingEvent to a string.

If there is exception data in the logging event and the layout does not process the exception, this method will append the exception text to the rendered string.

Where possible use the alternative version of this method RenderLoggingEvent. That method streams the rendering onto an existing Writer which can give better performance if the caller already has a TextWriter open and ready for writing.

See Also

AppenderSkeleton Class | log4net.Appender Namespace | AppenderSkeleton.RenderLoggingEvent Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.AssemblyQualifiedName.html0000644000175000017500000000577110412737564026664 0ustar slomoslomo SystemInfo.AssemblyQualifiedName Method
log4net SDK Reference

SystemInfo.AssemblyQualifiedName Method 

Gets the fully qualified name of the Type, including the name of the assembly from which the Type was loaded.

[Visual Basic]
Public Shared Function AssemblyQualifiedName( _
   ByVal type As Type _
) As String
[C#]
public static string AssemblyQualifiedName(
   Type type
);

Parameters

type
The Type to get the fully qualified name for.

Return Value

The fully qualified name for the Type.

Remarks

This is equivalent to the Type.AssemblyQualifiedName property, but this method works on the .NET Compact Framework 1.0 as well as the full .NET runtime.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.MDC.Remove.html0000644000175000017500000000502710412737520021266 0ustar slomoslomo MDC.Remove Method
log4net SDK Reference

MDC.Remove Method 

Removes the key value mapping for the key specified.

[Visual Basic]
Public Shared Sub Remove( _
   ByVal key As String _
)
[C#]
public static void Remove(
   string key
);

Parameters

key
The key to remove.

Remarks

Note   

The MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the ThreadContext.Properties.

Remove the specified entry from this thread's MDC

See Also

MDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelOperators.html0000644000175000017500000000713710412737542023274 0ustar slomoslomo Level Operators
log4net SDK Reference

Level Operators

The operators of the Level class are listed below. For a complete list of Level class members, see the Level Members topic.

Public Static (Shared) Operators

Equality Operator Returns a value indicating whether two specified Level objects have the same value.
Greater Than Operator Returns a value indicating whether a specified Level is greater than another specified Level.
Greater Than Or Equal Operator Returns a value indicating whether a specified Level is greater than or equal to another specified Level.
Inequality Operator Returns a value indicating whether two specified Level objects have different values.
Less Than Operator Returns a value indicating whether a specified Level is less than another specified Level.
Less Than Or Equal Operator Returns a value indicating whether a specified Level is less than or equal to another specified Level.

See Also

Level Class | Level Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.m_fixFlags.html0000644000175000017500000000345010412737530026170 0ustar slomoslomo MemoryAppender.m_fixFlags Field
log4net SDK Reference

MemoryAppender.m_fixFlags Field

Value indicating which fields in the event should be fixed

[Visual Basic]
Protected m_fixFlags As FixFlags
[C#]
protected FixFlags m_fixFlags;

Remarks

By default all fields are fixed

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/treenodeminus.gif0000644000175000017500000000007010412737566020541 0ustar slomoslomoGIF89a ‘þþþ‚‚‚, Œ  Æë^ @X;e–ñ¡;log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollectionProperties.html0000644000175000017500000000653110412737554026223 0ustar slomoslomo PluginCollection Properties
log4net SDK Reference

PluginCollection Properties

The properties of the PluginCollection class are listed below. For a complete list of PluginCollection class members, see the PluginCollection Members topic.

Public Instance Properties

Capacity Gets or sets the number of elements the PluginCollection can contain.
Count Gets the number of elements actually contained in the PluginCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the IPlugin at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilter.AcceptOnMatch.html0000644000175000017500000000461210412737550026517 0ustar slomoslomo AcceptOnMatch Property
log4net SDK Reference

LevelMatchFilter.AcceptOnMatch Property

Accept when matching LevelToMatch

[Visual Basic]
Public Property AcceptOnMatch As Boolean
[C#]
public bool AcceptOnMatch {get; set;}

Remarks

The AcceptOnMatch property is a flag that determines the behavior when a matching Level is found. If the flag is set to true then the filter will Accept the logging event, otherwise it will Deny the event.

The default is true i.e. to Accept the event.

See Also

LevelMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.Format_overloads.html0000644000175000017500000000342110412737562026456 0ustar slomoslomo Format Method
log4net SDK Reference

PatternString.Format Method

Format the pattern as a string

Overload List

Format the pattern as a string

public string Format();

Produces a formatted string as specified by the conversion pattern.

public void Format(TextWriter);

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.RequiresLayout.html0000644000175000017500000000426710412737522027432 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

AppenderSkeleton.RequiresLayout Property

Tests if this appender requires a Layout to be set.

[Visual Basic]
Overridable Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected virtual bool RequiresLayout {get;}

Remarks

In the rather exceptional case, where the appender implementation admits a layout but can also work without it, then the appender should return true.

This default implementation always returns true.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColors.html0000644000175000017500000000540110412737524030005 0ustar slomoslomo ColoredConsoleAppender.LevelColors Class
log4net SDK Reference

ColoredConsoleAppender.LevelColors Class

A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.

For a list of all members of this type, see ColoredConsoleAppender.LevelColors Members.

System.Object
   log4net.Util.LevelMappingEntry
      log4net.Appender.ColoredConsoleAppender.LevelColors

[Visual Basic]
Public Class ColoredConsoleAppender.LevelColors
    Inherits LevelMappingEntry
[C#]
public class ColoredConsoleAppender.LevelColors : LevelMappingEntry

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Defines the mapping between a level and the color it should be displayed in.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

ColoredConsoleAppender.LevelColors Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.MdcFilterConstructor.html0000644000175000017500000000310710412737550024772 0ustar slomoslomo MdcFilter Constructor
log4net SDK Reference

MdcFilter Constructor 

Initializes a new instance of the MdcFilter class.

[Visual Basic]
Public Sub New()
[C#]
public MdcFilter();

See Also

MdcFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.MDCMembers.html0000644000175000017500000001037010412737520021342 0ustar slomoslomo MDC Members
log4net SDK Reference

MDC Members

MDC overview

Public Static (Shared) Methods

Clear Clear all entries in the MDC
Get Gets the context value identified by the key parameter.
Remove Removes the key value mapping for the key specified.
Set Add an entry to the MDC

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

MDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriter.Write_overload_17.html0000644000175000017500000000471410412737560030504 0ustar slomoslomo CountingQuietTextWriter.Write Method (Char)
log4net SDK Reference

CountingQuietTextWriter.Write Method (Char)

Writes a character to the underlying writer and counts the number of bytes written.

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal value As Char _
)
[C#]
public override void Write(
   char value
);

Parameters

value
the char to write

Remarks

Overrides implementation of QuietTextWriter. Counts the number of bytes written.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace | CountingQuietTextWriter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.RequiresLayout.html0000644000175000017500000000416210412737520031223 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

AnsiColorTerminalAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.File.html0000644000175000017500000000403310412737526024402 0ustar slomoslomo File Property
log4net SDK Reference

FileAppender.File Property

Gets or sets the path to the file that logging will be written to.

[Visual Basic]
Overridable Public Property File As String
[C#]
public virtual string File {get; set;}

Property Value

The path to the file that logging will be written to.

Remarks

If the path is relative it is taken as relative from the application base directory.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilterMembers.html0000644000175000017500000001475010412737550025366 0ustar slomoslomo LevelMatchFilter Members
log4net SDK Reference

LevelMatchFilter Members

LevelMatchFilter overview

Public Instance Constructors

LevelMatchFilter Constructor Default constructor

Public Instance Properties

AcceptOnMatch Accept when matching LevelToMatch
LevelToMatch The Level that the filter will match
Next (inherited from FilterSkeleton) Property to get and set the next filter

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Tests if the Level of the logging event matches that of the filter
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.Depth.html0000644000175000017500000000501310412737520021071 0ustar slomoslomo Depth Property
log4net SDK Reference

NDC.Depth Property

Gets the current context depth.

[Visual Basic]
Public Shared ReadOnly Property Depth As Integer
[C#]
public static int Depth {get;}

Property Value

The current context depth.

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

The number of context values pushed onto the context stack.

Used to record the current depth of the context. This can then be restored using the SetMaxDepth method.

See Also

NDC Class | log4net Namespace | SetMaxDepth


log4net-1.2.10/doc/release/sdk/intevent.gif0000644000175000017500000000156710412737506017522 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@Tÿ H° ÁöípÐ`Â…ñáû'‘"ÆBlˆÀË÷ýÛ×q#A(Qb̘r¥Æ‹ _ÂŒ©¦Ä›=šˆäÈžN9òßÌ•+;log4net-1.2.10/doc/release/sdk/log4net.Core.ILoggerMembers.html0000644000175000017500000000514110412737540023160 0ustar slomoslomo ILogger Members
log4net SDK Reference

ILogger Members

ILogger overview

Public Instance Properties

Name Gets the name of the logger.
Repository Gets the ILoggerRepository where this Logger instance is attached to.

Public Instance Methods

IsEnabledFor Checks if this logger is enabled for a given Level passed as parameter.
LogOverloaded. This is the most generic printing method that is intended to be used by wrappers.

See Also

ILogger Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.Add_overload_2.html0000644000175000017500000000614210412737542024631 0ustar slomoslomo LevelMap.Add Method (String, Int32, String)
log4net SDK Reference

LevelMap.Add Method (String, Int32, String)

Create a new Level and add it to the map

[Visual Basic]
Overloads Public Sub Add( _
   ByVal name As String, _
   ByVal value As Integer, _
   ByVal displayName As String _
)
[C#]
public void Add(
   string name,
   int value,
   string displayName
);

Parameters

name
the string to display for the Level
value
the level value to give to the Level
displayName
the display name to give to the Level

Remarks

Create a new Level and add it to the map

See Also

LevelMap Class | log4net.Core Namespace | LevelMap.Add Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.GetTypeFromString_overload_2.html0000644000175000017500000001006210412737564030155 0ustar slomoslomo SystemInfo.GetTypeFromString Method (String, Boolean, Boolean)
log4net SDK Reference

SystemInfo.GetTypeFromString Method (String, Boolean, Boolean)

Loads the type specified in the type string.

[Visual Basic]
Overloads Public Shared Function GetTypeFromString( _
   ByVal typeName As String, _
   ByVal throwOnError As Boolean, _
   ByVal ignoreCase As Boolean _
) As Type
[C#]
public static Type GetTypeFromString(
   string typeName,
   bool throwOnError,
   bool ignoreCase
);

Parameters

typeName
The name of the type to load.
throwOnError
Flag set to true to throw an exception if the type cannot be loaded.
ignoreCase
true to ignore the case of the type name; otherwise, false

Return Value

The type loaded or null if it could not be loaded.

Remarks

If the type name is fully qualified, i.e. if contains an assembly name in the type name, the type will be loaded from the system using GetType.

If the type name is not fully qualified it will be loaded from the assembly that is directly calling this method. If the type is not found in the assembly then all the loaded assemblies will be searched for the type.

See Also

SystemInfo Class | log4net.Util Namespace | SystemInfo.GetTypeFromString Overload List


log4net-1.2.10/doc/release/sdk/index.html0000644000175000017500000000124610412737566017174 0ustar slomoslomo log4net-sdk <p>This page requires frames, but your browser does not support them.</p> log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.Writer.html0000644000175000017500000000456410412737536026253 0ustar slomoslomo Writer Property
log4net SDK Reference

TextWriterAppender.Writer Property

Sets the TextWriter where the log output will go.

[Visual Basic]
Overridable Public Property Writer As TextWriter
[C#]
public virtual System.IO.TextWriter Writer {get; set;}

Remarks

The specified TextWriter must be open and writable.

The TextWriter will be closed when the appender instance is closed.

Note: Logging to an unopened TextWriter will fail.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Capacity.html0000644000175000017500000000431010412737554025673 0ustar slomoslomo Capacity Property
log4net SDK Reference

PluginCollection.Capacity Property

Gets or sets the number of elements the PluginCollection can contain.

[Visual Basic]
Overridable Public Property Capacity As Integer
[C#]
public virtual int Capacity {get; set;}

Property Value

The number of elements the PluginCollection can contain.

Remarks

Missing <remarks> documentation for P:log4net.Plugin.PluginCollection.Capacity

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.WriteFooter.html0000644000175000017500000000357710412737526026010 0ustar slomoslomo FileAppender.WriteFooter Method
log4net SDK Reference

FileAppender.WriteFooter Method 

Writes a footer as produced by the embedded layout's Footer property.

[Visual Basic]
Overrides Protected Sub WriteFooter()
[C#]
protected override void WriteFooter();

Remarks

Writes a footer as produced by the embedded layout's Footer property.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.Log4NetConfigurationSectionHandlerMembers.html0000644000175000017500000001273410412737536031007 0ustar slomoslomo Log4NetConfigurationSectionHandler Members
log4net SDK Reference

Log4NetConfigurationSectionHandler Members

Log4NetConfigurationSectionHandler overview

Public Instance Constructors

Log4NetConfigurationSectionHandler Constructor Initializes a new instance of the Log4NetConfigurationSectionHandler class.

Public Instance Methods

Create Parses the configuration section.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Log4NetConfigurationSectionHandler Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.Impersonate.html0000644000175000017500000000572210412737564027371 0ustar slomoslomo WindowsSecurityContext.Impersonate Method
log4net SDK Reference

WindowsSecurityContext.Impersonate Method 

Impersonate the Windows account specified by the UserName and DomainName properties.

[Visual Basic]
Overrides Public Function Impersonate( _
   ByVal state As Object _
) As IDisposable
[C#]
public override IDisposable Impersonate(
   object state
);

Parameters

state
caller provided state

Return Value

An IDisposable instance that will revoke the impersonation of this SecurityContext

Remarks

Depending on the Credentials property either impersonate a user using credentials supplied or revert to the process credentials.

See Also

WindowsSecurityContext Class | log4net.Util Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Dispose.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Dispose.ht0000644000175000017500000000427610412737534032277 0ustar slomoslomo TelnetAppender.SocketHandler.SocketClient.Dispose Method
log4net SDK Reference

TelnetAppender.SocketHandler.SocketClient.Dispose Method 

Cleanup the clients connection

[Visual Basic]
NotOverridable Public Sub Dispose() _
    Implements IDisposable.Dispose
[C#]
public void Dispose();

Implements

IDisposable.Dispose

Remarks

Close the socket connection.

See Also

TelnetAppender.SocketHandler.SocketClient Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.html0000644000175000017500000000746010412737564026176 0ustar slomoslomo ReadOnlyPropertiesDictionary Class
log4net SDK Reference

ReadOnlyPropertiesDictionary Class

String keyed object map that is read only.

For a list of all members of this type, see ReadOnlyPropertiesDictionary Members.

System.Object
   log4net.Util.ReadOnlyPropertiesDictionary
      log4net.Util.PropertiesDictionary

[Visual Basic]
Public Class ReadOnlyPropertiesDictionary
    Implements ISerializable, IDictionary, ICollection, IEnumerable
[C#]
public class ReadOnlyPropertiesDictionary : ISerializable, IDictionary, ICollection, IEnumerable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This collection is readonly and cannot be modified.

While this collection is serializable only member objects that are serializable will be serialized along with this collection.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ReadOnlyPropertiesDictionary Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.DebugFormat_overload_3.html0000644000175000017500000000746510412737516024611 0ustar slomoslomo ILog.DebugFormat Method (String, Object, Object)
log4net SDK Reference

ILog.DebugFormat Method (String, Object, Object)

Logs a formatted message string with the Debug level.

[Visual Basic]
Sub DebugFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
)
[C#]
void DebugFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

ILog Interface | log4net Namespace | ILog.DebugFormat Overload List | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.DefaultConversionPattern.html0000644000175000017500000000406310412737550030507 0ustar slomoslomo PatternLayout.DefaultConversionPattern Field
log4net SDK Reference

PatternLayout.DefaultConversionPattern Field

Default pattern string for log output.

[Visual Basic]
Public Const DefaultConversionPattern As String = "%message%newline"
[C#]
public const string DefaultConversionPattern = "%message%newline";

Remarks

Default pattern string for log output. Currently set to the string "%message%newline" which just prints the application supplied message.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluatorMethods.html0000644000175000017500000001155710412737542024605 0ustar slomoslomo LevelEvaluator Methods
log4net SDK Reference

LevelEvaluator Methods

The methods of the LevelEvaluator class are listed below. For a complete list of LevelEvaluator class members, see the LevelEvaluator Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IsTriggeringEvent Is this loggingEvent the triggering event?
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelEvaluator Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayoutProperties.html0000644000175000017500000000461210412737550024350 0ustar slomoslomo ILayout Properties
log4net SDK Reference

ILayout Properties

The properties of the ILayout interface are listed below. For a complete list of ILayout interface members, see the ILayout Members topic.

Public Instance Properties

ContentType The content type output by this layout.
Footer The footer for the layout format.
Header The header for the layout format.
IgnoresException Flag indicating if this layout handle exceptions

See Also

ILayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.op_GreaterThan.html0000644000175000017500000000457010412737542024274 0ustar slomoslomo Level Greater Than Operator
log4net SDK Reference

Level Greater Than Operator 

Returns a value indicating whether a specified Level is greater than another specified Level.

[Visual Basic]
returnValue = Level.op_GreaterThan(l, r)
[C#]
public static bool operator >(
   Level l,
   Level r
);

Parameters

l
A Level
r
A Level

Return Value

true if l is greater than r; otherwise, false.

Remarks

Compares two levels.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerMembers.html0000644000175000017500000002322610412737556026266 0ustar slomoslomo Logger Members
log4net SDK Reference

Logger Members

Logger overview

Public Instance Properties

Additivity Gets or sets a value indicating if child loggers inherit their parent's appenders.
Appenders Get the appenders contained in this logger as an ICollection.
EffectiveLevel Gets the effective level for this logger.
Hierarchy Gets or sets the Hierarchy where this Logger instance is attached to.
Level Gets or sets the assigned Level, if any, for this Logger.
Name Gets the logger name.
Parent Gets or sets the parent logger in the hierarchy.
Repository Gets the ILoggerRepository where this Logger instance is attached to.

Public Instance Methods

AddAppender Add newAppender to the list of appenders of this Logger instance.
CloseNestedAppenders Closes all attached appenders implementing the IAppenderAttachable interface.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAppender Look for the appender named as name
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IsEnabledFor Checks if this logger is enabled for a given Level passed as parameter.
LogOverloaded. This is the most generic printing method that is intended to be used by wrappers.
RemoveAllAppenders Remove all previously added appenders from this Logger instance.
RemoveAppenderOverloaded. Remove the appender passed as parameter form the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

Logger Constructor This constructor created a new Logger instance and sets its name.

Protected Instance Methods

CallAppenders Deliver the LoggingEvent to the attached appenders.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
ForcedLogOverloaded. Creates a new logging event and logs the event without further checks.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriterConstructor.html0000644000175000017500000000454710412737562025756 0ustar slomoslomo QuietTextWriter Constructor
log4net SDK Reference

QuietTextWriter Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal writer As TextWriter, _
   ByVal errorHandler As IErrorHandler _
)
[C#]
public QuietTextWriter(
   TextWriter writer,
   IErrorHandler errorHandler
);

Parameters

writer
the writer to actually write to
errorHandler
the error handler to report error to

Remarks

Create a new QuietTextWriter using a writer and error handler

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.OnClose.html0000644000175000017500000000365710412737524027633 0ustar slomoslomo BufferingAppenderSkeleton.OnClose Method
log4net SDK Reference

BufferingAppenderSkeleton.OnClose Method 

Close this appender instance.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Close this appender instance. If this appender is marked as not Lossy then the remaining events in the buffer must be sent when the appender is closed.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeError.ToString.html0000644000175000017500000000361510412737562024362 0ustar slomoslomo NativeError.ToString Method
log4net SDK Reference

NativeError.ToString Method 

Return error information string

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

Return Value

error information string

Remarks

Return error information string

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.RootLoggerConstructor.html0000644000175000017500000000425610412737556030067 0ustar slomoslomo RootLogger Constructor
log4net SDK Reference

RootLogger Constructor 

Construct a RootLogger

[Visual Basic]
Public Sub New( _
   ByVal level As Level _
)
[C#]
public RootLogger(
   Level level
);

Parameters

level
The level to assign to the root logger.

Remarks

Initializes a new instance of the RootLogger class with the specified logging level.

The root logger names itself as "root". However, the root logger cannot be retrieved by name.

See Also

RootLogger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.Log4NetConfigurationSectionHandler.Create.html0000644000175000017500000001055010412737536030670 0ustar slomoslomo Log4NetConfigurationSectionHandler.Create Method
log4net SDK Reference

Log4NetConfigurationSectionHandler.Create Method 

Parses the configuration section.

[Visual Basic]
NotOverridable Public Function Create( _
   ByVal parent As Object, _
   ByVal configContext As Object, _
   ByVal section As XmlNode _
) As Object _
    Implements IConfigurationSectionHandler.Create
[C#]
public object Create(
   object parent,
   object configContext,
   XmlNode section
);

Parameters

parent
The configuration settings in a corresponding parent configuration section.
configContext
The configuration context when called from the ASP.NET configuration system. Otherwise, this parameter is reserved and is a null reference.
section
The XmlNode for the log4net section.

Return Value

The XmlNode for the log4net section.

Implements

IConfigurationSectionHandler.Create

Remarks

Returns the XmlNode containing the configuration data,

See Also

Log4NetConfigurationSectionHandler Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullSecurityContext.Instance.html0000644000175000017500000000363310412737562026124 0ustar slomoslomo NullSecurityContext.Instance Field
log4net SDK Reference

NullSecurityContext.Instance Field

Singleton instance of NullSecurityContext

[Visual Basic]
Public Shared ReadOnly Instance As NullSecurityContext
[C#]
public static readonly NullSecurityContext Instance;

Remarks

Singleton instance of NullSecurityContext

See Also

NullSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateDomain_overload_3.html0000644000175000017500000000776710412737544027522 0ustar slomoslomo LoggerManager.CreateDomain Method (Assembly, Type)
log4net SDK Reference

LoggerManager.CreateDomain Method (Assembly, Type)

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain


Creates a repository for the specified assembly and repository type.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal repositoryAssembly As Assembly, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateDomain(
   Assembly repositoryAssembly,
   Type repositoryType
);

Parameters

repositoryAssembly
The assembly to use to get the name of the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same assembly specified will return the same repository instance.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.CreateDomain Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.Log4NetConfigurationSectionHandlerMethods.html0000644000175000017500000001200710412737536031011 0ustar slomoslomo Log4NetConfigurationSectionHandler Methods
log4net SDK Reference

Log4NetConfigurationSectionHandler Methods

The methods of the Log4NetConfigurationSectionHandler class are listed below. For a complete list of Log4NetConfigurationSectionHandler class members, see the Log4NetConfigurationSectionHandler Members topic.

Public Instance Methods

Create Parses the configuration section.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Log4NetConfigurationSectionHandler Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Keys.html0000644000175000017500000000557610412737560024416 0ustar slomoslomo Keys Property
log4net SDK Reference

EmptyDictionary.Keys Property

Gets an ICollection containing the keys of the EmptyDictionary.

[Visual Basic]
NotOverridable Public ReadOnly Property Keys As ICollection _
    Implements IDictionary.Keys
[C#]
public System.Collections.ICollection Keys {get;}

Property Value

An ICollection containing the keys of the EmptyDictionary.

Implements

IDictionary.Keys

Remarks

As the collection is empty a EmptyCollection is returned.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.IFilter.Next.html0000644000175000017500000000347110412737546023137 0ustar slomoslomo Next Property
log4net SDK Reference

IFilter.Next Property

Property to get and set the next filter

[Visual Basic]
Property Next As IFilter
[C#]
IFilter Next {get; set;}

Property Value

The next filter in the chain

Remarks

Filters are typically composed into chains. This property allows the next filter in the chain to be accessed.

See Also

IFilter Interface | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TransformMembers.html0000644000175000017500000001017510412737564023641 0ustar slomoslomo Transform Members
log4net SDK Reference

Transform Members

Transform overview

Public Static (Shared) Methods

MaskXmlInvalidCharacters Replace invalid XML characters in text string
WriteEscapedXmlString Write a string to an XmlWriter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

Transform Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppenderMembers.html0000644000175000017500000003007710412737526025712 0ustar slomoslomo EventLogAppender Members
log4net SDK Reference

EventLogAppender Members

EventLogAppender overview

Public Instance Constructors

EventLogAppender Overloaded. Initializes a new instance of the EventLogAppender class.

Public Instance Properties

ApplicationName Property used to set the Application name. This appears in the event logs when logging.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LogName The name of the log where messages will be stored.
MachineName This property is used to return the name of the computer to use when accessing the event logs. Currently, this is the current computer, denoted by a dot "."
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
SecurityContext Gets or sets the SecurityContext used to write to the EventLog.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to EventLogEntryType - done by the config file
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetEntryType Get the equivalent EventLogEntryType for a Level p
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Write_overload_6.html0000644000175000017500000000450610412737564027207 0ustar slomoslomo TextWriterAdapter.Write Method (String)
log4net SDK Reference

TextWriterAdapter.Write Method (String)

Writes a string to the wrapped TextWriter

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal value As String _
)
[C#]
public override void Write(
   string value
);

Parameters

value
the value to write to the TextWriter

Remarks

Writes a string to the wrapped TextWriter

See Also

TextWriterAdapter Class | log4net.Util Namespace | TextWriterAdapter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.ActivateOptions.html0000644000175000017500000000467710412737526027521 0ustar slomoslomo EventLogAppender.ActivateOptions Method
log4net SDK Reference

EventLogAppender.ActivateOptions Method 

Initialize the appender based on the options set

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.Username.html0000644000175000017500000000456710412737534025361 0ustar slomoslomo Username Property
log4net SDK Reference

SmtpAppender.Username Property

The username to use to authenticate with the SMTP server

[Visual Basic]
Public Property Username As String
[C#]
public string Username {get; set;}

Remarks

CAUTION   Authentication is only available on the MS .NET 1.1 runtime.

A Username and Password must be specified when Authentication is set to Basic, otherwise the username will be ignored.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppender.Append_overloads.html0000644000175000017500000000420210412737526027155 0ustar slomoslomo Append Method
log4net SDK Reference

DebugAppender.Append Method

Writes the logging event to the Debug system.

Overload List

Writes the logging event to the Debug system.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

DebugAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.Write_overload_17.html0000644000175000017500000000443710412737562027001 0ustar slomoslomo QuietTextWriter.Write Method (Char)
log4net SDK Reference

QuietTextWriter.Write Method (Char)

Writes a character to the underlying writer

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal value As Char _
)
[C#]
public override void Write(
   char value
);

Parameters

value
the char to write

Remarks

Writes a character to the underlying writer

See Also

QuietTextWriter Class | log4net.Util Namespace | QuietTextWriter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppenderConstructor.html0000644000175000017500000000303010412737534026341 0ustar slomoslomo TelnetAppender Constructor
log4net SDK Reference

TelnetAppender Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public TelnetAppender();

Remarks

Default constructor

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLockMembers.html0000644000175000017500000001477410412737526027633 0ustar slomoslomo FileAppender.ExclusiveLock Members
log4net SDK Reference

FileAppender.ExclusiveLock Members

FileAppender.ExclusiveLock overview

Public Instance Constructors

FileAppender.ExclusiveLock Constructor Initializes a new instance of the FileAppender.ExclusiveLock class.

Public Instance Properties

CurrentAppender (inherited from LockingModelBase) Gets or sets the FileAppender for this LockingModel

Public Instance Methods

AcquireLock Acquire the lock on the file
CloseFile Close the file
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
OpenFile Open the file specified and prepare for logging.
ReleaseLock Release the lock on the file
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FileAppender.ExclusiveLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionary.Item.html0000644000175000017500000000515110412737562025426 0ustar slomoslomo Item Property
log4net SDK Reference

PropertiesDictionary.Item Property

Gets or sets the value of the property with the specified key.

[Visual Basic]
Overrides Public Default Property Item( _
   ByVal key As String _
) As Object
[C#]
public override object this[
   string key
] {get; set;}

Parameters

key
The key of the property to get or set.

Property Value

The value of the property with the specified key.

Remarks

The property value will only be serialized if it is serializable. If it cannot be serialized it will be silently ignored if a serialization operation is performed.

See Also

PropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Layout.html0000644000175000017500000000400410412737522025677 0ustar slomoslomo Layout Property
log4net SDK Reference

AppenderSkeleton.Layout Property

Gets or sets the ILayout for this appender.

[Visual Basic]
Overridable Public Property Layout As ILayout
[C#]
public virtual log4net.Layout.ILayout Layout {get; set;}

Property Value

The layout of the appender.

Remarks

See RequiresLayout for more information.

See Also

AppenderSkeleton Class | log4net.Appender Namespace | RequiresLayout


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppender.OutputDebugString.html0000644000175000017500000000442210412737532031737 0ustar slomoslomo OutputDebugStringAppender.OutputDebugString Method
log4net SDK Reference

OutputDebugStringAppender.OutputDebugString Method 

Stub for OutputDebugString native method

[Visual Basic]
Protected Shared Sub OutputDebugString( _
   ByVal message As String _
)
[C#]
protected static void OutputDebugString(
   string message
);

Parameters

message
the string to output

Remarks

Stub for OutputDebugString native method

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.FatalFormat_overloads.html0000644000175000017500000000527110412737546026147 0ustar slomoslomo FatalFormat Method
log4net SDK Reference

LogImpl.FatalFormat Method

Logs a formatted message string with the FATAL level.

Overload List

Logs a formatted message string with the FATAL level.

public virtual void FatalFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the FATAL level.

public virtual void FatalFormat(string,object);

Logs a formatted message string with the FATAL level.

public virtual void FatalFormat(string,object,object);

Logs a formatted message string with the FATAL level.

public virtual void FatalFormat(string,object,object,object);

Logs a formatted message string with the FATAL level.

public virtual void FatalFormat(string,params object[]);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.IDateTimeMembers.html0000644000175000017500000000350110412737534030170 0ustar slomoslomo RollingFileAppender.IDateTime Members
log4net SDK Reference

RollingFileAppender.IDateTime Members

RollingFileAppender.IDateTime overview

Public Instance Properties

Now Gets the current time.

See Also

RollingFileAppender.IDateTime Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.IFilterProperties.html0000644000175000017500000000344510412737546024300 0ustar slomoslomo IFilter Properties
log4net SDK Reference

IFilter Properties

The properties of the IFilter interface are listed below. For a complete list of IFilter interface members, see the IFilter Members topic.

Public Instance Properties

Next Property to get and set the next filter

See Also

IFilter Interface | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextProperties.html0000644000175000017500000000546210412737564025207 0ustar slomoslomo ThreadContextProperties Class
log4net SDK Reference

ThreadContextProperties Class

Implementation of Properties collection for the ThreadContext

For a list of all members of this type, see ThreadContextProperties Members.

System.Object
   log4net.Util.ContextPropertiesBase
      log4net.Util.ThreadContextProperties

[Visual Basic]
NotInheritable Public Class ThreadContextProperties
    Inherits ContextPropertiesBase
[C#]
public sealed class ThreadContextProperties : ContextPropertiesBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Class implements a collection of properties that is specific to each thread. The class is not synchronized as each thread has its own PropertiesDictionary.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ThreadContextProperties Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderConstructor3.html0000644000175000017500000000622510412737524030113 0ustar slomoslomo ColoredConsoleAppender Constructor (ILayout, Boolean)
log4net SDK Reference

ColoredConsoleAppender Constructor (ILayout, Boolean)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout & Target properties


Initializes a new instance of the ColoredConsoleAppender class with the specified layout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal writeToErrorStream As Boolean _
)
[C#]
public ColoredConsoleAppender(
   ILayout layout,
   bool writeToErrorStream
);

Parameters

layout
the layout to use for this appender
writeToErrorStream
flag set to true to write to the console error stream

Remarks

When writeToErrorStream is set to true, output is written to the standard error output stream. Otherwise, output is written to the standard output stream.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace | ColoredConsoleAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.ILog.DebugFormat_overloads.html0000644000175000017500000000553210412737516024543 0ustar slomoslomo DebugFormat Method
log4net SDK Reference

ILog.DebugFormat Method

Log a formatted string with the Debug level.

Overload List

Logs a formatted message string with the Debug level.

void DebugFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the Debug level.

void DebugFormat(string,object);

Logs a formatted message string with the Debug level.

void DebugFormat(string,object,object);

Logs a formatted message string with the Debug level.

void DebugFormat(string,object,object,object);

Logs a formatted message string with the Debug level.

void DebugFormat(string,params object[]);

See Also

ILog Interface | log4net Namespace | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/intoperator.gif0000644000175000017500000000156410412737506020231 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@Qÿ  ° Áƒ$HPá?|øFÄ×ð_ņ-:´ £Ç%þÛ7’bÁ‹ =n̨QáÅ 7Êœ ±&Å—ñ틸sÃy $‰“åÌ€;log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.AddRange_overloads.html0000644000175000017500000000462710412737522030467 0ustar slomoslomo AddRange Method
log4net SDK Reference

AppenderCollection.AddRange Method

Adds the elements of another AppenderCollection to the current AppenderCollection.

Overload List

Adds the elements of another AppenderCollection to the current AppenderCollection.

public virtual int AddRange(AppenderCollection);

Adds the elements of a IAppender array to the current AppenderCollection.

public virtual int AddRange(IAppender[]);

Adds the elements of a IAppender collection to the current AppenderCollection.

public virtual int AddRange(ICollection);

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionaryConstructor1.html0000644000175000017500000000340110412737562027054 0ustar slomoslomo PropertiesDictionary Constructor ()
log4net SDK Reference

PropertiesDictionary Constructor ()

Constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public PropertiesDictionary();

Remarks

Initializes a new instance of the PropertiesDictionary class.

See Also

PropertiesDictionary Class | log4net.Util Namespace | PropertiesDictionary Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternParserConstructor.html0000644000175000017500000000413310412737562025406 0ustar slomoslomo PatternParser Constructor
log4net SDK Reference

PatternParser Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal pattern As String _
)
[C#]
public PatternParser(
   string pattern
);

Parameters

pattern
The pattern to parse.

Remarks

Initializes a new instance of the PatternParser class with the specified pattern string.

See Also

PatternParser Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.Push.html0000644000175000017500000000675410412737520020761 0ustar slomoslomo NDC.Push Method
log4net SDK Reference

NDC.Push Method 

Pushes a new context message.

[Visual Basic]
Public Shared Function Push( _
   ByVal message As String _
) As IDisposable
[C#]
public static IDisposable Push(
   string message
);

Parameters

message
The new context message.

Return Value

An IDisposable that can be used to clean up the context stack.

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

Pushes a new context onto the context stack. An IDisposable is returned that can be used to clean up the context stack. This can be easily combined with the using keyword to scope the context.

Example

Simple example of using the Push method with the using keyword.

[C#]
using(log4net.NDC.Push("NDC_Message"))
{
    log.Warn("This should have an NDC message");
}

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overloads.html0000644000175000017500000001071010412737540027751 0ustar slomoslomo Configure Method
log4net SDK Reference

XmlConfigurator.Configure Method

Automatically configures the log4net system based on the application's configuration settings.

Overload List

Automatically configures the log4net system based on the application's configuration settings.

public static void Configure();

Automatically configures the ILoggerRepository using settings stored in the application's configuration file.

public static void Configure(ILoggerRepository);

Configures the ILoggerRepository using the specified configuration file.

public static void Configure(ILoggerRepository,FileInfo);

Configures the ILoggerRepository using the specified configuration file.

public static void Configure(ILoggerRepository,Stream);

Configures the ILoggerRepository using the specified configuration URI.

public static void Configure(ILoggerRepository,Uri);

Configures the ILoggerRepository using the specified XML element.

public static void Configure(ILoggerRepository,XmlElement);

Configures log4net using the specified configuration file.

public static void Configure(FileInfo);

Configures log4net using the specified configuration data stream.

public static void Configure(Stream);

Configures log4net using the specified configuration URI.

public static void Configure(Uri);

Configures log4net using a log4net element

public static void Configure(XmlElement);

See Also

XmlConfigurator Class | log4net.Config Namespace | Log4NetConfigurationSectionHandler


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.DbType.html0000644000175000017500000000477510412737520027055 0ustar slomoslomo DbType Property
log4net SDK Reference

AdoNetAppenderParameter.DbType Property

Gets or sets the database type for this parameter.

[Visual Basic]
Public Property DbType As DbType
[C#]
public System.Data.DbType DbType {get; set;}

Property Value

The database type for this parameter.

Remarks

The database type for this parameter. This property should be set to the database type from the DbType enumeration. See DbType.

This property is optional. If not specified the ADO.NET provider will attempt to infer the type from the value.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace | DbType


log4net-1.2.10/doc/release/sdk/log4net.ILog.DebugFormat_overload_2.html0000644000175000017500000001032610412737516024576 0ustar slomoslomo ILog.DebugFormat Method (String, Object, Object, Object)
log4net SDK Reference

ILog.DebugFormat Method (String, Object, Object, Object)

Logs a formatted message string with the Debug level.

[Visual Basic]
Sub DebugFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
)
[C#]
void DebugFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

ILog Interface | log4net Namespace | ILog.DebugFormat Overload List | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Debug_overload_1.html0000644000175000017500000000655710412737546025042 0ustar slomoslomo LogImpl.Debug Method (Object, Exception)
log4net SDK Reference

LogImpl.Debug Method (Object, Exception)

Logs a message object with the DEBUG level

[Visual Basic]
Overridable Overloads Public Sub Debug( _
   ByVal message As Object, _
   ByVal exception As Exception _
) _
    Implements ILog.Debug
[C#]
public virtual void Debug(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Implements

ILog.Debug

Remarks

Logs a message object with the DEBUG level including the stack trace of the Exception exception passed as a parameter.

See the Debug form for more detailed information.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Debug Overload List | Debug


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateRepository_overload_2.html0000644000175000017500000000651610412737516027072 0ustar slomoslomo LogManager.CreateRepository Method (String)
log4net SDK Reference

LogManager.CreateRepository Method (String)

Creates a repository with the specified name.

[Visual Basic]
Overloads Public Shared Function CreateRepository( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateRepository(
   string repository
);

Parameters

repository
The name of the repository, this must be unique amongst repositories.

Return Value

The ILoggerRepository created for the repository.

Remarks

Creates the default type of ILoggerRepository which is a Hierarchy object.

The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.

Exceptions

Exception TypeCondition
LogExceptionThe specified repository already exists.

See Also

LogManager Class | log4net Namespace | LogManager.CreateRepository Overload List


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes.htm0000644000175000017500000000363510412737522032436 0ustar slomoslomo Attributes Property
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors.Attributes Property

The color attributes for the specified level

[Visual Basic]
Public Property Attributes As AnsiAttributes
[C#]
public AnsiColorTerminalAppender.AnsiAttributes Attributes {get; set;}

Remarks

Required property. The color attributes for the specified level

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.op_Equality.html0000644000175000017500000000475510412737542023672 0ustar slomoslomo Level Equality Operator
log4net SDK Reference

Level Equality Operator 

Returns a value indicating whether two specified Level objects have the same value.

[Visual Basic]
returnValue = Level.op_Equality(l, r)
[C#]
public static bool operator ==(
   Level l,
   Level r
);

Parameters

l
A Level or a null reference (Nothing in Visual Basic).
r
A Level or a null reference (Nothing in Visual Basic).

Return Value

true if the value of l is the same as the value of r; otherwise, false.

Remarks

Compares two levels.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBufferProperties.html0000644000175000017500000000434010412737560024761 0ustar slomoslomo CyclicBuffer Properties
log4net SDK Reference

CyclicBuffer Properties

The properties of the CyclicBuffer class are listed below. For a complete list of CyclicBuffer class members, see the CyclicBuffer Members topic.

Public Instance Properties

Item Gets the ith oldest event currently in the buffer.
Length Gets the number of logging events in the buffer.
MaxSize Gets the maximum size of the buffer.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLockConstructor.html0000644000175000017500000000327010412737526030172 0ustar slomoslomo FileAppender.MinimalLock Constructor
log4net SDK Reference

FileAppender.MinimalLock Constructor 

Initializes a new instance of the FileAppender.MinimalLock class.

[Visual Basic]
Public Sub New()
[C#]
public FileAppender.MinimalLock();

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppenderProperties.html0000644000175000017500000001346210412737532026511 0ustar slomoslomo RemotingAppender Properties
log4net SDK Reference

RemotingAppender Properties

The properties of the RemotingAppender class are listed below. For a complete list of RemotingAppender class members, see the RemotingAppender Members topic.

Public Instance Properties

BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Sink Gets or sets the URL of the well-known object that will accept the logging events.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

See Also

RemotingAppender Class | log4net.Appender Namespace | RemotingAppender.IRemoteLoggingSink


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingEntry.ActivateOptions.html0000644000175000017500000000410310412737560027061 0ustar slomoslomo LevelMappingEntry.ActivateOptions Method
log4net SDK Reference

LevelMappingEntry.ActivateOptions Method 

Initialize any options defined on this entry

[Visual Basic]
Overridable Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public virtual void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Should be overridden by any classes that need to initialise based on their options

See Also

LevelMappingEntry Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IAppender.Close.html0000644000175000017500000000346510412737530024104 0ustar slomoslomo IAppender.Close Method
log4net SDK Reference

IAppender.Close Method 

Closes the appender and releases resources.

[Visual Basic]
Sub Close()
[C#]
void Close();

Remarks

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also

IAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternParserMethods.html0000644000175000017500000000730010412737562024463 0ustar slomoslomo PatternParser Methods
log4net SDK Reference

PatternParser Methods

The methods of the PatternParser class are listed below. For a complete list of PatternParser class members, see the PatternParser Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Parse Parses the pattern into a chain of pattern converters.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PatternParser Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Contains.html0000644000175000017500000000515410412737542025163 0ustar slomoslomo LevelCollection.Contains Method
log4net SDK Reference

LevelCollection.Contains Method 

Determines whether a given Level is in the LevelCollection.

[Visual Basic]
Overridable Public Function Contains( _
   ByVal item As Level _
) As Boolean
[C#]
public virtual bool Contains(
   Level item
);

Parameters

item
The Level to check for.

Return Value

true if item is found in the LevelCollection; otherwise, false.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.Contains(log4net.Core.Level)

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLockMethods.html0000644000175000017500000001310610412737526027630 0ustar slomoslomo FileAppender.ExclusiveLock Methods
log4net SDK Reference

FileAppender.ExclusiveLock Methods

The methods of the FileAppender.ExclusiveLock class are listed below. For a complete list of FileAppender.ExclusiveLock class members, see the FileAppender.ExclusiveLock Members topic.

Public Instance Methods

AcquireLock Acquire the lock on the file
CloseFile Close the file
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
OpenFile Open the file specified and prepare for logging.
ReleaseLock Release the lock on the file
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FileAppender.ExclusiveLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullSecurityContextMethods.html0000644000175000017500000000735410412737562025711 0ustar slomoslomo NullSecurityContext Methods
log4net SDK Reference

NullSecurityContext Methods

The methods of the NullSecurityContext class are listed below. For a complete list of NullSecurityContext class members, see the NullSecurityContext Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Impersonate Impersonate this SecurityContext
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NullSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Error_overload_1.html0000644000175000017500000000446110412737560024736 0ustar slomoslomo LogLog.Error Method (String)
log4net SDK Reference

LogLog.Error Method (String)

Writes log4net internal error messages to the standard error stream.

[Visual Basic]
Overloads Public Shared Sub Error( _
   ByVal message As String _
)
[C#]
public static void Error(
   string message
);

Parameters

message
The message to log.

Remarks

All internal error messages are prepended with the string "log4net:ERROR ".

See Also

LogLog Class | log4net.Util Namespace | LogLog.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Tag.html0000644000175000017500000000445110412737542024117 0ustar slomoslomo LevelCollection.Tag Enumeration
log4net SDK Reference

LevelCollection.Tag Enumeration

Type visible only to our subclasses Used to access protected constructor

[Visual Basic]
Protected Friend Enum LevelCollection.Tag
[C#]
protected internal enum LevelCollection.Tag

Remarks

Missing <remarks> documentation for T:log4net.Core.LevelCollection.Tag

Members

Member Name Description
Default A value

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.Appenders.html0000644000175000017500000000411110412737556026303 0ustar slomoslomo Appenders Property
log4net SDK Reference

AppenderAttachedImpl.Appenders Property

Gets all attached appenders.

[Visual Basic]
NotOverridable Public ReadOnly Property Appenders As AppenderCollection _
    Implements IAppenderAttachable.Appenders
[C#]
public log4net.Appender.AppenderCollection Appenders {get;}

Implements

IAppenderAttachable.Appenders

Remarks

The read only collection of all currently attached appenders.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.ErrorFormat_overload_1.html0000644000175000017500000001015110412737516024634 0ustar slomoslomo ILog.ErrorFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

ILog.ErrorFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the Error level.

[Visual Basic]
Sub ErrorFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void ErrorFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

ILog Interface | log4net Namespace | ILog.ErrorFormat Overload List | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.Appenders.html0000644000175000017500000000372510412737540026063 0ustar slomoslomo Appenders Property
log4net SDK Reference

IAppenderAttachable.Appenders Property

Gets all attached appenders.

[Visual Basic]
Property Appenders As AppenderCollection
[C#]
log4net.Appender.AppenderCollection Appenders {get;}

Property Value

A collection of attached appenders.

Remarks

Gets a collection of attached appenders. If there are no attached appenders the implementation should return an empty collection rather than null.

See Also

IAppenderAttachable Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfoMembers.html0000644000175000017500000001337310412737560024613 0ustar slomoslomo FormattingInfo Members
log4net SDK Reference

FormattingInfo Members

FormattingInfo overview

Public Instance Constructors

FormattingInfo Overloaded. Initializes a new instance of the FormattingInfo class.

Public Instance Properties

LeftAlign Gets or sets a flag indicating whether left align is enabled or not.
Max Gets or sets the maximum value.
Min Gets or sets the minimum value.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FormattingInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.GetKeys.html0000644000175000017500000000364710412737564027553 0ustar slomoslomo ReadOnlyPropertiesDictionary.GetKeys Method
log4net SDK Reference

ReadOnlyPropertiesDictionary.GetKeys Method 

Gets the key names.

[Visual Basic]
Public Function GetKeys() As String()
[C#]
public string[] GetKeys();

Return Value

An array of all the keys.

Remarks

Gets the key names.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.Exists.html0000644000175000017500000000514610412737556026731 0ustar slomoslomo Hierarchy.Exists Method
log4net SDK Reference

Hierarchy.Exists Method 

Test if a logger exists

[Visual Basic]
Overrides Public Function Exists( _
   ByVal name As String _
) As ILogger _
    Implements ILoggerRepository.Exists
[C#]
public override ILogger Exists(
   string name
);

Parameters

name
The name of the logger to lookup

Return Value

The Logger object with the name specified

Implements

ILoggerRepository.Exists

Remarks

Check if the named logger exists in the hierarchy. If so return its reference, otherwise returns null.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.Append_overload_2.html0000644000175000017500000000462210412737530030421 0ustar slomoslomo LocalSyslogAppender.Append Method (LoggingEvent)
log4net SDK Reference

LocalSyslogAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the event to a remote syslog daemon.

The format of the output will depend on the appender's layout.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace | LocalSyslogAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.FixVolatileData_overload_2.html0000644000175000017500000000727010412737544030051 0ustar slomoslomo LoggingEvent.FixVolatileData Method (Boolean)
log4net SDK Reference

LoggingEvent.FixVolatileData Method (Boolean)

NOTE: This method is now obsolete.

Use Fix property


Fixes instance fields that hold volatile data.

[Visual Basic]
Overloads Public Sub FixVolatileData( _
   ByVal fastButLoose As Boolean _
)
[C#]
public void FixVolatileData(
   bool fastButLoose
);

Parameters

fastButLoose
Set to true to not fix data that takes a long time to fix.

Remarks

Some of the values in instances of LoggingEvent are considered volatile, that is the values are correct at the time the event is delivered to appenders, but will not be consistent at any time afterwards. If an event is to be stored and then processed at a later time these volatile values must be fixed by calling FixVolatileData. There is a performance penalty for incurred by calling FixVolatileData but it is essential to maintaining data consistency.

The fastButLoose param controls the data that is fixed. Some of the data that can be fixed takes a long time to generate, therefore if you do not require those settings to be fixed they can be ignored by setting the fastButLoose param to true. This setting will ignore the LocationInformation and UserName settings.

Set fastButLoose to false to ensure that all settings are fixed.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent.FixVolatileData Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.ConfigureAndWatch_overload_2.html0000644000175000017500000000706210412737540031427 0ustar slomoslomo XmlConfigurator.ConfigureAndWatch Method (ILoggerRepository, FileInfo)
log4net SDK Reference

XmlConfigurator.ConfigureAndWatch Method (ILoggerRepository, FileInfo)

Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

[Visual Basic]
Overloads Public Shared Sub ConfigureAndWatch( _
   ByVal repository As ILoggerRepository, _
   ByVal configFile As FileInfo _
)
[C#]
public static void ConfigureAndWatch(
   ILoggerRepository repository,
   FileInfo configFile
);

Parameters

repository
The repository to configure.
configFile
The XML file to load the configuration from.

Remarks

The configuration file must be valid XML. It must contain at least one element called log4net that holds the configuration data.

The configuration file will be monitored using a FileSystemWatcher and depends on the behavior of that class.

For more information on how to configure log4net using a separate configuration file, see Configure.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.ConfigureAndWatch Overload List | Configure


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfo.Min.html0000644000175000017500000000357610412737560024026 0ustar slomoslomo Min Property
log4net SDK Reference

FormattingInfo.Min Property

Gets or sets the minimum value.

[Visual Basic]
Public Property Min As Integer
[C#]
public int Min {get; set;}

Property Value

The minimum value.

Remarks

Gets or sets the minimum value.

See Also

FormattingInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetRepository_overloads.html0000644000175000017500000000403210412737544027725 0ustar slomoslomo GetRepository Method
log4net SDK Reference

LoggerManager.GetRepository Method

Returns the default ILoggerRepository instance.

Overload List

Returns the default ILoggerRepository instance.

public static ILoggerRepository GetRepository(Assembly);

Return the default ILoggerRepository instance.

public static ILoggerRepository GetRepository(string);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLockMembers.html0000644000175000017500000001124010412737564025070 0ustar slomoslomo ReaderWriterLock Members
log4net SDK Reference

ReaderWriterLock Members

ReaderWriterLock overview

Public Instance Constructors

ReaderWriterLock Constructor Constructor

Public Instance Methods

AcquireReaderLock Acquires a reader lock
AcquireWriterLock Acquires the writer lock
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ReleaseReaderLock Decrements the lock count
ReleaseWriterLock Decrements the lock count on the writer lock
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

ReaderWriterLock Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasDomainAttributeMembers.html0000644000175000017500000001260110412737536026216 0ustar slomoslomo AliasDomainAttribute Members
log4net SDK Reference

AliasDomainAttribute Members

AliasDomainAttribute overview

Public Instance Constructors

AliasDomainAttribute Constructor Initializes a new instance of the AliasDomainAttribute class with the specified domain to alias to this assembly's repository.

Public Instance Properties

Name (inherited from AliasRepositoryAttribute) Gets or sets the repository to alias to this assemby's repository.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

AliasDomainAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.ErrorFormat_overload_3.html0000644000175000017500000001051510412737546026245 0ustar slomoslomo LogImpl.ErrorFormat Method (String, Object, Object)
log4net SDK Reference

LogImpl.ErrorFormat Method (String, Object, Object)

Logs a formatted message string with the ERROR level.

[Visual Basic]
Overridable Overloads Public Sub ErrorFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
) _
    Implements ILog.ErrorFormat
[C#]
public virtual void ErrorFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Implements

ILog.ErrorFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the ErrorFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.ErrorFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Write_overload_15.html0000644000175000017500000000621210412737564027263 0ustar slomoslomo TextWriterAdapter.Write Method (Char[], Int32, Int32)
log4net SDK Reference

TextWriterAdapter.Write Method (Char[], Int32, Int32)

Writes a character buffer to the wrapped TextWriter

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal buffer As Char(), _
   ByVal index As Integer, _
   ByVal count As Integer _
)
[C#]
public override void Write(
   char[] buffer,
   int index,
   int count
);

Parameters

buffer
the data buffer
index
the start index
count
the number of characters to write

Remarks

Writes a character buffer to the wrapped TextWriter

See Also

TextWriterAdapter Class | log4net.Util Namespace | TextWriterAdapter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.SyslogFacility.html0000644000175000017500000000752610412737530030051 0ustar slomoslomo LocalSyslogAppender.SyslogFacility Enumeration
log4net SDK Reference

LocalSyslogAppender.SyslogFacility Enumeration

syslog facilities

[Visual Basic]
Public Enum LocalSyslogAppender.SyslogFacility
[C#]
public enum LocalSyslogAppender.SyslogFacility

Remarks

The syslog facility defines which subsystem the logging comes from. This is set on the Facility property.

Members

Member NameDescription
Kernel kernel messages
User random user-level messages
Mail mail system
Daemons system daemons
Authorization security/authorization messages
Syslog messages generated internally by syslogd
Printer line printer subsystem
News network news subsystem
Uucp UUCP subsystem
Clock clock (cron/at) daemon
Authorization2 security/authorization messages (private)
Ftp ftp daemon
Ntp NTP subsystem
Audit log audit
Alert log alert
Clock2 clock daemon
Local0 reserved for local use
Local1 reserved for local use
Local2 reserved for local use
Local3 reserved for local use
Local4 reserved for local use
Local5 reserved for local use
Local6 reserved for local use
Local7 reserved for local use

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderFields.html0000644000175000017500000000422310412737520025141 0ustar slomoslomo AdoNetAppender Fields
log4net SDK Reference

AdoNetAppender Fields

The fields of the AdoNetAppender class are listed below. For a complete list of AdoNetAppender class members, see the AdoNetAppender Members topic.

Protected Instance Fields

m_parameters The list of AdoNetAppenderParameter objects.
m_usePreparedCommand Flag to indicate if we are using a command object

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeletonHierarchy.html0000644000175000017500000000563110412737522026271 0ustar slomoslomo AppenderSkeleton Hierarchy
log4net SDK Reference

AppenderSkeleton Hierarchy

System.Object
   AppenderSkeleton
      AnsiColorTerminalAppender
      AspNetTraceAppender
      BufferingAppenderSkeleton
      ColoredConsoleAppender
      ConsoleAppender
      DebugAppender
      EventLogAppender
      ForwardingAppender
      LocalSyslogAppender
      MemoryAppender
      NetSendAppender
      OutputDebugStringAppender
      TelnetAppender
      TextWriterAppender
      TraceAppender
      UdpAppender

See Also

AppenderSkeleton Class | AppenderSkeleton Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IErrorHandler.Error_overload_3.html0000644000175000017500000000635510412737540026232 0ustar slomoslomo IErrorHandler.Error Method (String, Exception, ErrorCode)
log4net SDK Reference

IErrorHandler.Error Method (String, Exception, ErrorCode)

Handles the error and information about the error condition is passed as a parameter.

[Visual Basic]
Sub Error( _
   ByVal message As String, _
   ByVal e As Exception, _
   ByVal errorCode As ErrorCode _
)
[C#]
void Error(
   string message,
   Exception e,
   ErrorCode errorCode
);

Parameters

message
The message associated with the error.
e
The Exception that was thrown when the error occurred.
errorCode
The error code associated with the error.

Remarks

Handles the error and information about the error condition is passed as a parameter.

See Also

IErrorHandler Interface | log4net.Core Namespace | IErrorHandler.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMap.html0000644000175000017500000000431510412737554022566 0ustar slomoslomo PluginMap Class
log4net SDK Reference

PluginMap Class

Map of repository plugins.

For a list of all members of this type, see PluginMap Members.

System.Object
   log4net.Plugin.PluginMap

[Visual Basic]
NotInheritable Public Class PluginMap
[C#]
public sealed class PluginMap

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class is a name keyed map of the plugins that are attached to a repository.

Requirements

Namespace: log4net.Plugin

Assembly: log4net (in log4net.dll)

See Also

PluginMap Members | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyMethods.html0000644000175000017500000002217610412737556027001 0ustar slomoslomo Hierarchy Methods
log4net SDK Reference

Hierarchy Methods

The methods of the Hierarchy class are listed below. For a complete list of Hierarchy class members, see the Hierarchy Members topic.

Public Instance Methods

AddRenderer (inherited from LoggerRepositorySkeleton) Adds an object renderer for a specific class.
Clear Clear all logger definitions from the internal hashtable
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Exists Test if a logger exists
GetAppenders Returns all the Appenders that are currently configured
GetCurrentLoggers Returns all the currently defined loggers in the hierarchy as an Array
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLoggerOverloaded. Return a new logger instance named as the first parameter using the default factory.
GetType (inherited from Object) Gets the Type of the current instance.
IsDisabled Test if this hierarchy is disabled for the specified Level.
Log Log the logEvent through this hierarchy.
RaiseConfigurationChanged (inherited from LoggerRepositorySkeleton) Raise a configuration changed event on this repository
ResetConfiguration Reset all values contained in this hierarchy instance to their default.
Shutdown Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

BasicRepositoryConfigure Initialize the log4net system using the specified appender
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnConfigurationChanged (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository has had its configuration changed
OnConfigurationReset (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository has had its configuration reset
OnLoggerCreationEvent Sends a logger creation event to all registered listeners
OnShutdown (inherited from LoggerRepositorySkeleton) Notify the registered listeners that the repository is shutting down
XmlRepositoryConfigure Initialize the log4net system using the specified config

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogicalThreadContextProperties.Clear.html0000644000175000017500000000333610412737560027521 0ustar slomoslomo LogicalThreadContextProperties.Clear Method
log4net SDK Reference

LogicalThreadContextProperties.Clear Method 

Clear all the context properties

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

Clear all the context properties

See Also

LogicalThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.html0000644000175000017500000000543410412737522030464 0ustar slomoslomo AnsiColorTerminalAppender.LevelColors Class
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors Class

A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.

For a list of all members of this type, see AnsiColorTerminalAppender.LevelColors Members.

System.Object
   log4net.Util.LevelMappingEntry
      log4net.Appender.AnsiColorTerminalAppender.LevelColors

[Visual Basic]
Public Class AnsiColorTerminalAppender.LevelColors
    Inherits LevelMappingEntry
[C#]
public class AnsiColorTerminalAppender.LevelColors : LevelMappingEntry

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Defines the mapping between a level and the color it should be displayed in.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

AnsiColorTerminalAppender.LevelColors Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeletonProperties.html0000644000175000017500000000431210412737554025707 0ustar slomoslomo PluginSkeleton Properties
log4net SDK Reference

PluginSkeleton Properties

The properties of the PluginSkeleton class are listed below. For a complete list of PluginSkeleton class members, see the PluginSkeleton Members topic.

Public Instance Properties

Name Gets or sets the name of the plugin.

Protected Instance Properties

LoggerRepository The repository for this plugin

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.RequiresLayout.html0000644000175000017500000000411310412737534026562 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

SmtpAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Clear.html0000644000175000017500000000440710412737542024433 0ustar slomoslomo LevelCollection.Clear Method
log4net SDK Reference

LevelCollection.Clear Method 

Removes all elements from the LevelCollection.

[Visual Basic]
Overridable Public Sub Clear() _
    Implements IList.Clear
[C#]
public virtual void Clear();

Implements

IList.Clear

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.Clear

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttributeConstructor.html0000644000175000017500000000407510412737540027150 0ustar slomoslomo RepositoryAttribute Constructor
log4net SDK Reference

RepositoryAttribute Constructor

Initializes a new instance of the RepositoryAttribute class.

Overload List

Initializes a new instance of the RepositoryAttribute class.

public RepositoryAttribute();

Initialize a new instance of the RepositoryAttribute class with the name of the repository.

public RepositoryAttribute(string);

See Also

RepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.RemoveAt.html0000644000175000017500000000634710412737554025674 0ustar slomoslomo PluginCollection.RemoveAt Method
log4net SDK Reference

PluginCollection.RemoveAt Method 

Removes the element at the specified index of the PluginCollection.

[Visual Basic]
Overridable Public Sub RemoveAt( _
   ByVal index As Integer _
)
[C#]
public virtual void RemoveAt(
   int index
);

Parameters

index
The zero-based index of the element to remove.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.RemoveAt(System.Int32)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.Count.html0000644000175000017500000000473410412737564027266 0ustar slomoslomo Count Property
log4net SDK Reference

ReadOnlyPropertiesDictionary.Count Property

The number of properties in this collection

[Visual Basic]
NotOverridable Public ReadOnly Property Count As Integer _
    Implements ICollection.Count
[C#]
public int Count {get;}

Implements

ICollection.Count

Remarks

Missing <remarks> documentation for P:log4net.Util.ReadOnlyPropertiesDictionary.Count

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionConstructor3.html0000644000175000017500000000461210412737542025735 0ustar slomoslomo LevelCollection Constructor (LevelCollection)
log4net SDK Reference

LevelCollection Constructor (LevelCollection)

Initializes a new instance of the LevelCollection class that contains elements copied from the specified LevelCollection.

[Visual Basic]
Overloads Public Sub New( _
   ByVal c As LevelCollection _
)
[C#]
public LevelCollection(
   LevelCollection c
);

Parameters

c
The LevelCollection whose elements are copied to the new collection.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection)

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.AddConverter_overloads.html0000644000175000017500000000346110412737562027612 0ustar slomoslomo AddConverter Method
log4net SDK Reference

PatternString.AddConverter Method

Add a converter to this PatternString

Overload List

Add a converter to this PatternString

public void AddConverter(ConverterInfo);

Add a converter to this PatternString

public void AddConverter(string,Type);

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.SimpleLayout.html0000644000175000017500000000505110412737552023334 0ustar slomoslomo SimpleLayout Class
log4net SDK Reference

SimpleLayout Class

A very simple layout

For a list of all members of this type, see SimpleLayout Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.SimpleLayout

[Visual Basic]
Public Class SimpleLayout
    Inherits LayoutSkeleton
[C#]
public class SimpleLayout : LayoutSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself. For example,

DEBUG - Hello world

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

SimpleLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.Append_overload_2.html0000644000175000017500000000444310412737530027437 0ustar slomoslomo MemoryAppender.Append Method (LoggingEvent)
log4net SDK Reference

MemoryAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to log

Remarks

Stores the loggingEvent in the events list.

See Also

MemoryAppender Class | log4net.Appender Namespace | MemoryAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppender.Fix.html0000644000175000017500000000354310412737530024642 0ustar slomoslomo Fix Property
log4net SDK Reference

MemoryAppender.Fix Property

Gets or sets the fields that will be fixed in the event

[Visual Basic]
Overridable Public Property Fix As FixFlags
[C#]
public virtual log4net.Core.FixFlags Fix {get; set;}

Remarks

The logging event needs to have certain thread specific values captured before it can be buffered. See Fix for details.

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.GetAppSetting.html0000644000175000017500000000467010412737564025173 0ustar slomoslomo SystemInfo.GetAppSetting Method
log4net SDK Reference

SystemInfo.GetAppSetting Method 

Lookup an application setting

[Visual Basic]
Public Shared Function GetAppSetting( _
   ByVal key As String _
) As String
[C#]
public static string GetAppSetting(
   string key
);

Parameters

key
the application settings key to lookup

Return Value

the value for the key, or null

Remarks

Configuration APIs are not supported under the Compact Framework

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionaryProperties.html0000644000175000017500000000424710412737562026613 0ustar slomoslomo PropertiesDictionary Properties
log4net SDK Reference

PropertiesDictionary Properties

The properties of the PropertiesDictionary class are listed below. For a complete list of PropertiesDictionary class members, see the PropertiesDictionary Members topic.

Public Instance Properties

Count (inherited from ReadOnlyPropertiesDictionary) The number of properties in this collection
Item Gets or sets the value of the property with the specified key.

See Also

PropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.RootLogger.EffectiveLevel.html0000644000175000017500000000407710412737556030511 0ustar slomoslomo EffectiveLevel Property
log4net SDK Reference

RootLogger.EffectiveLevel Property

Gets the assigned level value without walking the logger hierarchy.

[Visual Basic]
Overrides Public ReadOnly Property EffectiveLevel As Level
[C#]
public override log4net.Core.Level EffectiveLevel {get;}

Property Value

The assigned level value without walking the logger hierarchy.

Remarks

Because the root logger cannot have a parent and its level must not be null this property just returns the value of Level.

See Also

RootLogger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Layout2RawLayoutAdapter.Format.html0000644000175000017500000000526310412737550026647 0ustar slomoslomo Layout2RawLayoutAdapter.Format Method
log4net SDK Reference

Layout2RawLayoutAdapter.Format Method 

Format the logging event as an object.

[Visual Basic]
Overridable Public Function Format( _
   ByVal loggingEvent As LoggingEvent _
) As Object _
    Implements IRawLayout.Format
[C#]
public virtual object Format(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to format

Return Value

returns the formatted event

Implements

IRawLayout.Format

Remarks

Format the logging event as an object.

Uses the ILayout object supplied to the constructor to perform the formatting.

See Also

Layout2RawLayoutAdapter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.Name.html0000644000175000017500000000364010412737554026122 0ustar slomoslomo Name Property
log4net SDK Reference

ILoggerRepository.Name Property

The name of the repository

[Visual Basic]
Property Name As String
[C#]
string Name {get; set;}

Property Value

The name of the repository

Remarks

The name of the repository.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.ResetConfiguration.html0000644000175000017500000000454710412737554032457 0ustar slomoslomo LoggerRepositorySkeleton.ResetConfiguration Method
log4net SDK Reference

LoggerRepositorySkeleton.ResetConfiguration Method 

Reset the repositories configuration to a default state

[Visual Basic]
Overridable Public Sub ResetConfiguration() _
    Implements ILoggerRepository.ResetConfiguration
[C#]
public virtual void ResetConfiguration();

Implements

ILoggerRepository.ResetConfiguration

Remarks

Reset all values contained in this instance to their default state.

Existing loggers are not removed. They are just reset.

This method should be used sparingly and with care as it will block all logging until it is completed.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayout.html0000644000175000017500000000756710412737552022661 0ustar slomoslomo XmlLayout Class
log4net SDK Reference

XmlLayout Class

Layout that formats the log events as XML elements.

For a list of all members of this type, see XmlLayout Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.XmlLayoutBase
         log4net.Layout.XmlLayout

[Visual Basic]
Public Class XmlLayout
    Inherits XmlLayoutBase
[C#]
public class XmlLayout : XmlLayoutBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The output of the XmlLayout consists of a series of log4net:event elements. It does not output a complete well-formed XML file. The output is designed to be included as an external entity in a separate file to form a correct XML file.

For example, if abc is the name of the file where the XmlLayout output goes, then a well-formed XML file would be:

[XML]
<?xml version="1.0" ?>

<!DOCTYPE log4net:events SYSTEM "log4net-events.dtd" [<!ENTITY data SYSTEM "abc">]>

<log4net:events version="1.2" xmlns:log4net="http://logging.apache.org/log4net/schemas/log4net-events-1.2>
    &data;
</log4net:events>

This approach enforces the independence of the XmlLayout and the appender where it is embedded.

The version attribute helps components to correctly interpret output generated by XmlLayout. The value of this attribute should be "1.2" for release 1.2 and later.

Alternatively the Header and Footer properties can be configured to output the correct XML header, open tag and close tag. When setting the Header and Footer properties it is essential that the underlying data store not be appendable otherwise the data will become invalid XML.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

XmlLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionFields.html0000644000175000017500000000365410412737522026073 0ustar slomoslomo AppenderCollection Fields
log4net SDK Reference

AppenderCollection Fields

The fields of the AppenderCollection class are listed below. For a complete list of AppenderCollection class members, see the AppenderCollection Members topic.

Public Static (Shared) Fields

EmptyCollection An empty readonly static AppenderCollection

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.AllLevels.html0000644000175000017500000000335110412737542023707 0ustar slomoslomo AllLevels Property
log4net SDK Reference

LevelMap.AllLevels Property

Return all possible levels as a list of Level objects.

[Visual Basic]
Public ReadOnly Property AllLevels As LevelCollection
[C#]
public LevelCollection AllLevels {get;}

Remarks

Return all possible levels as a list of Level objects.

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.ConvertToFullPath.html0000644000175000017500000000514710412737564026040 0ustar slomoslomo SystemInfo.ConvertToFullPath Method
log4net SDK Reference

SystemInfo.ConvertToFullPath Method 

Convert a path into a fully qualified local file path.

[Visual Basic]
Public Shared Function ConvertToFullPath( _
   ByVal path As String _
) As String
[C#]
public static string ConvertToFullPath(
   string path
);

Parameters

path
The path to convert.

Return Value

The fully qualified path.

Remarks

Converts the path specified to a fully qualified path. If the path is relative it is taken as relative from the application base directory.

The path specified must be a local file path, a URI is not supported.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.ConfiguratorAttributeMembers.html0000644000175000017500000001516310412737536026505 0ustar slomoslomo ConfiguratorAttribute Members
log4net SDK Reference

ConfiguratorAttribute Members

ConfiguratorAttribute overview

Public Instance Properties

TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

CompareTo Compare this instance to another ConfiguratorAttribute
Configure Configures the ILoggerRepository for the specified assembly.
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

ConfiguratorAttribute Constructor Constructor used by subclasses.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.html0000644000175000017500000001026610412737530025100 0ustar slomoslomo LocalSyslogAppender Class
log4net SDK Reference

LocalSyslogAppender Class

Logs events to a local syslog service.

For a list of all members of this type, see LocalSyslogAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.LocalSyslogAppender

[Visual Basic]
Public Class LocalSyslogAppender
    Inherits AppenderSkeleton
[C#]
public class LocalSyslogAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Note    This appender uses the POSIX libc library functions openlog, syslog, and closelog. If these functions are not available on the local system then this appender will not work!

The functions openlog, syslog, and closelog are specified in SUSv2 and POSIX 1003.1-2001 standards. These are used to log messages to the local syslog service.

This appender talks to a local syslog service. If you need to log to a remote syslog daemon and you cannot configure your local syslog service to do this you may be able to use the RemoteSyslogAppender to log via UDP.

Syslog messages must have a facility and and a severity. The severity is derived from the Level of the logging event. The facility must be chosen from the set of defined syslog LocalSyslogAppender.SyslogFacility values. The facilities list is predefined and cannot be extended.

An identifier is specified with each log message. This can be specified by setting the Identity property. The identity (also know as the tag) must not contain white space. The default value for the identity is the application name (from ApplicationFriendlyName).

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

LocalSyslogAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderConstructor.html0000644000175000017500000000474410412737524026524 0ustar slomoslomo ConsoleAppender Constructor
log4net SDK Reference

ConsoleAppender Constructor

Initializes a new instance of the ConsoleAppender class.

Overload List

Initializes a new instance of the ConsoleAppender class.

public ConsoleAppender();

Obsolete. Initializes a new instance of the ConsoleAppender class with the specified layout.

public ConsoleAppender(ILayout);

Obsolete. Initializes a new instance of the ConsoleAppender class with the specified layout.

public ConsoleAppender(ILayout,bool);

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.AdjustFileBeforeAppend.html0000644000175000017500000000371510412737532031362 0ustar slomoslomo RollingFileAppender.AdjustFileBeforeAppend Method
log4net SDK Reference

RollingFileAppender.AdjustFileBeforeAppend Method 

Performs any required rolling before outputting the next event

[Visual Basic]
Overridable Protected Sub AdjustFileBeforeAppend()
[C#]
protected virtual void AdjustFileBeforeAppend();

Remarks

Handles append time behavior for RollingFileAppender. This checks if a roll over either by date (checked first) or time (checked second) is need and then appends to the file last.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IRepositorySelectorEvents.html0000644000175000017500000000366710412737542025510 0ustar slomoslomo IRepositorySelector Events
log4net SDK Reference

IRepositorySelector Events

The events of the IRepositorySelector interface are listed below. For a complete list of IRepositorySelector interface members, see the IRepositorySelector Members topic.

Public Instance Events

LoggerRepositoryCreatedEvent Event to notify that a logger repository has been created.

See Also

IRepositorySelector Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.SendBuffer.html0000644000175000017500000000420410412737524030301 0ustar slomoslomo BufferingAppenderSkeleton.SendBuffer Method
log4net SDK Reference

BufferingAppenderSkeleton.SendBuffer Method 

Sends the events.

[Visual Basic]
MustOverride Protected Sub SendBuffer( _
   ByVal events As LoggingEvent() _
)
[C#]
protected abstract void SendBuffer(
   LoggingEvent[] events
);

Parameters

events
The events that need to be send.

Remarks

The subclass must override this method to process the buffered events.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Fatal_overloads.html0000644000175000017500000000345710412737546025002 0ustar slomoslomo Fatal Method
log4net SDK Reference

LogImpl.Fatal Method

Logs a message object with the FATAL level.

Overload List

Logs a message object with the FATAL level.

public virtual void Fatal(object);

Logs a message object with the FATAL level

public virtual void Fatal(object,Exception);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.PopOldest.html0000644000175000017500000000350510412737560024616 0ustar slomoslomo CyclicBuffer.PopOldest Method
log4net SDK Reference

CyclicBuffer.PopOldest Method 

Get and remove the oldest event in the buffer.

[Visual Basic]
Public Function PopOldest() As LoggingEvent
[C#]
public LoggingEvent PopOldest();

Return Value

The oldest logging event in the buffer

Remarks

Gets the oldest (first) logging event in the buffer and removes it from the buffer.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.Shutdown.html0000644000175000017500000000423010412737544024643 0ustar slomoslomo LoggerManager.Shutdown Method
log4net SDK Reference

LoggerManager.Shutdown Method 

Shuts down the log4net system.

[Visual Basic]
Public Shared Sub Shutdown()
[C#]
public static void Shutdown();

Remarks

Calling this method will safely close and remove all appenders in all the loggers including root contained in all the default repositories.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The shutdown 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.

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Finalize.html0000644000175000017500000000365510412737522026176 0ustar slomoslomo AppenderSkeleton.Finalize Method
log4net SDK Reference

AppenderSkeleton.Finalize Method 

Finalizes this appender by calling the implementation's Close method.

[Visual Basic]
Overrides Protected Sub Finalize()
[C#]
protected override void Finalize();

Remarks

If this appender has not been closed then the Finalize method will call Close.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.GetLoggingEventData_overload_1.html0000644000175000017500000000451210412737544030646 0ustar slomoslomo LoggingEvent.GetLoggingEventData Method ()
log4net SDK Reference

LoggingEvent.GetLoggingEventData Method ()

Gets the portable data for this LoggingEvent.

[Visual Basic]
Overloads Public Function GetLoggingEventData() As LoggingEventData
[C#]
public LoggingEventData GetLoggingEventData();

Return Value

The LoggingEventData for this event.

Remarks

A new LoggingEvent can be constructed using a LoggingEventData instance.

Does a Partial fix of the data in the logging event before returning the event data.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent.GetLoggingEventData Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.GetExceptionString.html0000644000175000017500000000432610412737544026501 0ustar slomoslomo LoggingEvent.GetExceptionString Method
log4net SDK Reference

LoggingEvent.GetExceptionString Method 

Returns this event's exception's rendered using the RendererMap.

[Visual Basic]
Public Function GetExceptionString() As String
[C#]
public string GetExceptionString();

Return Value

This event's exception's rendered using the RendererMap.

Remarks

Returns this event's exception's rendered using the RendererMap.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.SyncRoot.html0000644000175000017500000000516510412737554025727 0ustar slomoslomo SyncRoot Property
log4net SDK Reference

PluginCollection.SyncRoot Property

Gets an object that can be used to synchronize access to the collection.

[Visual Basic]
Overridable Public ReadOnly Property SyncRoot As Object _
    Implements ICollection.SyncRoot
[C#]
public virtual object SyncRoot {get;}

Property Value

An object that can be used to synchronize access to the collection.

Implements

ICollection.SyncRoot

Remarks

Missing <remarks> documentation for P:log4net.Plugin.PluginCollection.SyncRoot

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.CloseNestedAppenders.html0000644000175000017500000000357010412737556031024 0ustar slomoslomo Logger.CloseNestedAppenders Method
log4net SDK Reference

Logger.CloseNestedAppenders Method 

Closes all attached appenders implementing the IAppenderAttachable interface.

[Visual Basic]
Overridable Public Sub CloseNestedAppenders()
[C#]
public virtual void CloseNestedAppenders();

Remarks

Used to ensure that the appenders are correctly shutdown.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.WarnFormat_overload_1.html0000644000175000017500000001013310412737516024452 0ustar slomoslomo ILog.WarnFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

ILog.WarnFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the Warn level.

[Visual Basic]
Sub WarnFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void WarnFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

ILog Interface | log4net Namespace | ILog.WarnFormat Overload List | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawTimeStampLayoutMethods.html0000644000175000017500000001205210412737552026003 0ustar slomoslomo RawTimeStampLayout Methods
log4net SDK Reference

RawTimeStampLayout Methods

The methods of the RawTimeStampLayout class are listed below. For a complete list of RawTimeStampLayout class members, see the RawTimeStampLayout Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Gets the TimeStamp as a DateTime.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriter.Count.html0000644000175000017500000000371710412737560026302 0ustar slomoslomo Count Property
log4net SDK Reference

CountingQuietTextWriter.Count Property

Gets or sets the total number of bytes written.

[Visual Basic]
Public Property Count As Long
[C#]
public long Count {get; set;}

Property Value

The total number of bytes written.

Remarks

Gets or sets the total number of bytes written.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.html0000644000175000017500000000471510412737556030520 0ustar slomoslomo XmlHierarchyConfigurator Class
log4net SDK Reference

XmlHierarchyConfigurator Class

Initializes the log4net environment using an XML DOM.

For a list of all members of this type, see XmlHierarchyConfigurator Members.

System.Object
   log4net.Repository.Hierarchy.XmlHierarchyConfigurator

[Visual Basic]
Public Class XmlHierarchyConfigurator
[C#]
public class XmlHierarchyConfigurator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Configures a Hierarchy using an XML DOM.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

XmlHierarchyConfigurator Members | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppenderFields.html0000644000175000017500000000411310412737530025236 0ustar slomoslomo MemoryAppender Fields
log4net SDK Reference

MemoryAppender Fields

The fields of the MemoryAppender class are listed below. For a complete list of MemoryAppender class members, see the MemoryAppender Members topic.

Protected Instance Fields

m_eventsList The list of events that have been appended.
m_fixFlags Value indicating which fields in the event should be fixed

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetAllRepositories.html0000644000175000017500000000371410412737544026616 0ustar slomoslomo LoggerManager.GetAllRepositories Method
log4net SDK Reference

LoggerManager.GetAllRepositories Method 

Gets an array of all currently defined repositories.

[Visual Basic]
Public Shared Function GetAllRepositories() As ILoggerRepository()
[C#]
public static ILoggerRepository[] GetAllRepositories();

Return Value

An array of all the known ILoggerRepository objects.

Remarks

Gets an array of all currently defined repositories.

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.DebugFormat_overload_2.html0000644000175000017500000001135610412737546026205 0ustar slomoslomo LogImpl.DebugFormat Method (String, Object, Object, Object)
log4net SDK Reference

LogImpl.DebugFormat Method (String, Object, Object, Object)

Logs a formatted message string with the DEBUG level.

[Visual Basic]
Overridable Overloads Public Sub DebugFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
) _
    Implements ILog.DebugFormat
[C#]
public virtual void DebugFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Implements

ILog.DebugFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the DebugFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.DebugFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.RemoveAllAppenders.html0000644000175000017500000000423010412737524032323 0ustar slomoslomo BufferingForwardingAppender.RemoveAllAppenders Method
log4net SDK Reference

BufferingForwardingAppender.RemoveAllAppenders Method 

Removes all previously added appenders from this appender.

[Visual Basic]
Overridable Public Sub RemoveAllAppenders() _
    Implements IAppenderAttachable.RemoveAllAppenders
[C#]
public virtual void RemoveAllAppenders();

Implements

IAppenderAttachable.RemoveAllAppenders

Remarks

This is useful when re-reading configuration information.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManagerMembers.html0000644000175000017500000001407210412737516022763 0ustar slomoslomo LogManager Members
log4net SDK Reference

LogManager Members

LogManager overview

Public Static (Shared) Methods

CreateDomainOverloaded. Create a domain
CreateRepositoryOverloaded. Create a logger repository.
ExistsOverloaded. Returns the named logger if it exists.
GetAllRepositories Gets the list of currently defined repositories.
GetCurrentLoggersOverloaded. Get the currently defined loggers.
GetLoggerOverloaded. Get or create a logger.
GetLoggerRepositoryOverloaded. Get the logger repository.
GetRepositoryOverloaded. Get a logger repository.
ResetConfigurationOverloaded. Reset the configuration of a repository
Shutdown Shuts down the log4net system.
ShutdownRepositoryOverloaded. Shutdown a logger repository.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogManager Class | log4net Namespace | ILog


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetCurrentLoggers_overload_2.html0000644000175000017500000000507510412737544030561 0ustar slomoslomo LoggerManager.GetCurrentLoggers Method (Assembly)
log4net SDK Reference

LoggerManager.GetCurrentLoggers Method (Assembly)

Returns all the currently defined loggers in the specified assembly's repository.

[Visual Basic]
Overloads Public Shared Function GetCurrentLoggers( _
   ByVal repositoryAssembly As Assembly _
) As ILogger()
[C#]
public static ILogger[] GetCurrentLoggers(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Return Value

All the defined loggers.

Remarks

The root logger is not included in the returned array.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetCurrentLoggers Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMapping.html0000644000175000017500000000504710412737560022734 0ustar slomoslomo LevelMapping Class
log4net SDK Reference

LevelMapping Class

Manages a mapping from levels to LevelMappingEntry

For a list of all members of this type, see LevelMapping Members.

System.Object
   log4net.Util.LevelMapping

[Visual Basic]
NotInheritable Public Class LevelMapping
    Implements IOptionHandler
[C#]
public sealed class LevelMapping : IOptionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Manages an ordered mapping from Level instances to LevelMappingEntry subclasses.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

LevelMapping Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.IsInfoEnabled.html0000644000175000017500000000470110412737544024326 0ustar slomoslomo IsInfoEnabled Property
log4net SDK Reference

LogImpl.IsInfoEnabled Property

Checks if this logger is enabled for the INFO level.

[Visual Basic]
Overridable Public ReadOnly Property IsInfoEnabled As Boolean _
    Implements ILog.IsInfoEnabled
[C#]
public virtual bool IsInfoEnabled {get;}

Property Value

true if this logger is enabled for INFO events, false otherwise.

Implements

ILog.IsInfoEnabled

Remarks

See IsDebugEnabled for more information and examples of using this method.

See Also

LogImpl Class | log4net.Core Namespace | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Layout.html0000644000175000017500000001360010412737550020703 0ustar slomoslomo log4net.Layout
log4net SDK Reference

log4net.Layout Namespace

Output message layouts.

Namespace hierarchy

Classes

Class Description
ExceptionLayout A Layout that renders only the Exception text from the logging event
Layout2RawLayoutAdapter Adapts any ILayout to a IRawLayout
LayoutSkeleton Extend this abstract class to create your own log layout format.
PatternLayout A flexible layout configurable with pattern string.
PatternLayout.ConverterInfo Wrapper class used to map converter names to converter types
RawLayoutConverter Type converter for the IRawLayout interface
RawPropertyLayout Extract the value of a property from the LoggingEvent
RawTimeStampLayout Extract the date from the LoggingEvent
RawUtcTimeStampLayout Extract the date from the LoggingEvent
SimpleLayout A very simple layout
XmlLayout Layout that formats the log events as XML elements.
XmlLayoutBase Layout that formats the log events as XML elements.
XmlLayoutSchemaLog4j Layout that formats the log events as XML elements compatible with the log4j schema

Interfaces

Interface Description
ILayout Interface implemented by layout objects
IRawLayout Interface for raw layout objects

././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.DateAndTimeDateFormat.htmllog4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatter.DateAndTimeDateFormat0000644000175000017500000000434610412737546032403 0ustar slomoslomo AbsoluteTimeDateFormatter.DateAndTimeDateFormat Field
log4net SDK Reference

AbsoluteTimeDateFormatter.DateAndTimeDateFormat Field

String constant used to specify DateTimeDateFormat in layouts. Current value is DATE.

[Visual Basic]
Public Const DateAndTimeDateFormat As String = "DATE"
[C#]
public const string DateAndTimeDateFormat = "DATE";

Remarks

Missing <remarks> documentation for F:log4net.DateFormatter.AbsoluteTimeDateFormatter.DateAndTimeDateFormat

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBase.CloseFile.html0000644000175000017500000000341110412737526030530 0ustar slomoslomo FileAppender.LockingModelBase.CloseFile Method
log4net SDK Reference

FileAppender.LockingModelBase.CloseFile Method 

Close the file

[Visual Basic]
MustOverride Public Sub CloseFile()
[C#]
public abstract void CloseFile();

Remarks

Close the file. No further writes will be made.

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.IsFatalEnabled.html0000644000175000017500000000460510412737516023064 0ustar slomoslomo IsFatalEnabled Property
log4net SDK Reference

ILog.IsFatalEnabled Property

Checks if this logger is enabled for the Fatal level.

[Visual Basic]
Property IsFatalEnabled As Boolean
[C#]
bool IsFatalEnabled {get;}

Property Value

true if this logger is enabled for Fatal events, false otherwise.

Remarks

For more information see IsDebugEnabled.

See Also

ILog Interface | log4net Namespace | Fatal | FatalFormat | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.Append_overload_2.html0000644000175000017500000000456310412737532030402 0ustar slomoslomo RollingFileAppender.Append Method (LoggingEvent)
log4net SDK Reference

RollingFileAppender.Append Method (LoggingEvent)

Write out a logging event.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to write to file.

Remarks

Handles append time behavior for RollingFileAppender. This checks if a roll over either by date (checked first) or time (checked second) is need and then appends to the file last.

See Also

RollingFileAppender Class | log4net.Appender Namespace | RollingFileAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.IBulkAppender.DoAppend.html0000644000175000017500000000413310412737530025340 0ustar slomoslomo IBulkAppender.DoAppend Method
log4net SDK Reference

IBulkAppender.DoAppend Method 

Log the array of logging events in Appender specific way.

[Visual Basic]
Sub DoAppend( _
   ByVal loggingEvents As LoggingEvent() _
)
[C#]
void DoAppend(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
The events to log

Remarks

This method is called to log an array of events into this appender.

See Also

IBulkAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumerator.html0000644000175000017500000000465210412737542030645 0ustar slomoslomo LevelCollection.ILevelCollectionEnumerator Interface
log4net SDK Reference

LevelCollection.ILevelCollectionEnumerator Interface

Supports type-safe iteration over a LevelCollection.

For a list of all members of this type, see LevelCollection.ILevelCollectionEnumerator Members.

[Visual Basic]
Public Interface LevelCollection.ILevelCollectionEnumerator
[C#]
public interface LevelCollection.ILevelCollectionEnumerator

Remarks

Missing <remarks> documentation for T:log4net.Core.LevelCollection.ILevelCollectionEnumerator

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LevelCollection.ILevelCollectionEnumerator Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStack.Pop.html0000644000175000017500000000412710412737564024652 0ustar slomoslomo ThreadContextStack.Pop Method
log4net SDK Reference

ThreadContextStack.Pop Method 

Removes the top context from this stack.

[Visual Basic]
Public Function Pop() As String
[C#]
public string Pop();

Return Value

The message in the context that was removed from the top of this stack.

Remarks

Remove the top context from this stack, and return it to the caller. If this stack is empty then an empty string (not a null reference (Nothing in Visual Basic)) is returned.

See Also

ThreadContextStack Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRendererHierarchy.html0000644000175000017500000000407210412737552024167 0ustar slomoslomo log4net.ObjectRendererHierarchy
log4net SDK Reference

log4net.ObjectRenderer Hierarchy

System.Object

See Also

log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.WarnFormat_overload_3.html0000644000175000017500000000744710412737516024472 0ustar slomoslomo ILog.WarnFormat Method (String, Object, Object)
log4net SDK Reference

ILog.WarnFormat Method (String, Object, Object)

Logs a formatted message string with the Warn level.

[Visual Basic]
Sub WarnFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
)
[C#]
void WarnFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

ILog Interface | log4net Namespace | ILog.WarnFormat Overload List | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.Domain.html0000644000175000017500000000363210412737544024122 0ustar slomoslomo Domain Property
log4net SDK Reference

LoggingEvent.Domain Property

Gets the AppDomain friendly name.

[Visual Basic]
Public ReadOnly Property Domain As String
[C#]
public string Domain {get;}

Property Value

The AppDomain friendly name.

Remarks

Gets the AppDomain friendly name.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ProtectCloseTextWriter.Attach.html0000644000175000017500000000501210412737562026216 0ustar slomoslomo ProtectCloseTextWriter.Attach Method
log4net SDK Reference

ProtectCloseTextWriter.Attach Method 

Attach this instance to a different underlying TextWriter

[Visual Basic]
Public Sub Attach( _
   ByVal writer As TextWriter _
)
[C#]
public void Attach(
   TextWriter writer
);

Parameters

writer
the writer to attach to

Remarks

Attach this instance to a different underlying TextWriter

See Also

ProtectCloseTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppenderConstructor.html0000644000175000017500000000331310412737524031043 0ustar slomoslomo BufferingForwardingAppender Constructor
log4net SDK Reference

BufferingForwardingAppender Constructor 

Initializes a new instance of the BufferingForwardingAppender class.

[Visual Basic]
Public Sub New()
[C#]
public BufferingForwardingAppender();

Remarks

Default constructor.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColorsMethods.html0000644000175000017500000001210210412737522031776 0ustar slomoslomo AnsiColorTerminalAppender.LevelColors Methods
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors Methods

The methods of the AnsiColorTerminalAppender.LevelColors class are listed below. For a complete list of AnsiColorTerminalAppender.LevelColors class members, see the AnsiColorTerminalAppender.LevelColors Members topic.

Public Instance Methods

ActivateOptions Initialize the options for the object
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttribute.TypeName.html0000644000175000017500000000405610412737540025501 0ustar slomoslomo TypeName Property
log4net SDK Reference

PluginAttribute.TypeName Property

Gets or sets the type name for the plugin.

[Visual Basic]
Public Property TypeName As String
[C#]
public string TypeName {get; set;}

Property Value

The type name for the plugin.

Remarks

The type name for the plugin.

Where possible use the Type property instead.

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.ErrorFormat_overloads.html0000644000175000017500000000554210412737516024607 0ustar slomoslomo ErrorFormat Method
log4net SDK Reference

ILog.ErrorFormat Method

Log a formatted message string with the Error level.

Overload List

Logs a formatted message string with the Error level.

void ErrorFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the Error level.

void ErrorFormat(string,object);

Logs a formatted message string with the Error level.

void ErrorFormat(string,object,object);

Logs a formatted message string with the Error level.

void ErrorFormat(string,object,object,object);

Logs a formatted message string with the Error level.

void ErrorFormat(string,params object[]);

See Also

ILog Interface | log4net Namespace | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.GetAllRepositories.html0000644000175000017500000000456110412737540031270 0ustar slomoslomo CompactRepositorySelector.GetAllRepositories Method
log4net SDK Reference

CompactRepositorySelector.GetAllRepositories Method 

Gets a list of ILoggerRepository objects

[Visual Basic]
NotOverridable Public Function GetAllRepositories() As ILoggerRepository() _
    Implements IRepositorySelector.GetAllRepositories
[C#]
public ILoggerRepository[] GetAllRepositories();

Return Value

an array of all known ILoggerRepository objects

Implements

IRepositorySelector.GetAllRepositories

Remarks

Gets an array of all of the repositories created by this selector.

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.SubstituteVariables.html0000644000175000017500000001000110412737562027500 0ustar slomoslomo OptionConverter.SubstituteVariables Method
log4net SDK Reference

OptionConverter.SubstituteVariables Method 

Performs variable substitution in string val from the values of keys found in props.

[Visual Basic]
Public Shared Function SubstituteVariables( _
   ByVal value As String, _
   ByVal props As IDictionary _
) As String
[C#]
public static string SubstituteVariables(
   string value,
   IDictionary props
);

Parameters

value
The string on which variable substitution is performed.
props
The dictionary to use to lookup variables.

Return Value

The result of the substitutions.

Remarks

The variable substitution delimiters are ${ and }.

For example, if props contains key=value, then the call

[C#]
string s = OptionConverter.SubstituteVariables("Value of key is ${key}.");

will set the variable s to "Value of key is value.".

If no value could be found for the specified key, then substitution defaults to an empty string.

For example, if system properties contains no value for the key "nonExistentKey", then the call

[C#]
string s = OptionConverter.SubstituteVariables("Value of nonExistentKey is [${nonExistentKey}]");

will set s to "Value of nonExistentKey is []".

An Exception is thrown if value contains a start delimiter "${" which is not balanced by a stop delimiter "}".

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Flush_overload_2.html0000644000175000017500000000411710412737524031456 0ustar slomoslomo BufferingAppenderSkeleton.Flush Method ()
log4net SDK Reference

BufferingAppenderSkeleton.Flush Method ()

Flush the currently buffered events

[Visual Basic]
Overridable Overloads Public Sub Flush()
[C#]
public virtual void Flush();

Remarks

Flushes any events that have been buffered.

If the appender is buffering in Lossy mode then the contents of the buffer will NOT be flushed to the appender.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace | BufferingAppenderSkeleton.Flush Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerWrapperImplConstructor.html0000644000175000017500000000364110412737544026174 0ustar slomoslomo LoggerWrapperImpl Constructor
log4net SDK Reference

LoggerWrapperImpl Constructor 

Constructs a new wrapper for the specified logger.

[Visual Basic]
Protected Sub New( _
   ByVal logger As ILogger _
)
[C#]
protected LoggerWrapperImpl(
   ILogger logger
);

Parameters

logger
The logger to wrap.

Remarks

Constructs a new wrapper for the specified logger.

See Also

LoggerWrapperImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Value.html0000644000175000017500000000356110412737542022445 0ustar slomoslomo Value Property
log4net SDK Reference

Level.Value Property

Gets the value of this level.

[Visual Basic]
Public ReadOnly Property Value As Integer
[C#]
public int Value {get;}

Property Value

The value of this level.

Remarks

Gets the value of this level.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/intproperty.gif0000644000175000017500000000161510412737506020257 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@jÿ (€Aƒÿø€aÔà@Å‹,*Ä·ß¿Žû$9ÑbÆ“ :,ùp ¾—0!tùQà>•$s2<™@J™&+¢\øÐâ΋ æôˆ³ N§_Öì(r¤Ô«U Êœ™3 ;log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppenderMembers.html0000644000175000017500000002755410412737530025440 0ustar slomoslomo MemoryAppender Members
log4net SDK Reference

MemoryAppender Members

MemoryAppender overview

Public Instance Constructors

MemoryAppender Constructor Initializes a new instance of the MemoryAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix Gets or sets the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventDataObsolete. Gets or sets a value indicating whether only part of the logging event data should be fixed.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
Clear Clear the list of events
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEvents Gets the events that have been logged.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_eventsList The list of events that have been appended.
m_fixFlags Value indicating which fields in the event should be fixed

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ContextPropertiesBase.Item.html0000644000175000017500000000501610412737560025536 0ustar slomoslomo Item Property
log4net SDK Reference

ContextPropertiesBase.Item Property

Gets or sets the value of a property

[Visual Basic]
MustOverride Public Default Property Item( _
   ByVal key As String _
) As Object
[C#]
public abstract object this[
   string key
] {get; set;}

Parameters

key
Missing <param> documentation for key

Property Value

The value for the property with the specified key

Remarks

Gets or sets the value of a property

See Also

ContextPropertiesBase Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.AddRange_overload_3.html0000644000175000017500000000556210412737554027732 0ustar slomoslomo PluginCollection.AddRange Method (PluginCollection)
log4net SDK Reference

PluginCollection.AddRange Method (PluginCollection)

Adds the elements of another PluginCollection to the current PluginCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal x As PluginCollection _
) As Integer
[C#]
public virtual int AddRange(
   PluginCollection x
);

Parameters

x
The PluginCollection whose elements should be added to the end of the current PluginCollection.

Return Value

The new Count of the PluginCollection.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.PluginCollection)

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.ErrorFormat_overload_5.html0000644000175000017500000000774610412737546026263 0ustar slomoslomo LogImpl.ErrorFormat Method (String, Object[])
log4net SDK Reference

LogImpl.ErrorFormat Method (String, Object[])

Logs a formatted message string with the ERROR level.

[Visual Basic]
Overridable Overloads Public Sub ErrorFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.ErrorFormat
[C#]
public virtual void ErrorFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.ErrorFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the ErrorFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.ErrorFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriterMethods.html0000644000175000017500000001735210412737562025032 0ustar slomoslomo QuietTextWriter Methods
log4net SDK Reference

QuietTextWriter Methods

The methods of the QuietTextWriter class are listed below. For a complete list of QuietTextWriter class members, see the QuietTextWriter Members topic.

Public Instance Methods

Close Closes the underlying output writer.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriterAdapter) Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteOverloaded. Writes a string to the output.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Methods

Dispose (inherited from TextWriterAdapter) Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4netHierarchy.html0000644000175000017500000000450410412737516021273 0ustar slomoslomo log4netHierarchy
log4net SDK Reference

log4net Hierarchy

System.Object

See Also

log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppenderMethods.html0000644000175000017500000002042710412737530026424 0ustar slomoslomo LocalSyslogAppender Methods
log4net SDK Reference

LocalSyslogAppender Methods

The methods of the LocalSyslogAppender class are listed below. For a complete list of LocalSyslogAppender class members, see the LocalSyslogAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to severity
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetSeverity Translates a log4net level to a syslog severity.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Close the syslog when the appender is closed
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayout.Footer.html0000644000175000017500000000367110412737550023534 0ustar slomoslomo Footer Property
log4net SDK Reference

ILayout.Footer Property

The footer for the layout format.

[Visual Basic]
Property Footer As String
[C#]
string Footer {get;}

Property Value

the layout footer

Remarks

The Footer text will be appended after all the logging events have been formatted and appended.

See Also

ILayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilterConstructor.html0000644000175000017500000000333310412737550026513 0ustar slomoslomo StringMatchFilter Constructor
log4net SDK Reference

StringMatchFilter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public StringMatchFilter();

Remarks

Missing <remarks> documentation for M:log4net.Filter.StringMatchFilter.#ctor

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.DebugAppenderMethods.html0000644000175000017500000001777410412737526025237 0ustar slomoslomo DebugAppender Methods
log4net SDK Reference

DebugAppender Methods

The methods of the DebugAppender class are listed below. For a complete list of DebugAppender class members, see the DebugAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Writes the logging event to the Debug system.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

DebugAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_4.html0000644000175000017500000000622710412737536027705 0ustar slomoslomo DOMConfigurator.Configure Method (ILoggerRepository, XmlElement)
log4net SDK Reference

DOMConfigurator.Configure Method (ILoggerRepository, XmlElement)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Configures the ILoggerRepository using the specified XML element.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository, _
   ByVal element As XmlElement _
)
[C#]
public static void Configure(
   ILoggerRepository repository,
   XmlElement element
);

Parameters

repository
The repository to configure.
element
The element to parse.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

Loads the log4net configuration from the XML element supplied as element.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.html0000644000175000017500000000606710412737534024776 0ustar slomoslomo TextWriterAppender Class
log4net SDK Reference

TextWriterAppender Class

Sends logging events to a TextWriter.

For a list of all members of this type, see TextWriterAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.TextWriterAppender
         log4net.Appender.FileAppender

[Visual Basic]
Public Class TextWriterAppender
    Inherits AppenderSkeleton
[C#]
public class TextWriterAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

An Appender that writes to a TextWriter.

This appender may be used stand alone if initialized with an appropriate writer, however it is typically used as a base class for an appender that can open a TextWriter to write to.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

TextWriterAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.Send.html0000644000175000017500000000436010412737534027517 0ustar slomoslomo TelnetAppender.SocketHandler.Send Method
log4net SDK Reference

TelnetAppender.SocketHandler.Send Method 

Sends a string message to each of the connected clients

[Visual Basic]
Public Sub Send( _
   ByVal message As String _
)
[C#]
public void Send(
   string message
);

Parameters

message
the text to send

Remarks

Sends a string message to each of the connected clients

See Also

TelnetAppender.SocketHandler Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.PropertyFilterProperties.html0000644000175000017500000000606410412737550025727 0ustar slomoslomo PropertyFilter Properties
log4net SDK Reference

PropertyFilter Properties

The properties of the PropertyFilter class are listed below. For a complete list of PropertyFilter class members, see the PropertyFilter Members topic.

Public Instance Properties

AcceptOnMatch (inherited from StringMatchFilter) Accept when matching StringToMatch or RegexToMatch
Key The key to lookup in the event properties and then match against.
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch (inherited from StringMatchFilter) Sets the regular expression to match
StringToMatch (inherited from StringMatchFilter) Sets the static string to match

See Also

PropertyFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluatorConstructor.html0000644000175000017500000000365010412737542025522 0ustar slomoslomo LevelEvaluator Constructor
log4net SDK Reference

LevelEvaluator Constructor

Create a new evaluator using the Off threshold.

Overload List

Create a new evaluator using the Off threshold.

public LevelEvaluator();

Create a new evaluator using the specified Level threshold.

public LevelEvaluator(Level);

See Also

LevelEvaluator Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.InitializeClientConnection.html0000644000175000017500000000436710412737536030667 0ustar slomoslomo UdpAppender.InitializeClientConnection Method
log4net SDK Reference

UdpAppender.InitializeClientConnection Method 

Initializes the underlying UdpClient connection.

[Visual Basic]
Overridable Protected Sub InitializeClientConnection()
[C#]
protected virtual void InitializeClientConnection();

Remarks

The underlying UdpClient is initialized and binds to the port number from which you intend to communicate.

Exceptions are passed to the ErrorHandler.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawUtcTimeStampLayoutMembers.html0000644000175000017500000001265410412737552026456 0ustar slomoslomo RawUtcTimeStampLayout Members
log4net SDK Reference

RawUtcTimeStampLayout Members

RawUtcTimeStampLayout overview

Public Instance Constructors

RawUtcTimeStampLayout Constructor Constructs a RawUtcTimeStampLayout

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Gets the TimeStamp as a DateTime.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawUtcTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.DenyAllFilter.Decide.html0000644000175000017500000000541710412737546024540 0ustar slomoslomo DenyAllFilter.Decide Method
log4net SDK Reference

DenyAllFilter.Decide Method 

Always returns the integer constant Deny

[Visual Basic]
Overrides Public Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision _
    Implements IFilter.Decide
[C#]
public override FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the LoggingEvent to filter

Return Value

Always returns Deny

Implements

IFilter.Decide

Remarks

Ignores the event being logged and just returns Deny. This can be used to change the default filter chain behavior from Accept to Deny. This filter should only be used as the last filter in the chain as any further filters will be ignored!

See Also

DenyAllFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetRepository_overload_1.html0000644000175000017500000000530210412737544027763 0ustar slomoslomo LoggerManager.GetRepository Method (String)
log4net SDK Reference

LoggerManager.GetRepository Method (String)

Return the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetRepository( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetRepository(
   string repository
);

Parameters

repository
the repository to lookup in

Return Value

Return the default ILoggerRepository instance

Remarks

Gets the ILoggerRepository for the repository specified by the repository argument.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.TimeStamp.html0000644000175000017500000000356310412737544025413 0ustar slomoslomo LoggingEventData.TimeStamp Field
log4net SDK Reference

LoggingEventData.TimeStamp Field

The time the event was logged

[Visual Basic]
Public TimeStamp As Date
[C#]
public DateTime TimeStamp;

Remarks

The TimeStamp is stored in the local time zone for this computer.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/protevent.gif0000644000175000017500000000160310412737506017703 0ustar slomoslomoGIF89a÷ÿÿÿÿÿ€€ ÿÿÿÿÿÿ ÏÏÏÈÈÈÀÀÀ€€€<<< ÿÿÿ!ù,@`H° @@xÐÀBƒ(Àð Eˆ#N|ˆq:0P@AH„#+t€@eÆŒpYpäÉ—6)V<àà@Í›* aÊš $0JÓâÒ—@ ;log4net-1.2.10/doc/release/sdk/log4net.Config.DomainAttribute.html0000644000175000017500000000732510412737536023740 0ustar slomoslomo DomainAttribute Class
log4net SDK Reference

DomainAttribute Class

NOTE: This class is now obsolete.

Use RepositoryAttribute instead of DomainAttribute


Assembly level attribute that specifies the logging domain for the assembly.

For a list of all members of this type, see DomainAttribute Members.

System.Object
   System.Attribute
      log4net.Config.RepositoryAttribute
         log4net.Config.DomainAttribute

[Visual Basic]
NotInheritable Public Class DomainAttribute
    Inherits RepositoryAttribute
[C#]
public sealed class DomainAttribute : RepositoryAttribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

DomainAttribute is obsolete. Use RepositoryAttribute instead of DomainAttribute.

Assemblies are mapped to logging domains. Each domain has its own logging repository. This attribute specified on the assembly controls the configuration of the domain. The Name property specifies the name of the domain that this assembly is a part of. The RepositoryType specifies the type of the repository objects to create for the domain. If this attribute is not specified and a Name is not specified then the assembly will be part of the default shared logging domain.

This attribute can only be specified on the assembly and may only be used once per assembly.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

DomainAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLock.AcquireLock.html0000644000175000017500000000377210412737526030515 0ustar slomoslomo FileAppender.ExclusiveLock.AcquireLock Method
log4net SDK Reference

FileAppender.ExclusiveLock.AcquireLock Method 

Acquire the lock on the file

[Visual Basic]
Overrides Public Function AcquireLock() As Stream
[C#]
public override Stream AcquireLock();

Return Value

A stream that is ready to be written to.

Remarks

Does nothing. The lock is already taken

See Also

FileAppender.ExclusiveLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawLayoutConverterMethods.html0000644000175000017500000001232310412737552026050 0ustar slomoslomo RawLayoutConverter Methods
log4net SDK Reference

RawLayoutConverter Methods

The methods of the RawLayoutConverter class are listed below. For a complete list of RawLayoutConverter class members, see the RawLayoutConverter Members topic.

Public Instance Methods

CanConvertFrom Can the sourceType be converted to an IRawLayout
ConvertFrom Convert the value to a IRawLayout object
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawLayoutConverter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.WarnFormat_overloads.html0000644000175000017500000000550610412737516024425 0ustar slomoslomo WarnFormat Method
log4net SDK Reference

ILog.WarnFormat Method

Log a formatted message string with the Warn level.

Overload List

Logs a formatted message string with the Warn level.

void WarnFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the Warn level.

void WarnFormat(string,object);

Logs a formatted message string with the Warn level.

void WarnFormat(string,object,object);

Logs a formatted message string with the Warn level.

void WarnFormat(string,object,object,object);

Logs a formatted message string with the Warn level.

void WarnFormat(string,params object[]);

See Also

ILog Interface | log4net Namespace | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMapping.Add.html0000644000175000017500000000431310412737560023416 0ustar slomoslomo LevelMapping.Add Method
log4net SDK Reference

LevelMapping.Add Method 

Add a LevelMappingEntry to this mapping

[Visual Basic]
Public Sub Add( _
   ByVal entry As LevelMappingEntry _
)
[C#]
public void Add(
   LevelMappingEntry entry
);

Parameters

entry
the entry to add

Remarks

If a LevelMappingEntry has previously been added for the same Level then that entry will be overwritten.

See Also

LevelMapping Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.PluginMap.html0000644000175000017500000000436010412737554030532 0ustar slomoslomo PluginMap Property
log4net SDK Reference

LoggerRepositorySkeleton.PluginMap Property

The plugin map for this repository.

[Visual Basic]
Overridable Public ReadOnly Property PluginMap As PluginMap _
    Implements ILoggerRepository.PluginMap
[C#]
public virtual log4net.Plugin.PluginMap PluginMap {get;}

Property Value

The plugin map for this repository.

Implements

ILoggerRepository.PluginMap

Remarks

The plugin map holds the IPlugin instances that have been attached to this repository.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfiguratorAttribute.html0000644000175000017500000000715110412737536025530 0ustar slomoslomo DOMConfiguratorAttribute Class
log4net SDK Reference

DOMConfiguratorAttribute Class

NOTE: This class is now obsolete.

Use XmlConfiguratorAttribute instead of DOMConfiguratorAttribute


Assembly level attribute to configure the XmlConfigurator.

For a list of all members of this type, see DOMConfiguratorAttribute Members.

System.Object
   System.Attribute
      log4net.Config.ConfiguratorAttribute
         log4net.Config.XmlConfiguratorAttribute
            log4net.Config.DOMConfiguratorAttribute

[Visual Basic]
NotInheritable Public Class DOMConfiguratorAttribute
    Inherits XmlConfiguratorAttribute
[C#]
public sealed class DOMConfiguratorAttribute : XmlConfiguratorAttribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.

This attribute may only be used at the assembly scope and can only be used once per assembly.

Use this attribute to configure the XmlConfigurator without calling one of the Configure methods.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

DOMConfiguratorAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPluginMembers.html0000644000175000017500000001511110412737554027311 0ustar slomoslomo RemoteLoggingServerPlugin Members
log4net SDK Reference

RemoteLoggingServerPlugin Members

RemoteLoggingServerPlugin overview

Public Instance Constructors

RemoteLoggingServerPlugin Overloaded. Initializes a new instance of the RemoteLoggingServerPlugin class.

Public Instance Properties

Name (inherited from PluginSkeleton) Gets or sets the name of the plugin.
SinkUri Gets or sets the URI of this sink.

Public Instance Methods

Attach Attaches this plugin to a ILoggerRepository.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Shutdown Is called when the plugin is to shutdown.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

LoggerRepository (inherited from PluginSkeleton) The repository for this plugin

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.QuietWriter.html0000644000175000017500000000411510412737534027251 0ustar slomoslomo QuietWriter Property
log4net SDK Reference

TextWriterAppender.QuietWriter Property

Gets or sets the QuietTextWriter where logging events will be written to.

[Visual Basic]
Protected Property QuietWriter As QuietTextWriter
[C#]
protected log4net.Util.QuietTextWriter QuietWriter {get; set;}

Property Value

The QuietTextWriter where logging events are written.

Remarks

This is the QuietTextWriter where logging events will be written to.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.Transform.html0000644000175000017500000000424310412737564022325 0ustar slomoslomo Transform Class
log4net SDK Reference

Transform Class

Utility class for transforming strings.

For a list of all members of this type, see Transform Members.

System.Object
   log4net.Util.Transform

[Visual Basic]
NotInheritable Public Class Transform
[C#]
public sealed class Transform

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Utility class for transforming strings.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

Transform Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionaryConstructor2.html0000644000175000017500000000437010412737562027063 0ustar slomoslomo PropertiesDictionary Constructor (ReadOnlyPropertiesDictionary)
log4net SDK Reference

PropertiesDictionary Constructor (ReadOnlyPropertiesDictionary)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal propertiesDictionary As ReadOnlyPropertiesDictionary _
)
[C#]
public PropertiesDictionary(
   ReadOnlyPropertiesDictionary propertiesDictionary
);

Parameters

propertiesDictionary
properties to copy

Remarks

Initializes a new instance of the PropertiesDictionary class.

See Also

PropertiesDictionary Class | log4net.Util Namespace | PropertiesDictionary Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingEntry.html0000644000175000017500000000627710412737560023764 0ustar slomoslomo LevelMappingEntry Class
log4net SDK Reference

LevelMappingEntry Class

An entry in the LevelMapping

For a list of all members of this type, see LevelMappingEntry Members.

System.Object
   log4net.Util.LevelMappingEntry
      log4net.Appender.AnsiColorTerminalAppender.LevelColors
      log4net.Appender.ColoredConsoleAppender.LevelColors
      log4net.Appender.EventLogAppender.Level2EventLogEntryType
      log4net.Appender.LocalSyslogAppender.LevelSeverity
      log4net.Appender.RemoteSyslogAppender.LevelSeverity

[Visual Basic]
MustInherit Public Class LevelMappingEntry
    Implements IOptionHandler
[C#]
public abstract class LevelMappingEntry : IOptionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This is an abstract base class for types that are stored in the LevelMapping object.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

LevelMappingEntry Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.RemoveAppender_overload_1.html0000644000175000017500000000602510412737530031773 0ustar slomoslomo ForwardingAppender.RemoveAppender Method (String)
log4net SDK Reference

ForwardingAppender.RemoveAppender Method (String)

Removes the appender with the specified name from the list of appenders.

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual IAppender RemoveAppender(
   string name
);

Parameters

name
The name of the appender to remove.

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

ForwardingAppender Class | log4net.Appender Namespace | ForwardingAppender.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogicalThreadContext.Stacks.html0000644000175000017500000000343210412737516024730 0ustar slomoslomo Stacks Property
log4net SDK Reference

LogicalThreadContext.Stacks Property

The thread stacks

[Visual Basic]
Public Shared ReadOnly Property Stacks As ThreadContextStacks
[C#]
public static Util.ThreadContextStacks Stacks {get;}

Property Value

stack map

Remarks

The logical thread stacks.

See Also

LogicalThreadContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.Level.html0000644000175000017500000000341210412737544023756 0ustar slomoslomo Level Property
log4net SDK Reference

LoggingEvent.Level Property

Gets the Level of the logging event.

[Visual Basic]
Public ReadOnly Property Level As Level
[C#]
public Level Level {get;}

Property Value

The Level of the logging event.

Remarks

Gets the Level of the logging event.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.OnClose.html0000644000175000017500000000335110412737534025442 0ustar slomoslomo TelnetAppender.OnClose Method
log4net SDK Reference

TelnetAppender.OnClose Method 

Overrides the parent method to close the socket handler

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Closes all the outstanding connections.

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppenderMethods.html0000644000175000017500000002334210412737524030125 0ustar slomoslomo BufferingForwardingAppender Methods
log4net SDK Reference

BufferingForwardingAppender Methods

The methods of the BufferingForwardingAppender class are listed below. For a complete list of BufferingForwardingAppender class members, see the BufferingForwardingAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from BufferingAppenderSkeleton) Initialize the appender based on the options set
AddAppender Adds an IAppender to the list of appenders of this instance.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetAppender Looks for the appender with the specified name.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveAllAppenders Removes all previously added appenders from this appender.
RemoveAppenderOverloaded. Removes the appender with the specified name from the list of appenders.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Closes the appender and releases resources.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Send the events.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ResetConfiguration_overloads.html0000644000175000017500000000420510412737520027327 0ustar slomoslomo ResetConfiguration Method
log4net SDK Reference

LogManager.ResetConfiguration Method

Reset the configuration of a repository

Overload List

Resets all values contained in this repository instance to their defaults.

public static void ResetConfiguration();

Resets all values contained in this repository instance to their defaults.

public static void ResetConfiguration(Assembly);

Resets all values contained in this repository instance to their defaults.

public static void ResetConfiguration(string);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.IsWarnEnabled.html0000644000175000017500000000373210412737560024210 0ustar slomoslomo IsWarnEnabled Property
log4net SDK Reference

LogLog.IsWarnEnabled Property

Test if LogLog.Warn is enabled for output.

[Visual Basic]
Public Shared ReadOnly Property IsWarnEnabled As Boolean
[C#]
public static bool IsWarnEnabled {get;}

Property Value

true if Warn is enabled

Remarks

Test if LogLog.Warn is enabled for output.

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.InfoFormat_overload_1.html0000644000175000017500000001013310412737516024436 0ustar slomoslomo ILog.InfoFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

ILog.InfoFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the Info level.

[Visual Basic]
Sub InfoFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void InfoFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

ILog Interface | log4net Namespace | ILog.InfoFormat Overload List | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.AddRange_overload_2.html0000644000175000017500000000554310412737554027730 0ustar slomoslomo PluginCollection.AddRange Method (IPlugin[])
log4net SDK Reference

PluginCollection.AddRange Method (IPlugin[])

Adds the elements of a IPlugin array to the current PluginCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal x As IPlugin() _
) As Integer
[C#]
public virtual int AddRange(
   IPlugin[] x
);

Parameters

x
The IPlugin array whose elements should be added to the end of the PluginCollection.

Return Value

The new Count of the PluginCollection.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.IPlugin[])

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.GlobalContext.Properties.html0000644000175000017500000000347710412737516024343 0ustar slomoslomo Properties Property
log4net SDK Reference

GlobalContext.Properties Property

The global properties map.

[Visual Basic]
Public Shared ReadOnly Property Properties As GlobalContextProperties
[C#]
public static Util.GlobalContextProperties Properties {get;}

Property Value

The global properties map.

Remarks

The global properties map.

See Also

GlobalContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBase.CurrentAppender.html0000644000175000017500000000445510412737526031775 0ustar slomoslomo CurrentAppender Property
log4net SDK Reference

FileAppender.LockingModelBase.CurrentAppender Property

Gets or sets the FileAppender for this LockingModel

[Visual Basic]
Public Property CurrentAppender As FileAppender
[C#]
public FileAppender CurrentAppender {get; set;}

Property Value

The FileAppender for this LockingModel

Remarks

The file appender this locking model is attached to and working on behalf of.

The file appender is used to locate the security context and the error handler to use.

The value of this property will be set before OpenFile is called.

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttribute.ConfigFile.html0000644000175000017500000000473710412737540027657 0ustar slomoslomo ConfigFile Property
log4net SDK Reference

XmlConfiguratorAttribute.ConfigFile Property

Gets or sets the filename of the configuration file.

[Visual Basic]
Public Property ConfigFile As String
[C#]
public string ConfigFile {get; set;}

Property Value

The filename of the configuration file.

Remarks

If specified, this is the name of the configuration file to use with the XmlConfigurator. This file path is relative to the application base directory (BaseDirectory).

The ConfigFile takes priority over the ConfigFileExtension.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelectorEvents.html0000644000175000017500000000374110412737540026675 0ustar slomoslomo CompactRepositorySelector Events
log4net SDK Reference

CompactRepositorySelector Events

The events of the CompactRepositorySelector class are listed below. For a complete list of CompactRepositorySelector class members, see the CompactRepositorySelector Members topic.

Public Instance Events

LoggerRepositoryCreatedEvent Event to notify that a logger repository has been created.

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.ErrorFormat_overload_2.html0000644000175000017500000001032610412737516024641 0ustar slomoslomo ILog.ErrorFormat Method (String, Object, Object, Object)
log4net SDK Reference

ILog.ErrorFormat Method (String, Object, Object, Object)

Logs a formatted message string with the Error level.

[Visual Basic]
Sub ErrorFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
)
[C#]
void ErrorFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

ILog Interface | log4net Namespace | ILog.ErrorFormat Overload List | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.LogExceptionConstructor1.html0000644000175000017500000000327110412737544025252 0ustar slomoslomo LogException Constructor ()
log4net SDK Reference

LogException Constructor ()

Constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public LogException();

Remarks

Initializes a new instance of the LogException class.

See Also

LogException Class | log4net.Core Namespace | LogException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.GlobalContextMembers.html0000644000175000017500000000733410412737516023517 0ustar slomoslomo GlobalContext Members
log4net SDK Reference

GlobalContext Members

GlobalContext overview

Public Static (Shared) Properties

Properties The global properties map.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

GlobalContext Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPluginMethods.html0000644000175000017500000001232110412737554027322 0ustar slomoslomo RemoteLoggingServerPlugin Methods
log4net SDK Reference

RemoteLoggingServerPlugin Methods

The methods of the RemoteLoggingServerPlugin class are listed below. For a complete list of RemoteLoggingServerPlugin class members, see the RemoteLoggingServerPlugin Members topic.

Public Instance Methods

Attach Attaches this plugin to a ILoggerRepository.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Shutdown Is called when the plugin is to shutdown.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.Append_overload_1.html0000644000175000017500000000451510412737526027052 0ustar slomoslomo FileAppender.Append Method (LoggingEvent[])
log4net SDK Reference

FileAppender.Append Method (LoggingEvent[])

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvents As LoggingEvent() _
)
[C#]
protected override void Append(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
The array of events to log.

Remarks

Acquires the output file locks once before writing all the events to the stream.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.ILoggerWrapperProperties.html0000644000175000017500000000355110412737540025266 0ustar slomoslomo ILoggerWrapper Properties
log4net SDK Reference

ILoggerWrapper Properties

The properties of the ILoggerWrapper interface are listed below. For a complete list of ILoggerWrapper interface members, see the ILoggerWrapper Members topic.

Public Instance Properties

Logger Get the implementation behind this wrapper object.

See Also

ILoggerWrapper Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.GetAppenders.html0000644000175000017500000000426210412737554031220 0ustar slomoslomo LoggerRepositorySkeleton.GetAppenders Method
log4net SDK Reference

LoggerRepositorySkeleton.GetAppenders Method 

Returns all the Appenders that are configured as an Array.

[Visual Basic]
MustOverride Public Function GetAppenders() As IAppender() _
    Implements ILoggerRepository.GetAppenders
[C#]
public abstract IAppender[] GetAppenders();

Return Value

All the Appenders

Implements

ILoggerRepository.GetAppenders

Remarks

Returns all the Appenders that are configured as an Array.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ExceptionLayout.html0000644000175000017500000000526310412737550024044 0ustar slomoslomo ExceptionLayout Class
log4net SDK Reference

ExceptionLayout Class

A Layout that renders only the Exception text from the logging event

For a list of all members of this type, see ExceptionLayout Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.ExceptionLayout

[Visual Basic]
Public Class ExceptionLayout
    Inherits LayoutSkeleton
[C#]
public class ExceptionLayout : LayoutSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A Layout that renders only the Exception text from the logging event.

This Layout should only be used with appenders that utilize multiple layouts (e.g. AdoNetAppender).

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

ExceptionLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.Get_overloads.html0000644000175000017500000000350210412737552027324 0ustar slomoslomo Get Method
log4net SDK Reference

RendererMap.Get Method

Gets the renderer for the specified object type

Overload List

Gets the renderer for the specified object type

public IObjectRenderer Get(object);

Gets the renderer for the specified type

public IObjectRenderer Get(Type);

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppenderProperties.html0000644000175000017500000001075610412737526026456 0ustar slomoslomo EventLogAppender Properties
log4net SDK Reference

EventLogAppender Properties

The properties of the EventLogAppender class are listed below. For a complete list of EventLogAppender class members, see the EventLogAppender Members topic.

Public Instance Properties

ApplicationName Property used to set the Application name. This appears in the event logs when logging.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LogName The name of the log where messages will be stored.
MachineName This property is used to return the name of the computer to use when accessing the event logs. Currently, this is the current computer, denoted by a dot "."
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
SecurityContext Gets or sets the SecurityContext used to write to the EventLog.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LocationInfo.FileName.html0000644000175000017500000000364210412737542024366 0ustar slomoslomo FileName Property
log4net SDK Reference

LocationInfo.FileName Property

Gets the file name of the caller.

[Visual Basic]
Public ReadOnly Property FileName As String
[C#]
public string FileName {get;}

Property Value

The file name of the caller.

Remarks

Gets the file name of the caller.

See Also

LocationInfo Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeletonMethods.html0000644000175000017500000001707310412737554030170 0ustar slomoslomo LoggerRepositorySkeleton Methods
log4net SDK Reference

LoggerRepositorySkeleton Methods

The methods of the LoggerRepositorySkeleton class are listed below. For a complete list of LoggerRepositorySkeleton class members, see the LoggerRepositorySkeleton Members topic.

Public Instance Methods

AddRenderer Adds an object renderer for a specific class.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Exists Test if logger exists
GetAppenders Returns all the Appenders that are configured as an Array.
GetCurrentLoggers Returns all the currently defined loggers in the repository
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLogger Return a new logger instance
GetType (inherited from Object) Gets the Type of the current instance.
Log Log the logEvent through this repository.
RaiseConfigurationChanged Raise a configuration changed event on this repository
ResetConfiguration Reset the repositories configuration to a default state
Shutdown Shutdown the repository
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnConfigurationChanged Notify the registered listeners that the repository has had its configuration changed
OnConfigurationReset Notify the registered listeners that the repository has had its configuration reset
OnShutdown Notify the registered listeners that the repository is shutting down

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderConstructor1.html0000644000175000017500000000367210412737524026604 0ustar slomoslomo ConsoleAppender Constructor ()
log4net SDK Reference

ConsoleAppender Constructor ()

Initializes a new instance of the ConsoleAppender class.

[Visual Basic]
Overloads Public Sub New()
[C#]
public ConsoleAppender();

Remarks

The instance of the ConsoleAppender class is set up to write to the standard output stream.

See Also

ConsoleAppender Class | log4net.Appender Namespace | ConsoleAppender Constructor Overload List


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfiguratorConstructor.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfiguratorConstructor.html0000644000175000017500000000431210412737556032757 0ustar slomoslomo XmlHierarchyConfigurator Constructor
log4net SDK Reference

XmlHierarchyConfigurator Constructor 

Construct the configurator for a hierarchy

[Visual Basic]
Public Sub New( _
   ByVal hierarchy As Hierarchy _
)
[C#]
public XmlHierarchyConfigurator(
   Hierarchy hierarchy
);

Parameters

hierarchy
The hierarchy to build.

Remarks

Initializes a new instance of the XmlHierarchyConfigurator class with the specified Hierarchy.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.OnLoggerRepositoryCreatedEvent.htmllog4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.OnLoggerRepositoryCreatedEvent0000644000175000017500000000455110412737540032652 0ustar slomoslomo CompactRepositorySelector.OnLoggerRepositoryCreatedEvent Method
log4net SDK Reference

CompactRepositorySelector.OnLoggerRepositoryCreatedEvent Method 

Notify the registered listeners that the repository has been created

[Visual Basic]
Overridable Protected Sub OnLoggerRepositoryCreatedEvent( _
   ByVal repository As ILoggerRepository _
)
[C#]
protected virtual void OnLoggerRepositoryCreatedEvent(
   ILoggerRepository repository
);

Parameters

repository
The repository that has been created

Remarks

Raises the LoggerRepositoryCreatedEvent event.

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent.html0000644000175000017500000000532410412737556031161 0ustar slomoslomo Hierarchy.LoggerCreatedEvent Event
log4net SDK Reference

Hierarchy.LoggerCreatedEvent Event

Event used to notify that a logger has been created.

[Visual Basic]
Public Event LoggerCreatedEvent As LoggerCreationEventHandler
[C#]
public event LoggerCreationEventHandler LoggerCreatedEvent;

Event Data

The event handler receives an argument of type LoggerCreationEventArgs containing data related to this event. The following LoggerCreationEventArgs property provides information specific to this event.

Property Description
Logger Gets the Logger that has been created.

Remarks

Event raised when a logger is created.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.SetQWForFiles_overload_1.html0000644000175000017500000000475610412737534031635 0ustar slomoslomo RollingFileAppender.SetQWForFiles Method (TextWriter)
log4net SDK Reference

RollingFileAppender.SetQWForFiles Method (TextWriter)

Sets the quiet writer being used.

[Visual Basic]
Overrides Overloads Protected Sub SetQWForFiles( _
   ByVal writer As TextWriter _
)
[C#]
protected override void SetQWForFiles(
   TextWriter writer
);

Parameters

writer
the writer to set

Remarks

This method can be overridden by sub classes.

See Also

RollingFileAppender Class | log4net.Appender Namespace | RollingFileAppender.SetQWForFiles Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventConstructor4.html0000644000175000017500000000553510412737544025252 0ustar slomoslomo LoggingEvent Constructor (LoggingEventData)
log4net SDK Reference

LoggingEvent Constructor (LoggingEventData)

Initializes a new instance of the LoggingEvent class using specific data.

[Visual Basic]
Overloads Public Sub New( _
   ByVal data As LoggingEventData _
)
[C#]
public LoggingEvent(
   LoggingEventData data
);

Parameters

data
Data used to initialize the logging event.

Remarks

This constructor is provided to allow a LoggingEvent to be created independently of the log4net framework. This can be useful if you require a custom serialization scheme.

Use the GetLoggingEventData method to obtain an instance of the LoggingEventData class.

This constructor sets this objects Fix flags to All, this assumes that all the data relating to this event is passed in via the data parameter and no other data should be captured from the environment.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.LoggerName.html0000644000175000017500000000373510412737544024737 0ustar slomoslomo LoggerName Property
log4net SDK Reference

LoggingEvent.LoggerName Property

Gets the name of the logger that logged the event.

[Visual Basic]
Public ReadOnly Property LoggerName As String
[C#]
public string LoggerName {get;}

Property Value

The name of the logger that logged the event.

Remarks

Gets the name of the logger that logged the event.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfiguratorMembers.html0000644000175000017500000000751410412737536025564 0ustar slomoslomo BasicConfigurator Members
log4net SDK Reference

BasicConfigurator Members

BasicConfigurator overview

Public Static (Shared) Methods

ConfigureOverloaded. Initializes the log4net system with a default configuration.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

BasicConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.Subject.html0000644000175000017500000000371210412737534025170 0ustar slomoslomo Subject Property
log4net SDK Reference

SmtpAppender.Subject Property

Gets or sets the subject line of the e-mail message.

[Visual Basic]
Public Property Subject As String
[C#]
public string Subject {get; set;}

Property Value

The subject line of the e-mail message.

Remarks

The subject line of the e-mail message.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandlerProperties.html0000644000175000017500000000377010412737534030710 0ustar slomoslomo TelnetAppender.SocketHandler Properties
log4net SDK Reference

TelnetAppender.SocketHandler Properties

The properties of the TelnetAppender.SocketHandler class are listed below. For a complete list of TelnetAppender.SocketHandler class members, see the TelnetAppender.SocketHandler Members topic.

Public Instance Properties

HasConnections Test if this handler has active connections

See Also

TelnetAppender.SocketHandler Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttribute.html0000644000175000017500000000702310412737540024676 0ustar slomoslomo RepositoryAttribute Class
log4net SDK Reference

RepositoryAttribute Class

Assembly level attribute that specifies the logging repository for the assembly.

For a list of all members of this type, see RepositoryAttribute Members.

System.Object
   System.Attribute
      log4net.Config.RepositoryAttribute
         log4net.Config.DomainAttribute

[Visual Basic]
Public Class RepositoryAttribute
    Inherits Attribute
[C#]
public class RepositoryAttribute : Attribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Assemblies are mapped to logging repository. This attribute specified on the assembly controls the configuration of the repository. The Name property specifies the name of the repository that this assembly is a part of. The RepositoryType specifies the type of the ILoggerRepository object to create for the assembly. If this attribute is not specified or a Name is not specified then the assembly will be part of the default shared logging repository.

This attribute can only be specified on the assembly and may only be used once per assembly.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

RepositoryAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Write_overload_17.html0000644000175000017500000000450010412737564027263 0ustar slomoslomo TextWriterAdapter.Write Method (Char)
log4net SDK Reference

TextWriterAdapter.Write Method (Char)

Writes a character to the wrapped TextWriter

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal value As Char _
)
[C#]
public override void Write(
   char value
);

Parameters

value
the value to write to the TextWriter

Remarks

Writes a character to the wrapped TextWriter

See Also

TextWriterAdapter Class | log4net.Util Namespace | TextWriterAdapter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.GetAppenders.html0000644000175000017500000000472610412737556030036 0ustar slomoslomo Hierarchy.GetAppenders Method
log4net SDK Reference

Hierarchy.GetAppenders Method 

Returns all the Appenders that are currently configured

[Visual Basic]
Overrides Public Function GetAppenders() As IAppender() _
    Implements ILoggerRepository.GetAppenders
[C#]
public override IAppender[] GetAppenders();

Return Value

An array containing all the currently configured appenders

Implements

ILoggerRepository.GetAppenders

Remarks

Returns all the IAppender instances that are currently configured. All the loggers are searched for appenders. The appenders may also be containers for appenders and these are also searched for additional loggers.

The list returned is unordered but does not contain duplicates.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.ErrorHandler.html0000644000175000017500000000407410412737522027020 0ustar slomoslomo ErrorHandler Property
log4net SDK Reference

AppenderSkeleton.ErrorHandler Property

Gets or sets the IErrorHandler for this appender.

[Visual Basic]
Overridable Public Property ErrorHandler As IErrorHandler
[C#]
public virtual log4net.Core.IErrorHandler ErrorHandler {get; set;}

Property Value

The IErrorHandler of the appender

Remarks

The AppenderSkeleton provides a default implementation for the ErrorHandler property.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.html0000644000175000017500000000664610412737564024005 0ustar slomoslomo TextWriterAdapter Class
log4net SDK Reference

TextWriterAdapter Class

Adapter that extends TextWriter and forwards all messages to an instance of TextWriter.

For a list of all members of this type, see TextWriterAdapter Members.

System.Object
   System.MarshalByRefObject
      System.IO.TextWriter
         log4net.Util.TextWriterAdapter
            log4net.Util.ProtectCloseTextWriter
            log4net.Util.QuietTextWriter

[Visual Basic]
MustInherit Public Class TextWriterAdapter
    Inherits TextWriter
[C#]
public abstract class TextWriterAdapter : TextWriter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Adapter that extends TextWriter and forwards all messages to an instance of TextWriter.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

TextWriterAdapter Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemStringFormatMethods.html0000644000175000017500000000623110412737564025521 0ustar slomoslomo SystemStringFormat Methods
log4net SDK Reference

SystemStringFormat Methods

The methods of the SystemStringFormat class are listed below. For a complete list of SystemStringFormat class members, see the SystemStringFormat Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString Format the string and arguments

See Also

SystemStringFormat Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.DisplayName.html0000644000175000017500000000364210412737542023577 0ustar slomoslomo DisplayName Property
log4net SDK Reference

Level.DisplayName Property

Gets the display name of this level.

[Visual Basic]
Public ReadOnly Property DisplayName As String
[C#]
public string DisplayName {get;}

Property Value

The display name of this level.

Remarks

Gets the display name of this level.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.Exists_overload_1.html0000644000175000017500000000467410412737516025050 0ustar slomoslomo LogManager.Exists Method (String)
log4net SDK Reference

LogManager.Exists Method (String)

Returns the named logger if it exists.

[Visual Basic]
Overloads Public Shared Function Exists( _
   ByVal name As String _
) As ILog
[C#]
public static ILog Exists(
   string name
);

Parameters

name
The fully qualified logger name to look for.

Return Value

The logger found, or null if no logger could be found.

Remarks

If the named logger exists (in the default repository) then it returns a reference to the logger, otherwise it returns null.

See Also

LogManager Class | log4net Namespace | LogManager.Exists Overload List


log4net-1.2.10/doc/release/sdk/privevent.gif0000644000175000017500000000160110412737506017675 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@^ÿ H° @|`ß¾… 6|xðß.FÜXp"ÅøBÄ`âB|ÿ5„8dÉ—cª|É2¢Çš>„ˆ0cM“„ŠRåÇŠ/5–4ˆ2£O™P;log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Append_overloads.html0000644000175000017500000000403010412737526027651 0ustar slomoslomo Append Method
log4net SDK Reference

EventLogAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.GetObjectData.html0000644000175000017500000000756010412737544025357 0ustar slomoslomo LoggingEvent.GetObjectData Method
log4net SDK Reference

LoggingEvent.GetObjectData Method 

Serializes this object into the SerializationInfo provided.

[Visual Basic]
Overridable Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) _
    Implements ISerializable.GetObjectData
[C#]
public virtual void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo to populate with data.
context
The destination for this serialization.

Implements

ISerializable.GetObjectData

Remarks

The data in this event must be fixed before it can be serialized.

The FixVolatileData method must be called during the DoAppend method call if this event is to be used outside that method.

See Also

LoggingEvent Class | log4net.Core Namespace


././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClientMethods.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.SocketHandler.SocketClientMethods.htm0000644000175000017500000001244410412737534032367 0ustar slomoslomo TelnetAppender.SocketHandler.SocketClient Methods
log4net SDK Reference

TelnetAppender.SocketHandler.SocketClient Methods

The methods of the TelnetAppender.SocketHandler.SocketClient class are listed below. For a complete list of TelnetAppender.SocketHandler.SocketClient class members, see the TelnetAppender.SocketHandler.SocketClient Members topic.

Public Instance Methods

Dispose Cleanup the clients connection
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Send Write a string to the client
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TelnetAppender.SocketHandler.SocketClient Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionConstructor1.html0000644000175000017500000000372110412737522027266 0ustar slomoslomo AppenderCollection Constructor ()
log4net SDK Reference

AppenderCollection Constructor ()

Initializes a new instance of the AppenderCollection class that is empty and has the default initial capacity.

[Visual Basic]
Overloads Public Sub New()
[C#]
public AppenderCollection();

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.#ctor

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.AssemblyShortName.html0000644000175000017500000000673710412737564026063 0ustar slomoslomo SystemInfo.AssemblyShortName Method
log4net SDK Reference

SystemInfo.AssemblyShortName Method 

Gets the short name of the Assembly.

[Visual Basic]
Public Shared Function AssemblyShortName( _
   ByVal myAssembly As Assembly _
) As String
[C#]
public static string AssemblyShortName(
   Assembly myAssembly
);

Parameters

myAssembly
The Assembly to get the name for.

Return Value

The short name of the Assembly.

Remarks

The short name of the assembly is the FullName without the version, culture, or public key. i.e. it is just the assembly's file name without the extension.

Use this rather than Assembly.GetName().Name because that is not available on the Compact Framework.

Because of a FileIOPermission security demand we cannot do the obvious Assembly.GetName().Name. We are allowed to get the FullName of the assembly so we start from there and strip out just the assembly name.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppenderProperties.html0000644000175000017500000000735410412737520030312 0ustar slomoslomo AnsiColorTerminalAppender Properties
log4net SDK Reference

AnsiColorTerminalAppender Properties

The properties of the AnsiColorTerminalAppender class are listed below. For a complete list of AnsiColorTerminalAppender class members, see the AnsiColorTerminalAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Target Target is the value of the console output stream.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ProtectCloseTextWriter.html0000644000175000017500000000614110412737562025017 0ustar slomoslomo ProtectCloseTextWriter Class
log4net SDK Reference

ProtectCloseTextWriter Class

A TextWriter that ignores the Close message

For a list of all members of this type, see ProtectCloseTextWriter Members.

System.Object
   System.MarshalByRefObject
      System.IO.TextWriter
         log4net.Util.TextWriterAdapter
            log4net.Util.ProtectCloseTextWriter

[Visual Basic]
Public Class ProtectCloseTextWriter
    Inherits TextWriterAdapter
[C#]
public class ProtectCloseTextWriter : TextWriterAdapter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This writer is used in special cases where it is necessary to protect a writer from being closed by a client.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ProtectCloseTextWriter Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppenderMembers.html0000644000175000017500000002721410412737520027545 0ustar slomoslomo AnsiColorTerminalAppender Members
log4net SDK Reference

AnsiColorTerminalAppender Members

AnsiColorTerminalAppender overview

Public Static (Shared) Fields

ConsoleError The Target to use when writing to the Console standard error output stream.
ConsoleOut The Target to use when writing to the Console standard output stream.

Public Instance Constructors

AnsiColorTerminalAppender Constructor Initializes a new instance of the AnsiColorTerminalAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Target Target is the value of the console output stream.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the options for this appender
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to color
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDC.Pop.html0000644000175000017500000000461710412737520020574 0ustar slomoslomo NDC.Pop Method
log4net SDK Reference

NDC.Pop Method 

Removes the top context from the stack.

[Visual Basic]
Public Shared Function Pop() As String
[C#]
public static string Pop();

Return Value

The message in the context that was removed from the top of the stack.

Remarks

Note   

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

Remove the top context from the stack, and return it to the caller. If the stack is empty then an empty string (not null) is returned.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.ReadOnly.html0000644000175000017500000000476410412737522026463 0ustar slomoslomo AppenderCollection.ReadOnly Method
log4net SDK Reference

AppenderCollection.ReadOnly Method 

Creates a read-only wrapper for a AppenderCollection instance.

[Visual Basic]
Public Shared Function ReadOnly( _
   ByVal list As AppenderCollection _
) As AppenderCollection
[C#]
public static AppenderCollection ReadOnly(
   AppenderCollection list
);

Parameters

list
list to create a readonly wrapper arround

Return Value

An AppenderCollection wrapper that is read-only.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.ReadOnly(log4net.Appender.AppenderCollection)

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.GlobalContextPropertiesMethods.html0000644000175000017500000000772710412737560026526 0ustar slomoslomo GlobalContextProperties Methods
log4net SDK Reference

GlobalContextProperties Methods

The methods of the GlobalContextProperties class are listed below. For a complete list of GlobalContextProperties class members, see the GlobalContextProperties Members topic.

Public Instance Methods

Clear Clear the global context properties
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove a property from the global context
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

GlobalContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.GetSeverity.html0000644000175000017500000000431410412737532027551 0ustar slomoslomo RemoteSyslogAppender.GetSeverity Method
log4net SDK Reference

RemoteSyslogAppender.GetSeverity Method 

Translates a log4net level to a syslog severity.

[Visual Basic]
Overridable Protected Function GetSeverity( _
   ByVal level As Level _
) As SyslogSeverity
[C#]
protected virtual SyslogSeverity GetSeverity(
   Level level
);

Parameters

level
A log4net level.

Return Value

A syslog severity.

Remarks

Translates a log4net level to a syslog severity.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.FilterEvent.html0000644000175000017500000000577410412737522026670 0ustar slomoslomo AppenderSkeleton.FilterEvent Method
log4net SDK Reference

AppenderSkeleton.FilterEvent Method 

Test if the logging event should we output by this appender

[Visual Basic]
Overridable Protected Function FilterEvent( _
   ByVal loggingEvent As LoggingEvent _
) As Boolean
[C#]
protected virtual bool FilterEvent(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event to test

Return Value

true if the event should be output, false if the event should be ignored

Remarks

This method checks the logging event against the threshold level set on this appender and also against the filters specified on this appender.

The implementation of this method is as follows:

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManagerMethods.html0000644000175000017500000001512610412737544024363 0ustar slomoslomo LoggerManager Methods
log4net SDK Reference

LoggerManager Methods

The methods of the LoggerManager class are listed below. For a complete list of LoggerManager class members, see the LoggerManager Members topic.

Public Static (Shared) Methods

CreateDomainOverloaded. Creates a repository with the specified name.
CreateRepositoryOverloaded. Creates a repository with the specified name.
ExistsOverloaded. Returns the named logger if it exists.
GetAllRepositories Gets an array of all currently defined repositories.
GetCurrentLoggersOverloaded. Returns all the currently defined loggers in the specified repository.
GetLoggerOverloaded. Retrieves or creates a named logger.
GetLoggerRepositoryOverloaded. Return the default ILoggerRepository instance.
GetRepositoryOverloaded. Return the default ILoggerRepository instance.
ResetConfigurationOverloaded. Resets all values contained in this repository instance to their defaults.
Shutdown Shuts down the log4net system.
ShutdownRepositoryOverloaded. Shuts down the repository for the repository specified.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.html0000644000175000017500000001065010412737542021367 0ustar slomoslomo Level Class
log4net SDK Reference

Level Class

Defines the default set of levels recognized by the system.

For a list of all members of this type, see Level Members.

System.Object
   log4net.Core.Level

[Visual Basic]
NotInheritable Public Class Level
    Implements IComparable
[C#]
public sealed class Level : IComparable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Each LoggingEvent has an associated Level.

Levels have a numeric Value that defines the relative ordering between levels. Two Levels with the same Value are deemed to be equivalent.

The levels that are recognized by log4net are set for each ILoggerRepository and each repository can have different levels defined. The levels are stored in the LevelMap on the repository. Levels are looked up by name from the LevelMap.

When logging at level INFO the actual level used is not Info but the value of LoggerRepository.LevelMap["INFO"]. The default value for this is Info, but this can be changed by reconfiguring the level map.

Each level has a DisplayName in addition to its Name. The DisplayName is the string that is written into the output log. By default the display name is the same as the level name, but this can be used to alias levels or to localize the log output.

Some of the predefined levels recognized by the system are:

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

Level Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeletonConstructor1.html0000644000175000017500000000341410412737554031165 0ustar slomoslomo LoggerRepositorySkeleton Constructor ()
log4net SDK Reference

LoggerRepositorySkeleton Constructor ()

Default Constructor

[Visual Basic]
Overloads Protected Sub New()
[C#]
protected LoggerRepositorySkeleton();

Remarks

Initializes the repository with default (empty) properties.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace | LoggerRepositorySkeleton Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.RenderedMessage.html0000644000175000017500000000417310412737544025751 0ustar slomoslomo RenderedMessage Property
log4net SDK Reference

LoggingEvent.RenderedMessage Property

Gets the message, rendered through the RendererMap.

[Visual Basic]
Public ReadOnly Property RenderedMessage As String
[C#]
public string RenderedMessage {get;}

Property Value

The message rendered through the RendererMap.

Remarks

The collected information is cached for future use.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelectorEvents.html0000644000175000017500000000374110412737540026673 0ustar slomoslomo DefaultRepositorySelector Events
log4net SDK Reference

DefaultRepositorySelector Events

The events of the DefaultRepositorySelector class are listed below. For a complete list of DefaultRepositorySelector class members, see the DefaultRepositorySelector Members topic.

Public Instance Events

LoggerRepositoryCreatedEvent Event to notify that a logger repository has been created.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.IObjectRenderer.html0000644000175000017500000000524610412737552025341 0ustar slomoslomo IObjectRenderer Interface
log4net SDK Reference

IObjectRenderer Interface

Implement this interface in order to render objects as strings

For a list of all members of this type, see IObjectRenderer Members.

[Visual Basic]
Public Interface IObjectRenderer
[C#]
public interface IObjectRenderer

Types that implement IObjectRenderer

Type Description
DefaultRenderer The default object Renderer.

Remarks

Certain types require special case conversion to string form. This conversion is done by an object renderer. Object renderers implement the IObjectRenderer interface.

Requirements

Namespace: log4net.ObjectRenderer

Assembly: log4net (in log4net.dll)

See Also

IObjectRenderer Members | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.AddMapping.html0000644000175000017500000000430010412737530027073 0ustar slomoslomo LocalSyslogAppender.AddMapping Method
log4net SDK Reference

LocalSyslogAppender.AddMapping Method 

Add a mapping of level to severity

[Visual Basic]
Public Sub AddMapping( _
   ByVal mapping As LevelSeverity _
)
[C#]
public void AddMapping(
   LevelSeverity mapping
);

Parameters

mapping
The mapping to add

Remarks

Adds a LocalSyslogAppender.LevelSeverity to this appender.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMapping.ActivateOptions.html0000644000175000017500000000404710412737560026046 0ustar slomoslomo LevelMapping.ActivateOptions Method
log4net SDK Reference

LevelMapping.ActivateOptions Method 

Initialize options

[Visual Basic]
NotOverridable Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Caches the sorted list of LevelMappingEntry in an array

See Also

LevelMapping Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Additivity.html0000644000175000017500000000470010412737556027060 0ustar slomoslomo Additivity Property
log4net SDK Reference

Logger.Additivity Property

Gets or sets a value indicating if child loggers inherit their parent's appenders.

[Visual Basic]
Overridable Public Property Additivity As Boolean
[C#]
public virtual bool Additivity {get; set;}

Property Value

true if child loggers inherit their parent's appenders.

Remarks

Additivity is set to true by default, that is children inherit the appenders of their ancestors by default. If this variable is set to false then the appenders found in the ancestors of this logger are not used. However, the children of this logger will inherit its appenders, unless the children have their additivity flag set to false too. See the user manual for more details.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppenderMethods.html0000644000175000017500000002033110412737520027547 0ustar slomoslomo AnsiColorTerminalAppender Methods
log4net SDK Reference

AnsiColorTerminalAppender Methods

The methods of the AnsiColorTerminalAppender class are listed below. For a complete list of AnsiColorTerminalAppender class members, see the AnsiColorTerminalAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the options for this appender
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to color
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.ErrorFormat_overload_5.html0000644000175000017500000000671610412737516024654 0ustar slomoslomo ILog.ErrorFormat Method (String, Object[])
log4net SDK Reference

ILog.ErrorFormat Method (String, Object[])

Logs a formatted message string with the Error level.

[Visual Basic]
Sub ErrorFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void ErrorFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error methods instead.

See Also

ILog Interface | log4net Namespace | ILog.ErrorFormat Overload List | Error | IsErrorEnabled


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter.ht0000644000175000017500000000627610412737556032566 0ustar slomoslomo XmlHierarchyConfigurator.SetParameter Method
log4net SDK Reference

XmlHierarchyConfigurator.SetParameter Method 

Sets a parameter on an object.

[Visual Basic]
Protected Sub SetParameter( _
   ByVal element As XmlElement, _
   ByVal target As Object _
)
[C#]
protected void SetParameter(
   XmlElement element,
   object target
);

Parameters

element
The parameter element.
target
The object to set the parameter on.

Remarks

The parameter name must correspond to a writable property on the object. The value of the parameter is a string, therefore this function will attempt to set a string property first. If unable to set a string property it will inspect the property and its argument type. It will attempt to call a static method called Parse on the type of the property. This method will take a single string argument and return a value that can be used to set the property.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriterProperties.html0000644000175000017500000000733410412737560027267 0ustar slomoslomo CountingQuietTextWriter Properties
log4net SDK Reference

CountingQuietTextWriter Properties

The properties of the CountingQuietTextWriter class are listed below. For a complete list of CountingQuietTextWriter class members, see the CountingQuietTextWriter Members topic.

Public Instance Properties

Closed (inherited from QuietTextWriter) Gets a value indicating whether this writer is closed.
Count Gets or sets the total number of bytes written.
Encoding (inherited from TextWriterAdapter) The Encoding in which the output is written
ErrorHandler (inherited from QuietTextWriter) Gets or sets the error handler that all errors are passed to.
FormatProvider (inherited from TextWriterAdapter) Gets an object that controls formatting
NewLine (inherited from TextWriterAdapter) Gets or sets the line terminator string used by the TextWriter

Protected Instance Properties

Writer (inherited from TextWriterAdapter) Gets or sets the underlying TextWriter.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.RemoveAppender_overloads.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.RemoveAppender_overloads0000644000175000017500000000376510412737524032636 0ustar slomoslomo RemoveAppender Method
log4net SDK Reference

BufferingForwardingAppender.RemoveAppender Method

Removes the specified appender from the list of appenders.

Overload List

Removes the specified appender from the list of appenders.

public virtual IAppender RemoveAppender(IAppender);

Removes the appender with the specified name from the list of appenders.

public virtual IAppender RemoveAppender(string);

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.CommandType.html0000644000175000017500000000527410412737520026240 0ustar slomoslomo CommandType Property
log4net SDK Reference

AdoNetAppender.CommandType Property

Gets or sets the command type to execute.

[Visual Basic]
Public Property CommandType As CommandType
[C#]
public System.Data.CommandType CommandType {get; set;}

Property Value

The command type to execute.

Remarks

This value may be either Text (System.Data.CommandType.Text) to specify that the CommandText is a prepared statement to execute, or StoredProcedure (System.Data.CommandType.StoredProcedure) to specify that the CommandText property is the name of a stored procedure to execute.

The default value is Text (System.Data.CommandType.Text).

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfiguratorMethods.html0000644000175000017500000001050110412737536025161 0ustar slomoslomo DOMConfigurator Methods
log4net SDK Reference

DOMConfigurator Methods

The methods of the DOMConfigurator class are listed below. For a complete list of DOMConfigurator class members, see the DOMConfigurator Members topic.

Public Static (Shared) Methods

ConfigureOverloaded. Automatically configures the log4net system based on the application's configuration settings.
ConfigureAndWatchOverloaded. Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DOMConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Warn_overloads.html0000644000175000017500000000351510412737560024516 0ustar slomoslomo Warn Method
log4net SDK Reference

LogLog.Warn Method

Writes log4net internal warning messages to the standard error stream.

Overload List

Writes log4net internal warning messages to the standard error stream.

public static void Warn(string);

Writes log4net internal warning messages to the standard error stream.

public static void Warn(string,Exception);

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.ConfiguratorAttributeMethods.html0000644000175000017500000001336610412737536026521 0ustar slomoslomo ConfiguratorAttribute Methods
log4net SDK Reference

ConfiguratorAttribute Methods

The methods of the ConfiguratorAttribute class are listed below. For a complete list of ConfiguratorAttribute class members, see the ConfiguratorAttribute Members topic.

Public Instance Methods

CompareTo Compare this instance to another ConfiguratorAttribute
Configure Configures the ILoggerRepository for the specified assembly.
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Layout2RawLayoutAdapterMethods.html0000644000175000017500000001165110412737550026742 0ustar slomoslomo Layout2RawLayoutAdapter Methods
log4net SDK Reference

Layout2RawLayoutAdapter Methods

The methods of the Layout2RawLayoutAdapter class are listed below. For a complete list of Layout2RawLayoutAdapter class members, see the Layout2RawLayoutAdapter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Format the logging event as an object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Layout2RawLayoutAdapter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.AssemblyFileName.html0000644000175000017500000000564510412737564025640 0ustar slomoslomo SystemInfo.AssemblyFileName Method
log4net SDK Reference

SystemInfo.AssemblyFileName Method 

Gets the file name portion of the Assembly, including the extension.

[Visual Basic]
Public Shared Function AssemblyFileName( _
   ByVal myAssembly As Assembly _
) As String
[C#]
public static string AssemblyFileName(
   Assembly myAssembly
);

Parameters

myAssembly
The Assembly to get the file name for.

Return Value

The file name of the assembly.

Remarks

Gets the file name portion of the Assembly, including the extension.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.WarnFormat_overload_4.html0000644000175000017500000000660610412737516024467 0ustar slomoslomo ILog.WarnFormat Method (String, Object)
log4net SDK Reference

ILog.WarnFormat Method (String, Object)

Logs a formatted message string with the Warn level.

[Visual Basic]
Sub WarnFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
)
[C#]
void WarnFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

ILog Interface | log4net Namespace | ILog.WarnFormat Overload List | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.ILoggerMethods.html0000644000175000017500000000413310412737540023171 0ustar slomoslomo ILogger Methods
log4net SDK Reference

ILogger Methods

The methods of the ILogger interface are listed below. For a complete list of ILogger interface members, see the ILogger Members topic.

Public Instance Methods

IsEnabledFor Checks if this logger is enabled for a given Level passed as parameter.
LogOverloaded. This is the most generic printing method that is intended to be used by wrappers.

See Also

ILogger Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.Server.html0000644000175000017500000000421510412737530025447 0ustar slomoslomo Server Property
log4net SDK Reference

NetSendAppender.Server Property

Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.

[Visual Basic]
Public Property Server As String
[C#]
public string Server {get; set;}

Property Value

DNS or NetBIOS name of the remote server on which the function is to execute.

Remarks

For Windows NT 4.0 and earlier, the string should begin with \\.

If this property is not specified, the local computer is used.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.Key.html0000644000175000017500000000715710412737562026110 0ustar slomoslomo Key Property
log4net SDK Reference

NullDictionaryEnumerator.Key Property

Gets the current key from the enumerator.

[Visual Basic]
NotOverridable Public ReadOnly Property Key As Object _
    Implements IDictionaryEnumerator.Key
[C#]
public object Key {get;}

Implements

IDictionaryEnumerator.Key

Remarks

Throws an exception because the NullDictionaryEnumerator never has a current value.

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore Key will throw an InvalidOperationException.

Exceptions

Exception Type Condition
InvalidOperationException The collection is empty and Current cannot be positioned over a valid location.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.Appenders.html0000644000175000017500000000456410412737530026673 0ustar slomoslomo Appenders Property
log4net SDK Reference

ForwardingAppender.Appenders Property

Gets the appenders contained in this appender as an ICollection.

[Visual Basic]
Overridable Public ReadOnly Property Appenders As AppenderCollection _
    Implements IAppenderAttachable.Appenders
[C#]
public virtual AppenderCollection Appenders {get;}

Implements

IAppenderAttachable.Appenders

Remarks

If no appenders can be found, then an EmptyCollection is returned.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.SyncRoot.html0000644000175000017500000000543310412737560025253 0ustar slomoslomo SyncRoot Property
log4net SDK Reference

EmptyDictionary.SyncRoot Property

Gets an object that can be used to synchronize access to the ICollection.

[Visual Basic]
NotOverridable Public ReadOnly Property SyncRoot As Object _
    Implements ICollection.SyncRoot
[C#]
public object SyncRoot {get;}

Property Value

An object that can be used to synchronize access to the ICollection.

Implements

ICollection.SyncRoot

Remarks

As the collection is empty and thread safe and synchronized this instance is also the SyncRoot object.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppender.RequiresLayout.html0000644000175000017500000000416210412737532031277 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

OutputDebugStringAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.FilterDecision.html0000644000175000017500000000472210412737546023567 0ustar slomoslomo FilterDecision Enumeration
log4net SDK Reference

FilterDecision Enumeration

The return result from Decide

[Visual Basic]
Public Enum FilterDecision
[C#]
public enum FilterDecision

Remarks

The return result from Decide

Members

Member NameDescription
Deny The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
Neutral This filter is neutral with respect to the log event. The remaining filters, if any, should be consulted for a final decision.
Accept The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.html0000644000175000017500000001341310412737544021665 0ustar slomoslomo LogImpl Class
log4net SDK Reference

LogImpl Class

Implementation of ILog wrapper interface.

For a list of all members of this type, see LogImpl Members.

System.Object
   log4net.Core.LoggerWrapperImpl
      log4net.Core.LogImpl

[Visual Basic]
Public Class LogImpl
    Inherits LoggerWrapperImpl
    Implements ILog
[C#]
public class LogImpl : LoggerWrapperImpl, ILog

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This implementation of the ILog interface forwards to the ILogger held by the base class.

This logger has methods to allow the caller to log at the following levels:

DEBUG
The Debug and DebugFormat methods log messages at the DEBUG level. That is the level with that name defined in the repositories LevelMap. The default value for this level is Debug. The IsDebugEnabled property tests if this level is enabled for logging.
INFO
The Info and InfoFormat methods log messages at the INFO level. That is the level with that name defined in the repositories LevelMap. The default value for this level is Info. The IsInfoEnabled property tests if this level is enabled for logging.
WARN
The Warn and WarnFormat methods log messages at the WARN level. That is the level with that name defined in the repositories LevelMap. The default value for this level is Warn. The IsWarnEnabled property tests if this level is enabled for logging.
ERROR
The Error and ErrorFormat methods log messages at the ERROR level. That is the level with that name defined in the repositories LevelMap. The default value for this level is Error. The IsErrorEnabled property tests if this level is enabled for logging.
FATAL
The Fatal and FatalFormat methods log messages at the FATAL level. That is the level with that name defined in the repositories LevelMap. The default value for this level is Fatal. The IsFatalEnabled property tests if this level is enabled for logging.

The values for these levels and their semantic meanings can be changed by configuring the LevelMap for the repository.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LogImpl Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextProperties.Clear.html0000644000175000017500000000325210412737564026227 0ustar slomoslomo ThreadContextProperties.Clear Method
log4net SDK Reference

ThreadContextProperties.Clear Method 

Clear all properties

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Remarks

Clear all properties

See Also

ThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Debug_overload_1.html0000644000175000017500000000607710412737516023434 0ustar slomoslomo ILog.Debug Method (Object, Exception)
log4net SDK Reference

ILog.Debug Method (Object, Exception)

Log a message object with the Debug level including the stack trace of the Exception passed as a parameter.

[Visual Basic]
Sub Debug( _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
void Debug(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

See the Debug form for more detailed information.

See Also

ILog Interface | log4net Namespace | ILog.Debug Overload List | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelectorConstructor.html0000644000175000017500000000625610412737540027762 0ustar slomoslomo CompactRepositorySelector Constructor
log4net SDK Reference

CompactRepositorySelector Constructor 

Create a new repository selector

[Visual Basic]
Public Sub New( _
   ByVal defaultRepositoryType As Type _
)
[C#]
public CompactRepositorySelector(
   Type defaultRepositoryType
);

Parameters

defaultRepositoryType
the type of the repositories to create, must implement ILoggerRepository

Remarks

Create an new compact repository selector. The default type for repositories must be specified, an appropriate value would be Hierarchy.

Exceptions

Exception TypeCondition
ArgumentNullExceptionthrow if defaultRepositoryType is null
ArgumentOutOfRangeExceptionthrow if defaultRepositoryType does not implement ILoggerRepository

See Also

CompactRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.RemoveAppender_overload_2.html0000644000175000017500000000554110412737556032002 0ustar slomoslomo Logger.RemoveAppender Method (IAppender)
log4net SDK Reference

Logger.RemoveAppender Method (IAppender)

Remove the appender passed as parameter form the list of appenders.

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
   ByVal appender As IAppender _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual IAppender RemoveAppender(
   IAppender appender
);

Parameters

appender
The appender to remove

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

Remove the appender passed as parameter form the list of appenders. The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.PluginHierarchy.html0000644000175000017500000000571410412737552022534 0ustar slomoslomo log4net.PluginHierarchy
log4net SDK Reference

log4net.Plugin Hierarchy

System.Object

See Also

log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ContextPropertiesBase.html0000644000175000017500000000515310412737560024643 0ustar slomoslomo ContextPropertiesBase Class
log4net SDK Reference

ContextPropertiesBase Class

Base class for Context Properties implementations

For a list of all members of this type, see ContextPropertiesBase Members.

System.Object
   log4net.Util.ContextPropertiesBase
      log4net.Util.GlobalContextProperties
      log4net.Util.LogicalThreadContextProperties
      log4net.Util.ThreadContextProperties

[Visual Basic]
MustInherit Public Class ContextPropertiesBase
[C#]
public abstract class ContextPropertiesBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This class defines a basic property get set accessor

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ContextPropertiesBase Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBaseConstructor.html0000644000175000017500000000334110412737526031134 0ustar slomoslomo FileAppender.LockingModelBase Constructor
log4net SDK Reference

FileAppender.LockingModelBase Constructor 

Initializes a new instance of the FileAppender.LockingModelBase class.

[Visual Basic]
Protected Sub New()
[C#]
protected FileAppender.LockingModelBase();

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLogMethods.html0000644000175000017500000001055310412737560023056 0ustar slomoslomo LogLog Methods
log4net SDK Reference

LogLog Methods

The methods of the LogLog class are listed below. For a complete list of LogLog class members, see the LogLog Members topic.

Public Static (Shared) Methods

DebugOverloaded. Writes log4net internal debug messages to the standard output stream.
ErrorOverloaded. Writes log4net internal error messages to the standard error stream.
WarnOverloaded. Writes log4net internal warning messages to the standard error stream.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overload_2.html0000644000175000017500000000772710412737556027617 0ustar slomoslomo Logger.Log Method (Type, Level, Object, Exception)
log4net SDK Reference

Logger.Log Method (Type, Level, Object, Exception)

This generic form is intended to be used by wrappers.

[Visual Basic]
Overridable Overloads Public Sub Log( _
   ByVal callerStackBoundaryDeclaringType As Type, _
   ByVal level As Level, _
   ByVal message As Object, _
   ByVal exception As Exception _
) _
    Implements ILogger.Log
[C#]
public virtual void Log(
   Type callerStackBoundaryDeclaringType,
   Level level,
   object message,
   Exception exception
);

Parameters

callerStackBoundaryDeclaringType
The declaring type of the method that is the stack boundary into the logging system for this call.
level
The level of the message to be logged.
message
The message object to log.
exception
The exception to log, including its stack trace.

Implements

ILogger.Log

Remarks

Generate a logging event for the specified level using the message and exception.

This method must not throw any exception to the caller.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.Log Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Item.html0000644000175000017500000000743410412737560024374 0ustar slomoslomo Item Property
log4net SDK Reference

EmptyDictionary.Item Property

Gets or sets the element with the specified key.

[Visual Basic]
NotOverridable Public Default Property Item( _
   ByVal key As Object _
) _
    Implements IDictionary.Item
 As Object _
    Implements IDictionary.Item
[C#]
public object this[
   object key
] {get; set;}

Parameters

key
The key of the element to get or set.

Property Value

null

Implements

IDictionary.Item

Remarks

As the collection is empty no values can be looked up or stored. If the index getter is called then null is returned. A InvalidOperationException is thrown if the setter is called.

Exceptions

Exception TypeCondition
InvalidOperationExceptionThis dictionary is always empty and cannot be modified.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapterProperties.html0000644000175000017500000000543510412737564026055 0ustar slomoslomo TextWriterAdapter Properties
log4net SDK Reference

TextWriterAdapter Properties

The properties of the TextWriterAdapter class are listed below. For a complete list of TextWriterAdapter class members, see the TextWriterAdapter Members topic.

Public Instance Properties

Encoding The Encoding in which the output is written
FormatProvider Gets an object that controls formatting
NewLine Gets or sets the line terminator string used by the TextWriter

Protected Instance Properties

Writer Gets or sets the underlying TextWriter.

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.ConversionPattern.html0000644000175000017500000000374210412737550027205 0ustar slomoslomo ConversionPattern Property
log4net SDK Reference

PatternLayout.ConversionPattern Property

The pattern formatting string

[Visual Basic]
Public Property ConversionPattern As String
[C#]
public string ConversionPattern {get; set;}

Remarks

The ConversionPattern option. This is the string which controls formatting and consists of a mix of literal content and conversion specifiers.

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionaryMethods.html0000644000175000017500000001244610412737560025022 0ustar slomoslomo EmptyDictionary Methods
log4net SDK Reference

EmptyDictionary Methods

The methods of the EmptyDictionary class are listed below. For a complete list of EmptyDictionary class members, see the EmptyDictionary Members topic.

Public Instance Methods

Add Adds an element with the provided key and value to the EmptyDictionary.
Clear Removes all elements from the EmptyDictionary.
Contains Determines whether the EmptyDictionary contains an element with the specified key.
CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through a collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Removes the element with the specified key from the EmptyDictionary.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IErrorHandler.Error_overload_1.html0000644000175000017500000000447710412737540026233 0ustar slomoslomo IErrorHandler.Error Method (String)
log4net SDK Reference

IErrorHandler.Error Method (String)

Prints the error message passed as a parameter.

[Visual Basic]
Sub Error( _
   ByVal message As String _
)
[C#]
void Error(
   string message
);

Parameters

message
The message associated with the error.

Remarks

See Error.

See Also

IErrorHandler Interface | log4net.Core Namespace | IErrorHandler.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawPropertyLayout.Key.html0000644000175000017500000000405310412737552025131 0ustar slomoslomo Key Property
log4net SDK Reference

RawPropertyLayout.Key Property

The name of the value to lookup in the LoggingEvent Properties collection.

[Visual Basic]
Public Property Key As String
[C#]
public string Key {get; set;}

Property Value

Value to lookup in the LoggingEvent Properties collection

Remarks

String name of the property to lookup in the LoggingEvent.

See Also

RawPropertyLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.op_Inequality.html0000644000175000017500000000477010412737542024216 0ustar slomoslomo Level Inequality Operator
log4net SDK Reference

Level Inequality Operator 

Returns a value indicating whether two specified Level objects have different values.

[Visual Basic]
returnValue = Level.op_Inequality(l, r)
[C#]
public static bool operator !=(
   Level l,
   Level r
);

Parameters

l
A Level or a null reference (Nothing in Visual Basic).
r
A Level or a null reference (Nothing in Visual Basic).

Return Value

true if the value of l is different from the value of r; otherwise, false.

Remarks

Compares two levels.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.SyncRoot.html0000644000175000017500000000500510412737522026513 0ustar slomoslomo SyncRoot Property
log4net SDK Reference

AppenderCollection.SyncRoot Property

Gets an object that can be used to synchronize access to the collection.

[Visual Basic]
Overridable Public ReadOnly Property SyncRoot As Object _
    Implements ICollection.SyncRoot
[C#]
public virtual object SyncRoot {get;}

Implements

ICollection.SyncRoot

Remarks

Missing <remarks> documentation for P:log4net.Appender.AppenderCollection.SyncRoot

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandlerMembers.html0000644000175000017500000001237410412737562025725 0ustar slomoslomo OnlyOnceErrorHandler Members
log4net SDK Reference

OnlyOnceErrorHandler Members

OnlyOnceErrorHandler overview

Public Instance Constructors

OnlyOnceErrorHandler Overloaded. Initializes a new instance of the OnlyOnceErrorHandler class.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ErrorOverloaded. Log an error
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.SecurityContextProviderAttribute.html0000644000175000017500000000627210412737540027413 0ustar slomoslomo SecurityContextProviderAttribute Class
log4net SDK Reference

SecurityContextProviderAttribute Class

Assembly level attribute to configure the SecurityContextProvider.

For a list of all members of this type, see SecurityContextProviderAttribute Members.

System.Object
   System.Attribute
      log4net.Config.ConfiguratorAttribute
         log4net.Config.SecurityContextProviderAttribute

[Visual Basic]
NotInheritable Public Class SecurityContextProviderAttribute
    Inherits ConfiguratorAttribute
[C#]
public sealed class SecurityContextProviderAttribute : ConfiguratorAttribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This attribute may only be used at the assembly scope and can only be used once per assembly.

Use this attribute to configure the XmlConfigurator without calling one of the Configure methods.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

SecurityContextProviderAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.HierarchyConstructor3.html0000644000175000017500000000446110412737556030003 0ustar slomoslomo Hierarchy Constructor (ILoggerFactory)
log4net SDK Reference

Hierarchy Constructor (ILoggerFactory)

Construct with a logger factory

[Visual Basic]
Overloads Public Sub New( _
   ByVal loggerFactory As ILoggerFactory _
)
[C#]
public Hierarchy(
   ILoggerFactory loggerFactory
);

Parameters

loggerFactory
The factory to use to create new logger instances.

Remarks

Initializes a new instance of the Hierarchy class with the specified ILoggerFactory.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace | Hierarchy Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.RemoveAt.html0000644000175000017500000000637610412737522026471 0ustar slomoslomo AppenderCollection.RemoveAt Method
log4net SDK Reference

AppenderCollection.RemoveAt Method 

Removes the element at the specified index of the AppenderCollection.

[Visual Basic]
Overridable Public Sub RemoveAt( _
   ByVal index As Integer _
)
[C#]
public virtual void RemoveAt(
   int index
);

Parameters

index
The zero-based index of the element to remove.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.RemoveAt(System.Int32)

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColorsProperties.html0000644000175000017500000000502210412737524032061 0ustar slomoslomo ColoredConsoleAppender.LevelColors Properties
log4net SDK Reference

ColoredConsoleAppender.LevelColors Properties

The properties of the ColoredConsoleAppender.LevelColors class are listed below. For a complete list of ColoredConsoleAppender.LevelColors class members, see the ColoredConsoleAppender.LevelColors Members topic.

Public Instance Properties

BackColor The mapped background color for the specified level
ForeColor The mapped foreground color for the specified level
Level (inherited from LevelMappingEntry) The level that is the key for this mapping

See Also

ColoredConsoleAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Name.html0000644000175000017500000000420010412737556025621 0ustar slomoslomo Name Property
log4net SDK Reference

Logger.Name Property

Gets the logger name.

[Visual Basic]
Overridable Public ReadOnly Property Name As String _
    Implements ILogger.Name
[C#]
public virtual string Name {get;}

Property Value

The name of the logger.

Implements

ILogger.Name

Remarks

The name of this logger

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.html0000644000175000017500000000721710412737552024146 0ustar slomoslomo PluginCollection Class
log4net SDK Reference

PluginCollection Class

A strongly-typed collection of IPlugin objects.

For a list of all members of this type, see PluginCollection Members.

System.Object
   log4net.Plugin.PluginCollection

[Visual Basic]
Public Class PluginCollection
    Implements IList, ICollection, IEnumerable, ICloneable
[C#]
public class PluginCollection : IList, ICollection, IEnumerable, ICloneable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Missing <remarks> documentation for T:log4net.Plugin.PluginCollection

Requirements

Namespace: log4net.Plugin

Assembly: log4net (in log4net.dll)

See Also

PluginCollection Members | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppenderConstructor.html0000644000175000017500000000327510412737530030553 0ustar slomoslomo OutputDebugStringAppender Constructor
log4net SDK Reference

OutputDebugStringAppender Constructor 

Initializes a new instance of the OutputDebugStringAppender class.

[Visual Basic]
Public Sub New()
[C#]
public OutputDebugStringAppender();

Remarks

Default constructor.

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorAttributeMembers.html0000644000175000017500000001660110412737540027157 0ustar slomoslomo XmlConfiguratorAttribute Members
log4net SDK Reference

XmlConfiguratorAttribute Members

XmlConfiguratorAttribute overview

Public Instance Constructors

XmlConfiguratorAttribute Constructor Default constructor

Public Instance Properties

ConfigFile Gets or sets the filename of the configuration file.
ConfigFileExtension Gets or sets the extension of the configuration file.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.
Watch Gets or sets a value indicating whether to watch the configuration file.

Public Instance Methods

CompareTo (inherited from ConfiguratorAttribute) Compare this instance to another ConfiguratorAttribute
Configure Configures the ILoggerRepository for the specified assembly.
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.html0000644000175000017500000001514010412737532025051 0ustar slomoslomo RollingFileAppender Class
log4net SDK Reference

RollingFileAppender Class

Appender that rolls log files based on size or date or both.

For a list of all members of this type, see RollingFileAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.TextWriterAppender
         log4net.Appender.FileAppender
            log4net.Appender.RollingFileAppender

[Visual Basic]
Public Class RollingFileAppender
    Inherits FileAppender
[C#]
public class RollingFileAppender : FileAppender

Thread Safety

This type is not safe for multithreaded operations.

Remarks

RollingFileAppender can roll log files based on size or date or both depending on the setting of the RollingStyle property. When set to Size the log file will be rolled once its size exceeds the MaximumFileSize. When set to Date the log file will be rolled once the date boundary specified in the DatePattern property is crossed. When set to Composite the log file will be rolled once the date boundary specified in the DatePattern property is crossed, but within a date boundary the file will also be rolled once its size exceeds the MaximumFileSize. When set to Once the log file will be rolled when the appender is configured. This effectively means that the log file can be rolled once per program execution.

A of few additional optional features have been added:

Note   

For large or infinite numbers of backup files a CountDirection greater than zero is highly recommended, otherwise all the backup files need to be renamed each time a new backup is created.

When Date/Time based rolling is used setting StaticLogFileName to true will reduce the number of file renamings to few or none.

CAUTION   

Changing StaticLogFileName or CountDirection without clearing the log file directory of backup files will cause unexpected and unwanted side effects.

If Date/Time based rolling is enabled this appender will attempt to roll existing files in the directory without a Date/Time tag based on the last write date of the base log file. The appender only rolls the log file when a message is logged. If Date/Time based rolling is enabled then the appender will not roll the log file at the Date/Time boundary but at the point when the next message is logged after the boundary has been crossed.

The RollingFileAppender extends the FileAppender and has the same behavior when opening the log file. The appender will first try to open the file for writing when ActivateOptions is called. This will typically be during configuration. If the file cannot be opened for writing the appender will attempt to open the file again each time a message is logged to the appender. If the file cannot be opened for writing when a message is logged then the message will be discarded by this appender.

When rolling a backup file necessitates deleting an older backup file the file to be deleted is moved to a temporary name before being deleted.

CAUTION   

A maximum number of backup files when rolling on date/time boundaries is not supported.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

RollingFileAppender Members | log4net.Appender Namespace


././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders_overload_1.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders_overload_1.ht0000644000175000017500000000511110412737556032345 0ustar slomoslomo AppenderAttachedImpl.AppendLoopOnAppenders Method (LoggingEvent)
log4net SDK Reference

AppenderAttachedImpl.AppendLoopOnAppenders Method (LoggingEvent)

Append on on all attached appenders.

[Visual Basic]
Overloads Public Function AppendLoopOnAppenders( _
   ByVal loggingEvent As LoggingEvent _
) As Integer
[C#]
public int AppendLoopOnAppenders(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event being logged.

Return Value

The number of appenders called.

Remarks

Calls the DoAppend method on all attached appenders.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace | AppenderAttachedImpl.AppendLoopOnAppenders Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.Exists.html0000644000175000017500000000520610412737554030115 0ustar slomoslomo LoggerRepositorySkeleton.Exists Method
log4net SDK Reference

LoggerRepositorySkeleton.Exists Method 

Test if logger exists

[Visual Basic]
MustOverride Public Function Exists( _
   ByVal name As String _
) As ILogger _
    Implements ILoggerRepository.Exists
[C#]
public abstract ILogger Exists(
   string name
);

Parameters

name
The name of the logger to lookup

Return Value

The Logger object with the name specified

Implements

ILoggerRepository.Exists

Remarks

Check if the named logger exists in the repository. If so return its reference, otherwise returns null.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.IDateFormatter.FormatDate.html0000644000175000017500000000564110412737546027100 0ustar slomoslomo IDateFormatter.FormatDate Method
log4net SDK Reference

IDateFormatter.FormatDate Method 

Formats the specified date as a string.

[Visual Basic]
Sub FormatDate( _
   ByVal dateToFormat As Date, _
   ByVal writer As TextWriter _
)
[C#]
void FormatDate(
   DateTime dateToFormat,
   TextWriter writer
);

Parameters

dateToFormat
The date to format.
writer
The writer to write to.

Remarks

Format the DateTime as a string and write it to the TextWriter provided.

See Also

IDateFormatter Interface | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.LevelColorsMembers.html0000644000175000017500000001456210412737524031330 0ustar slomoslomo ColoredConsoleAppender.LevelColors Members
log4net SDK Reference

ColoredConsoleAppender.LevelColors Members

ColoredConsoleAppender.LevelColors overview

Public Instance Constructors

ColoredConsoleAppender.LevelColors Constructor Initializes a new instance of the ColoredConsoleAppender.LevelColors class.

Public Instance Properties

BackColor The mapped background color for the specified level
ForeColor The mapped foreground color for the specified level
Level (inherited from LevelMappingEntry) The level that is the key for this mapping

Public Instance Methods

ActivateOptions Initialize the options for the object
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ColoredConsoleAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollection.IsSynchronized.html0000644000175000017500000000560410412737560026434 0ustar slomoslomo IsSynchronized Property
log4net SDK Reference

EmptyCollection.IsSynchronized Property

Gets a value indicating if access to the ICollection is synchronized (thread-safe).

[Visual Basic]
NotOverridable Public ReadOnly Property IsSynchronized As Boolean _
    Implements ICollection.IsSynchronized
[C#]
public bool IsSynchronized {get;}

Property Value

true if access to the ICollection is synchronized (thread-safe); otherwise, false.

Implements

ICollection.IsSynchronized

Remarks

For the EmptyCollection this property is always true.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.IRawLayout.Format.html0000644000175000017500000000441710412737550024177 0ustar slomoslomo IRawLayout.Format Method
log4net SDK Reference

IRawLayout.Format Method 

Implement this method to create your own layout format.

[Visual Basic]
Function Format( _
   ByVal loggingEvent As LoggingEvent _
) As Object
[C#]
object Format(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to format

Return Value

returns the formatted event

Remarks

Implement this method to create your own layout format.

See Also

IRawLayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.Properties.html0000644000175000017500000000360010412737554027372 0ustar slomoslomo Properties Property
log4net SDK Reference

ILoggerRepository.Properties Property

Repository specific properties

[Visual Basic]
Property Properties As PropertiesDictionary
[C#]
log4net.Util.PropertiesDictionary Properties {get;}

Property Value

Repository specific properties

Remarks

These properties can be specified on a repository specific basis.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.InnerHashtable.html0000644000175000017500000000411710412737564031060 0ustar slomoslomo InnerHashtable Property
log4net SDK Reference

ReadOnlyPropertiesDictionary.InnerHashtable Property

The hashtable used to store the properties

[Visual Basic]
Protected ReadOnly Property InnerHashtable As Hashtable
[C#]
protected System.Collections.Hashtable InnerHashtable {get;}

Property Value

The internal collection used to store the properties

Remarks

The hashtable used to store the properties

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttribute.ToString.html0000644000175000017500000000423310412737540025525 0ustar slomoslomo PluginAttribute.ToString Method
log4net SDK Reference

PluginAttribute.ToString Method 

Returns a representation of the properties of this object.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

Return Value

A representation of the properties of this object

Remarks

Overrides base class ToString method to return a representation of the properties of this object.

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/puboperator.gif0000644000175000017500000000154010412737506020217 0ustar slomoslomoGIF89a÷ÿÿÿ ÿÿÿ!ù,@=H° Áƒ T@€Ã‡>tØPbˆ N¤h±bF† ;fô(¡Â7ªä8²%IÊt)0 ;log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Fix.html0000644000175000017500000000407210412737522027005 0ustar slomoslomo Fix Property
log4net SDK Reference

BufferingAppenderSkeleton.Fix Property

Gets or sets a the fields that will be fixed in the event

[Visual Basic]
Overridable Public Property Fix As FixFlags
[C#]
public virtual log4net.Core.FixFlags Fix {get; set;}

Property Value

The event fields that will be fixed before the event is buffered

Remarks

The logging event needs to have certain thread specific values captured before it can be buffered. See Fix for details.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace | Fix


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Fine.html0000644000175000017500000000356510412737542022256 0ustar slomoslomo Level.Fine Field
log4net SDK Reference

Level.Fine Field

The Fine level designates fine-grained informational events that are most useful to debug an application.

[Visual Basic]
Public Shared ReadOnly Fine As Level
[C#]
public static readonly Level Fine;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Fine

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderConstructor.html0000644000175000017500000000336010412737520026261 0ustar slomoslomo AdoNetAppender Constructor
log4net SDK Reference

AdoNetAppender Constructor 

Initializes a new instance of the AdoNetAppender class.

[Visual Basic]
Public Sub New()
[C#]
public AdoNetAppender();

Remarks

Public default constructor to initialize a new instance of this class.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.RequiresLayout.html0000644000175000017500000000415110412737524030552 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

ColoredConsoleAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.ConfigureAndWatch_overload_1.html0000644000175000017500000000701510412737536031310 0ustar slomoslomo DOMConfigurator.ConfigureAndWatch Method (FileInfo)
log4net SDK Reference

DOMConfigurator.ConfigureAndWatch Method (FileInfo)

NOTE: This method is now obsolete.

Use XmlConfigurator.ConfigureAndWatch instead of DOMConfigurator.ConfigureAndWatch


Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

[Visual Basic]
Overloads Public Shared Sub ConfigureAndWatch( _
   ByVal configFile As FileInfo _
)
[C#]
public static void ConfigureAndWatch(
   FileInfo configFile
);

Parameters

configFile
The XML file to load the configuration from.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

The configuration file must be valid XML. It must contain at least one element called log4net that holds the configuration data.

The configuration file will be monitored using a FileSystemWatcher and depends on the behavior of that class.

For more information on how to configure log4net using a separate configuration file, see Configure.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.ConfigureAndWatch Overload List | Configure


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.ConfigurationFileLocation.html0000644000175000017500000000501310412737564027545 0ustar slomoslomo ConfigurationFileLocation Property
log4net SDK Reference

SystemInfo.ConfigurationFileLocation Property

Gets the path to the configuration file for the current AppDomain.

[Visual Basic]
Public Shared ReadOnly Property ConfigurationFileLocation As String
[C#]
public static string ConfigurationFileLocation {get;}

Property Value

The path to the configuration file for the current AppDomain.

Remarks

The .NET Compact Framework 1.0 does not have a concept of a configuration file. For this runtime, we use the entry assembly location as the root for the configuration file name.

The value returned may be either a local file path or a URI.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ConvertToFullPath.html0000644000175000017500000000503210412737526027106 0ustar slomoslomo FileAppender.ConvertToFullPath Method
log4net SDK Reference

FileAppender.ConvertToFullPath Method 

Convert a path into a fully qualified path.

[Visual Basic]
Protected Shared Function ConvertToFullPath( _
   ByVal path As String _
) As String
[C#]
protected static string ConvertToFullPath(
   string path
);

Parameters

path
The path to convert.

Return Value

The fully qualified path.

Remarks

Converts the path specified to a fully qualified path. If the path is relative it is taken as relative from the application base directory.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawPropertyLayoutMembers.html0000644000175000017500000001322610412737552025717 0ustar slomoslomo RawPropertyLayout Members
log4net SDK Reference

RawPropertyLayout Members

RawPropertyLayout overview

Public Instance Constructors

RawPropertyLayout Constructor Constructs a RawPropertyLayout

Public Instance Properties

Key The name of the value to lookup in the LoggingEvent Properties collection.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Lookup the property for Key
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawPropertyLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullSecurityContext.Impersonate.html0000644000175000017500000000474610412737562026654 0ustar slomoslomo NullSecurityContext.Impersonate Method
log4net SDK Reference

NullSecurityContext.Impersonate Method 

Impersonate this SecurityContext

[Visual Basic]
Overrides Public Function Impersonate( _
   ByVal state As Object _
) As IDisposable
[C#]
public override IDisposable Impersonate(
   object state
);

Parameters

state
State supplied by the caller

Return Value

null

Remarks

No impersonation is done and null is always returned.

See Also

NullSecurityContext Class | log4net.Util Namespace


././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.RemoveAppender_overload_1.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.RemoveAppender_overload_0000644000175000017500000000611310412737524032600 0ustar slomoslomo BufferingForwardingAppender.RemoveAppender Method (String)
log4net SDK Reference

BufferingForwardingAppender.RemoveAppender Method (String)

Removes the appender with the specified name from the list of appenders.

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual IAppender RemoveAppender(
   string name
);

Parameters

name
The name of the appender to remove.

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace | BufferingForwardingAppender.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/privmethod.gif0000644000175000017500000000161410412737506020040 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@iÿ H°à@| (ÐoaèÇ!D|ÿh<1¢Ç;~ I±!€Sb©Q Æ09~œ™‘¦Ä’"ÿaL˜qbņ:Q¢Ä¸°aÇAa๰©Î‚9kºüÇQéG|³F%;log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.Append_overloads.html0000644000175000017500000000407410412737520031515 0ustar slomoslomo Append Method
log4net SDK Reference

AnsiColorTerminalAppender.Append Method

This method is called by the DoAppend method.

Overload List

This method is called by the DoAppend method.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.SecurityContext.html0000644000175000017500000000421710412737520027170 0ustar slomoslomo SecurityContext Property
log4net SDK Reference

AdoNetAppender.SecurityContext Property

Gets or sets the SecurityContext used to call the NetSend method.

[Visual Basic]
Public Property SecurityContext As SecurityContext
[C#]
public log4net.Core.SecurityContext SecurityContext {get; set;}

Property Value

The SecurityContext used to call the NetSend method.

Remarks

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLock.html0000644000175000017500000000545410412737526026313 0ustar slomoslomo FileAppender.ExclusiveLock Class
log4net SDK Reference

FileAppender.ExclusiveLock Class

Hold an exclusive lock on the output file

For a list of all members of this type, see FileAppender.ExclusiveLock Members.

System.Object
   log4net.Appender.FileAppender.LockingModelBase
      log4net.Appender.FileAppender.ExclusiveLock

[Visual Basic]
Public Class FileAppender.ExclusiveLock
    Inherits LockingModelBase
[C#]
public class FileAppender.ExclusiveLock : LockingModelBase

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Open the file once for writing and hold it open until CloseFile is called. Maintains an exclusive lock on the file during this time.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

FileAppender.ExclusiveLock Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeleton.ContentType.html0000644000175000017500000000455510412737550026150 0ustar slomoslomo ContentType Property
log4net SDK Reference

LayoutSkeleton.ContentType Property

The content type output by this layout.

[Visual Basic]
Overridable Public ReadOnly Property ContentType As String _
    Implements ILayout.ContentType
[C#]
public virtual string ContentType {get;}

Property Value

The content type is "text/plain"

Implements

ILayout.ContentType

Remarks

The content type output by this layout.

This base class uses the value "text/plain". To change this value a subclass must override this property.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.Value.html0000644000175000017500000000760110412737562026426 0ustar slomoslomo Value Property
log4net SDK Reference

NullDictionaryEnumerator.Value Property

Gets the current value from the enumerator.

[Visual Basic]
NotOverridable Public ReadOnly Property Value As Object _
    Implements IDictionaryEnumerator.Value
[C#]
public object Value {get;}

Property Value

The current value from the enumerator.

Implements

IDictionaryEnumerator.Value

Remarks

Throws an InvalidOperationException because the NullDictionaryEnumerator never has a current value.

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore Value will throw an InvalidOperationException.

Exceptions

Exception Type Condition
InvalidOperationException The collection is empty and Current cannot be positioned over a valid location.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.RemoteLoggingServerPluginConstructor1.html0000644000175000017500000000367410412737554030340 0ustar slomoslomo RemoteLoggingServerPlugin Constructor ()
log4net SDK Reference

RemoteLoggingServerPlugin Constructor ()

Default constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public RemoteLoggingServerPlugin();

Remarks

Initializes a new instance of the RemoteLoggingServerPlugin class.

The SinkUri property must be set.

See Also

RemoteLoggingServerPlugin Class | log4net.Plugin Namespace | RemoteLoggingServerPlugin Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasDomainAttributeConstructor.html0000644000175000017500000000456410412737536027162 0ustar slomoslomo AliasDomainAttribute Constructor
log4net SDK Reference

AliasDomainAttribute Constructor 

Initializes a new instance of the AliasDomainAttribute class with the specified domain to alias to this assembly's repository.

[Visual Basic]
Public Sub New( _
   ByVal name As String _
)
[C#]
public AliasDomainAttribute(
   string name
);

Parameters

name
The domain to alias to this assemby's repository.

Remarks

Obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.

See Also

AliasDomainAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLogger_overload_1.html0000644000175000017500000000513310412737520025432 0ustar slomoslomo LogManager.GetLogger Method (String)
log4net SDK Reference

LogManager.GetLogger Method (String)

Retrieves or creates a named logger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal name As String _
) As ILog
[C#]
public static ILog GetLogger(
   string name
);

Parameters

name
The name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Retrieves a logger named as the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.

By default, loggers do not have a set level but inherit it from the hierarchy. This is one of the central features of log4net.

See Also

LogManager Class | log4net Namespace | LogManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.TimeStamp.html0000644000175000017500000000372510412737544024621 0ustar slomoslomo TimeStamp Property
log4net SDK Reference

LoggingEvent.TimeStamp Property

Gets the time of the logging event.

[Visual Basic]
Public ReadOnly Property TimeStamp As Date
[C#]
public System.DateTime TimeStamp {get;}

Property Value

The time of the logging event.

Remarks

The TimeStamp is stored in the local time zone for this computer.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.NullText.html0000644000175000017500000000420110412737564024222 0ustar slomoslomo NullText Property
log4net SDK Reference

SystemInfo.NullText Property

Text to output when a null is encountered.

[Visual Basic]
Public Shared Property NullText As String
[C#]
public static string NullText {get; set;}

Remarks

Use this value to indicate a null has been encountered while outputting a string representation of an item.

The default value is (null). This value can be overridden by specifying a value for the log4net.NullText appSetting in the application's .config file.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.StaticLogFileName.html0000644000175000017500000000466510412737532030354 0ustar slomoslomo StaticLogFileName Property
log4net SDK Reference

RollingFileAppender.StaticLogFileName Property

Gets or sets a value indicating whether to always log to the same file.

[Visual Basic]
Public Property StaticLogFileName As Boolean
[C#]
public bool StaticLogFileName {get; set;}

Property Value

true if always should be logged to the same file, otherwise false.

Remarks

By default file.log is always the current file. Optionally file.log.yyyy-mm-dd for current formatted datePattern can by the currently logging file (or file.log.curSizeRollBackup or even file.log.yyyy-mm-dd.curSizeRollBackup).

This will make time based rollovers with a large number of backups much faster as the appender it won't have to rename all the backups!

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttributeConstructor2.html0000644000175000017500000000451510412737540027231 0ustar slomoslomo RepositoryAttribute Constructor (String)
log4net SDK Reference

RepositoryAttribute Constructor (String)

Initialize a new instance of the RepositoryAttribute class with the name of the repository.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String _
)
[C#]
public RepositoryAttribute(
   string name
);

Parameters

name
The name of the repository.

Remarks

Initialize the attribute with the name for the assembly's repository.

See Also

RepositoryAttribute Class | log4net.Config Namespace | RepositoryAttribute Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.UserNameProperty.html0000644000175000017500000000413410412737544026175 0ustar slomoslomo LoggingEvent.UserNameProperty Field
log4net SDK Reference

LoggingEvent.UserNameProperty Field

The key into the Properties map for the user name value.

[Visual Basic]
Public Const UserNameProperty As String = "log4net:UserName"
[C#]
public const string UserNameProperty = "log4net:UserName";

Remarks

Missing <remarks> documentation for F:log4net.Core.LoggingEvent.UserNameProperty

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IAppenderProperties.html0000644000175000017500000000350110412737530025104 0ustar slomoslomo IAppender Properties
log4net SDK Reference

IAppender Properties

The properties of the IAppender interface are listed below. For a complete list of IAppender interface members, see the IAppender Members topic.

Public Instance Properties

Name Gets or sets the name of this appender.

See Also

IAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.CreateRepository_overloads.html0000644000175000017500000000431710412737544030417 0ustar slomoslomo CreateRepository Method
log4net SDK Reference

LoggerManager.CreateRepository Method

Creates a repository for the specified assembly and repository type.

Overload List

Creates a repository for the specified assembly and repository type.

public static ILoggerRepository CreateRepository(Assembly,Type);

Creates a repository with the specified name.

public static ILoggerRepository CreateRepository(string);

Creates a repository with the specified name and repository type.

public static ILoggerRepository CreateRepository(string,Type);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeletonProperties.html0000644000175000017500000000472310412737550025747 0ustar slomoslomo LayoutSkeleton Properties
log4net SDK Reference

LayoutSkeleton Properties

The properties of the LayoutSkeleton class are listed below. For a complete list of LayoutSkeleton class members, see the LayoutSkeleton Members topic.

Public Instance Properties

ContentType The content type output by this layout.
Footer The footer for the layout format.
Header The header for the layout format.
IgnoresException Flag indicating if this layout handles exceptions

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.ActivateOptions.html0000644000175000017500000000412410412737520031340 0ustar slomoslomo AnsiColorTerminalAppender.ActivateOptions Method
log4net SDK Reference

AnsiColorTerminalAppender.ActivateOptions Method 

Initialize the options for this appender

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Initialize the level to color mappings set on this appender.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStackMethods.html0000644000175000017500000000742610412737564025446 0ustar slomoslomo ThreadContextStack Methods
log4net SDK Reference

ThreadContextStack Methods

The methods of the ThreadContextStack class are listed below. For a complete list of ThreadContextStack class members, see the ThreadContextStack Members topic.

Public Instance Methods

Clear Clears all the contextual information held in this stack.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Pop Removes the top context from this stack.
Push Pushes a new context message into this stack.
ToString Gets the current context information for this stack.

See Also

ThreadContextStack Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.Append_overload_1.html0000644000175000017500000000443110412737530030265 0ustar slomoslomo ForwardingAppender.Append Method (LoggingEvent[])
log4net SDK Reference

ForwardingAppender.Append Method (LoggingEvent[])

Forward the logging events to the attached appenders

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvents As LoggingEvent() _
)
[C#]
protected override void Append(
   LoggingEvent[] loggingEvents
);

Parameters

loggingEvents
The array of events to log.

Remarks

Delivers the logging events to all the attached appenders.

See Also

ForwardingAppender Class | log4net.Appender Namespace | ForwardingAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.Get_overload_2.html0000644000175000017500000000505510412737552027367 0ustar slomoslomo RendererMap.Get Method (Type)
log4net SDK Reference

RendererMap.Get Method (Type)

Gets the renderer for the specified type

[Visual Basic]
Overloads Public Function Get( _
   ByVal type As Type _
) As IObjectRenderer
[C#]
public IObjectRenderer Get(
   Type type
);

Parameters

type
the type to lookup the renderer for

Return Value

the renderer for the specified type

Remarks

Returns the renderer for the specified type. If no specific renderer has been defined the DefaultRenderer will be returned.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace | RendererMap.Get Overload List


log4net-1.2.10/doc/release/sdk/protmethod.gif0000644000175000017500000000161410412737506020044 0ustar slomoslomoGIF89a÷ÿÿÿÿÿ€€ÿÿÿÿ ÏÏÏÈÈÈÀÀÀžžž<<< ÿÿÿ!ù,@iH° Á`€€† Ð@€C‡È8±cEŽ+°ø0cƒ@Ø eÈ ;Œ’$Çà¤8ò¢„ 5Ѐ¨Ã‘ M& °å€¤‹@ 4äTšÈ ;log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderMembers.html0000644000175000017500000004070310412737520025330 0ustar slomoslomo AdoNetAppender Members
log4net SDK Reference

AdoNetAppender Members

AdoNetAppender overview

Public Instance Constructors

AdoNetAppender Constructor Initializes a new instance of the AdoNetAppender class.

Public Instance Properties

BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
CommandText Gets or sets the command text that is used to insert logging events into the database.
CommandType Gets or sets the command type to execute.
ConnectionString Gets or sets the database connection string that is used to connect to the database.
ConnectionType Gets or sets the type name of the IDbConnection connection that should be created.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
ReconnectOnError Should this appender try to reconnect to the database on error.
SecurityContext Gets or sets the SecurityContext used to call the NetSend method.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
UseTransactions Should transactions be used to insert logging events in the database.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddParameter Adds a parameter to the command.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_parameters The list of AdoNetAppenderParameter objects.
m_usePreparedCommand Flag to indicate if we are using a command object

Protected Instance Properties

Connection Gets or sets the underlying IDbConnection.
RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetLogStatement Formats the log message into database statement text.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Override the parent method to close the database
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
ResolveConnectionType Retrieves the class type of the ADO.NET provider.
SendBufferOverloaded. Writes the events to the database using the transaction specified.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILoggerWrapper.Logger.html0000644000175000017500000000407010412737540024424 0ustar slomoslomo Logger Property
log4net SDK Reference

ILoggerWrapper.Logger Property

Get the implementation behind this wrapper object.

[Visual Basic]
Property Logger As ILogger
[C#]
ILogger Logger {get;}

Property Value

The ILogger object that in implementing this object.

Remarks

The ILogger object that in implementing this object. The Logger object may not be the same object as this object because of logger decorators. This gets the actual underlying objects that is used to process the log events.

See Also

ILoggerWrapper Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Count.html0000644000175000017500000000530310412737560024557 0ustar slomoslomo Count Property
log4net SDK Reference

EmptyDictionary.Count Property

Gets the number of elements contained in the ICollection

[Visual Basic]
NotOverridable Public ReadOnly Property Count As Integer _
    Implements ICollection.Count
[C#]
public int Count {get;}

Property Value

The number of elements contained in the ICollection.

Implements

ICollection.Count

Remarks

As the collection is empty the Count is always 0.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionConstructor.html0000644000175000017500000000634610412737542025660 0ustar slomoslomo LevelCollection Constructor
log4net SDK Reference

LevelCollection Constructor

Initializes a new instance of the LevelCollection class that is empty and has the default initial capacity.

Overload List

Initializes a new instance of the LevelCollection class that is empty and has the default initial capacity.

public LevelCollection();

Initializes a new instance of the LevelCollection class that contains elements copied from the specified Level array.

public LevelCollection(Level[]);

Initializes a new instance of the LevelCollection class that contains elements copied from the specified LevelCollection.

public LevelCollection(LevelCollection);

Allow subclasses to avoid our default constructors

protected internal LevelCollection(Tag);

Initializes a new instance of the LevelCollection class that contains elements copied from the specified Level collection.

public LevelCollection(ICollection);

Initializes a new instance of the LevelCollection class that has the specified initial capacity.

public LevelCollection(int);

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.GetHashCode.html0000644000175000017500000000411710412737542023505 0ustar slomoslomo Level.GetHashCode Method
log4net SDK Reference

Level.GetHashCode Method 

Returns a hash code

[Visual Basic]
Overrides Public Function GetHashCode() As Integer
[C#]
public override int GetHashCode();

Return Value

A hash code for the current Level.

Remarks

Returns a hash code suitable for use in hashing algorithms and data structures like a hash table.

Returns the hash code of the level Value.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.Client.html0000644000175000017500000000541010412737536024613 0ustar slomoslomo Client Property
log4net SDK Reference

UdpAppender.Client Property

Gets or sets the underlying UdpClient.

[Visual Basic]
Protected Property Client As UdpClient
[C#]
protected System.Net.Sockets.UdpClient Client {get; set;}

Property Value

The underlying UdpClient.

Remarks

UdpAppender creates a UdpClient to send logging events over a network. Classes deriving from UdpAppender can use this property to get or set this UdpClient. Use the underlying UdpClient returned from Client if you require access beyond that which UdpAppender provides.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandler.Error_overload_2.html0000644000175000017500000000601410412737562027610 0ustar slomoslomo OnlyOnceErrorHandler.Error Method (String, Exception)
log4net SDK Reference

OnlyOnceErrorHandler.Error Method (String, Exception)

Log an Error

[Visual Basic]
NotOverridable Overloads Public Sub Error( _
   ByVal message As String, _
   ByVal e As Exception _
) _
    Implements IErrorHandler.Error
[C#]
public void Error(
   string message,
   Exception e
);

Parameters

message
The error message.
e
The exception.

Implements

IErrorHandler.Error

Remarks

Prints the message and the stack trace of the exception on the standard error output stream.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace | OnlyOnceErrorHandler.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4j.Version.html0000644000175000017500000000356610412737552026321 0ustar slomoslomo Version Property
log4net SDK Reference

XmlLayoutSchemaLog4j.Version Property

The version of the log4j schema to use.

[Visual Basic]
Public Property Version As String
[C#]
public string Version {get; set;}

Remarks

Only version 1.2 of the log4j schema is supported.

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilterProperties.html0000644000175000017500000000536110412737550026325 0ustar slomoslomo StringMatchFilter Properties
log4net SDK Reference

StringMatchFilter Properties

The properties of the StringMatchFilter class are listed below. For a complete list of StringMatchFilter class members, see the StringMatchFilter Members topic.

Public Instance Properties

AcceptOnMatch Accept when matching StringToMatch or RegexToMatch
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch Sets the regular expression to match
StringToMatch Sets the static string to match

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumerator.Current.html0000644000175000017500000000717110412737562024750 0ustar slomoslomo Current Property
log4net SDK Reference

NullEnumerator.Current Property

Gets the current object from the enumerator.

[Visual Basic]
NotOverridable Public ReadOnly Property Current As Object _
    Implements IEnumerator.Current
[C#]
public object Current {get;}

Implements

IEnumerator.Current

Remarks

Throws an InvalidOperationException because the NullDictionaryEnumerator never has a current value.

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore Current will throw an InvalidOperationException.

Exceptions

Exception Type Condition
InvalidOperationException The collection is empty and Current cannot be positioned over a valid location.

See Also

NullEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStack.html0000644000175000017500000000501610412737564024113 0ustar slomoslomo ThreadContextStack Class
log4net SDK Reference

ThreadContextStack Class

Implementation of Stack for the ThreadContext

For a list of all members of this type, see ThreadContextStack Members.

System.Object
   log4net.Util.ThreadContextStack

[Visual Basic]
NotInheritable Public Class ThreadContextStack
    Implements IFixingRequired
[C#]
public sealed class ThreadContextStack : IFixingRequired

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Implementation of Stack for the ThreadContext

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ThreadContextStack Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppenderConstructor.html0000644000175000017500000000601510412737534027235 0ustar slomoslomo TextWriterAppender Constructor
log4net SDK Reference

TextWriterAppender Constructor

Initializes a new instance of the TextWriterAppender class.

Overload List

Initializes a new instance of the TextWriterAppender class.

public TextWriterAppender();

Obsolete. Initializes a new instance of the TextWriterAppender class and sets the output destination to a new StreamWriter initialized with the specified Stream.

public TextWriterAppender(ILayout,Stream);

Obsolete. Initializes a new instance of the TextWriterAppender class and sets the output destination to the specified StreamWriter.

public TextWriterAppender(ILayout,TextWriter);

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.WriteFooter.html0000644000175000017500000000363010412737536027241 0ustar slomoslomo TextWriterAppender.WriteFooter Method
log4net SDK Reference

TextWriterAppender.WriteFooter Method 

Writes a footer as produced by the embedded layout's Footer property.

[Visual Basic]
Overridable Protected Sub WriteFooter()
[C#]
protected virtual void WriteFooter();

Remarks

Writes a footer as produced by the embedded layout's Footer property.

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilterFields.html0000644000175000017500000000506110412737550025374 0ustar slomoslomo StringMatchFilter Fields
log4net SDK Reference

StringMatchFilter Fields

The fields of the StringMatchFilter class are listed below. For a complete list of StringMatchFilter class members, see the StringMatchFilter Members topic.

Protected Instance Fields

m_acceptOnMatch Flag to indicate the behavior when we have a match
m_regexToMatch A regex object to match (generated from m_stringRegexToMatch)
m_stringRegexToMatch A string regex to match
m_stringToMatch The string to substring match against the message

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.Authentication.html0000644000175000017500000000521210412737534026545 0ustar slomoslomo Authentication Property
log4net SDK Reference

SmtpAppender.Authentication Property

The mode to use to authentication with the SMTP server

[Visual Basic]
Public Property Authentication As SmtpAuthentication
[C#]
public SmtpAppender.SmtpAuthentication Authentication {get; set;}

Remarks

CAUTION   Authentication is only available on the MS .NET 1.1 runtime.

Valid Authentication mode values are: None, Basic, and Ntlm. The default value is None. When using Basic you must specify the Username and Password to use to authenticate. When using Ntlm the Windows credentials for the current thread, if impersonating, or the process will be used to authenticate.

See Also

SmtpAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.AddConverter_overload_1.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.AddConverter_overload_10000644000175000017500000000561410412737566032601 0ustar slomoslomo ConverterRegistry.AddConverter Method (Type, Object)
log4net SDK Reference

ConverterRegistry.AddConverter Method (Type, Object)

Adds a converter for a specific type.

[Visual Basic]
Overloads Public Shared Sub AddConverter( _
   ByVal destinationType As Type, _
   ByVal converter As Object _
)
[C#]
public static void AddConverter(
   Type destinationType,
   object converter
);

Parameters

destinationType
The type being converted to.
converter
The type converter to use to convert to the destination type.

Remarks

Adds a converter instance for a specific type.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace | ConverterRegistry.AddConverter Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertTo.html0000644000175000017500000000412510412737566025402 0ustar slomoslomo IConvertTo Interface
log4net SDK Reference

IConvertTo Interface

Interface supported by type converters

For a list of all members of this type, see IConvertTo Members.

[Visual Basic]
Public Interface IConvertTo
[C#]
public interface IConvertTo

Remarks

This interface supports conversion from a single type to arbitrary types. See TypeConverterAttribute.

Requirements

Namespace: log4net.Util.TypeConverters

Assembly: log4net (in log4net.dll)

See Also

IConvertTo Members | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppenderConstructor.html0000644000175000017500000000321410412737526027215 0ustar slomoslomo ForwardingAppender Constructor
log4net SDK Reference

ForwardingAppender Constructor 

Initializes a new instance of the ForwardingAppender class.

[Visual Basic]
Public Sub New()
[C#]
public ForwardingAppender();

Remarks

Default constructor.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.InfoFormat_overloads.html0000644000175000017500000000524710412737546026016 0ustar slomoslomo InfoFormat Method
log4net SDK Reference

LogImpl.InfoFormat Method

Logs a formatted message string with the INFO level.

Overload List

Logs a formatted message string with the INFO level.

public virtual void InfoFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the INFO level.

public virtual void InfoFormat(string,object);

Logs a formatted message string with the INFO level.

public virtual void InfoFormat(string,object,object);

Logs a formatted message string with the INFO level.

public virtual void InfoFormat(string,object,object,object);

Logs a formatted message string with the INFO level.

public virtual void InfoFormat(string,params object[]);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppenderMembers.html0000644000175000017500000003237310412737532025751 0ustar slomoslomo RemotingAppender Members
log4net SDK Reference

RemotingAppender Members

RemotingAppender overview

Public Instance Constructors

RemotingAppender Constructor Initializes a new instance of the RemotingAppender class.

Public Instance Properties

BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Sink Gets or sets the URL of the well-known object that will accept the logging events.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Override base class close.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Send the contents of the buffer to the remote sink.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

RemotingAppender Class | log4net.Appender Namespace | RemotingAppender.IRemoteLoggingSink


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.ApplicationFriendlyName.html0000644000175000017500000000427010412737564027212 0ustar slomoslomo ApplicationFriendlyName Property
log4net SDK Reference

SystemInfo.ApplicationFriendlyName Property

Get this application's friendly name

[Visual Basic]
Public Shared ReadOnly Property ApplicationFriendlyName As String
[C#]
public static string ApplicationFriendlyName {get;}

Property Value

The friendly name of this application as a string

Remarks

If available the name of the application is retrieved from the AppDomain using AppDomain.CurrentDomain.FriendlyName.

Otherwise the file name of the entry assembly is used.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.IBulkAppender.html0000644000175000017500000002463110412737530023654 0ustar slomoslomo IBulkAppender Interface
log4net SDK Reference

IBulkAppender Interface

Interface for appenders that support bulk logging.

For a list of all members of this type, see IBulkAppender Members.

[Visual Basic]
Public Interface IBulkAppender
    Implements IAppender
[C#]
public interface IBulkAppender : IAppender

Types that implement IBulkAppender

Type Description
AdoNetAppender Appender that logs to a database.
AnsiColorTerminalAppender Appends logging events to the terminal using ANSI color escape sequences.
AppenderSkeleton Abstract base class implementation of IAppender.
AspNetTraceAppender

Appends log events to the ASP.NET TraceContext system.

BufferingAppenderSkeleton Abstract base class implementation of IAppender that buffers events in a fixed size buffer.
BufferingForwardingAppender Buffers events and then forwards them to attached appenders.
ColoredConsoleAppender Appends logging events to the console.
ConsoleAppender Appends logging events to the console.
DebugAppender Appends log events to the Debug system.
EventLogAppender Writes events to the system event log.
FileAppender Appends logging events to a file.
ForwardingAppender This appender forwards logging events to attached appenders.
LocalSyslogAppender Logs events to a local syslog service.
MemoryAppender Stores logging events in an array.
NetSendAppender Logs entries by sending network messages using the NetMessageBufferSend native function.
OutputDebugStringAppender Appends log events to the OutputDebugString system.
RemoteSyslogAppender Logs events to a remote syslog daemon.
RemotingAppender Delivers logging events to a remote logging sink.
RollingFileAppender Appender that rolls log files based on size or date or both.
SmtpAppender Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
SmtpPickupDirAppender Send an email when a specific logging event occurs, typically on errors or fatal errors. Rather than sending via smtp it writes a file into the directory specified by PickupDir. This allows services such as the IIS SMTP agent to manage sending the messages.
TelnetAppender Appender that allows clients to connect via Telnet to receive log messages
TextWriterAppender Sends logging events to a TextWriter.
TraceAppender Appends log events to the Trace system.
UdpAppender Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using an UdpClient.

Remarks

This interface extends the IAppender interface to support bulk logging of LoggingEvent objects. Appenders should only implement this interface if they can bulk log efficiently.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

IBulkAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.NDCMembers.html0000644000175000017500000001250210412737520021342 0ustar slomoslomo NDC Members
log4net SDK Reference

NDC Members

NDC overview

Public Static (Shared) Properties

Depth Gets the current context depth.

Public Static (Shared) Methods

Clear Clears all the contextual information held on the current thread.
CloneStack Creates a clone of the stack of context information.
Inherit Inherits the contextual information from another thread.
Pop Removes the top context from the stack.
Push Pushes a new context message.
Remove Removes the context information for this thread. It is not required to call this method.
SetMaxDepth Forces the stack depth to be at most maxDepth.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternStringConstructor1.html0000644000175000017500000000331310412737562025500 0ustar slomoslomo PatternString Constructor ()
log4net SDK Reference

PatternString Constructor ()

Default constructor

[Visual Basic]
Overloads Public Sub New()
[C#]
public PatternString();

Remarks

Initialize a new instance of PatternString

See Also

PatternString Class | log4net.Util Namespace | PatternString Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionary.Remove.html0000644000175000017500000000433110412737562025764 0ustar slomoslomo PropertiesDictionary.Remove Method
log4net SDK Reference

PropertiesDictionary.Remove Method 

Remove the entry with the specified key from this dictionary

[Visual Basic]
Public Sub Remove( _
   ByVal key As String _
)
[C#]
public void Remove(
   string key
);

Parameters

key
the key for the entry to remove

Remarks

Remove the entry with the specified key from this dictionary

See Also

PropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.StringToMatch.html0000644000175000017500000000436510412737550027000 0ustar slomoslomo StringToMatch Property
log4net SDK Reference

StringMatchFilter.StringToMatch Property

Sets the static string to match

[Visual Basic]
Public Property StringToMatch As String
[C#]
public string StringToMatch {get; set;}

Remarks

The string that will be substring matched against the rendered message. If the message contains this string then the filter will match. If a match is found then the result depends on the value of AcceptOnMatch.

One of StringToMatch or RegexToMatch must be specified.

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeletonMethods.html0000644000175000017500000001627510412737522025764 0ustar slomoslomo AppenderSkeleton Methods
log4net SDK Reference

AppenderSkeleton Methods

The methods of the AppenderSkeleton class are listed below. For a complete list of AppenderSkeleton class members, see the AppenderSkeleton Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter Adds a filter to the end of the filter chain.
ClearFilters Clears the filter list for this appender.
Close Closes the appender and release resources.
DoAppendOverloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

AppendOverloaded. Append a bulk array of logging events.
FilterEvent Test if the logging event should we output by this appender
Finalize Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck Called before Append as a precondition.
RenderLoggingEventOverloaded. Renders the LoggingEvent to a string.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppenderConstructor3.html0000644000175000017500000000664210412737534027326 0ustar slomoslomo TextWriterAppender Constructor (ILayout, TextWriter)
log4net SDK Reference

TextWriterAppender Constructor (ILayout, TextWriter)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout & Writer properties


Initializes a new instance of the TextWriterAppender class and sets the output destination to the specified StreamWriter.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal writer As TextWriter _
)
[C#]
public TextWriterAppender(
   ILayout layout,
   TextWriter writer
);

Parameters

layout
The layout to use with this appender
writer
The TextWriter to output to

Remarks

The TextWriter must have been previously opened.

Obsolete constructor.

See Also

TextWriterAppender Class | log4net.Appender Namespace | TextWriterAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingForwardingAppender.html0000644000175000017500000000651510412737524026604 0ustar slomoslomo BufferingForwardingAppender Class
log4net SDK Reference

BufferingForwardingAppender Class

Buffers events and then forwards them to attached appenders.

For a list of all members of this type, see BufferingForwardingAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.BufferingAppenderSkeleton
         log4net.Appender.BufferingForwardingAppender

[Visual Basic]
Public Class BufferingForwardingAppender
    Inherits BufferingAppenderSkeleton
    Implements IAppenderAttachable
[C#]
public class BufferingForwardingAppender : BufferingAppenderSkeleton, IAppenderAttachable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The events are buffered in this appender until conditions are met to allow the appender to deliver the events to the attached appenders. See BufferingAppenderSkeleton for the conditions that cause the buffer to be sent.

The forwarding appender can be used to specify different thresholds and filters for the same appender at different locations within the hierarchy.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

BufferingForwardingAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.CanConvertTypeTo.html0000644000175000017500000000600110412737562026710 0ustar slomoslomo OptionConverter.CanConvertTypeTo Method
log4net SDK Reference

OptionConverter.CanConvertTypeTo Method 

Checks if there is an appropriate type conversion from the source type to the target type.

[Visual Basic]
Public Shared Function CanConvertTypeTo( _
   ByVal sourceType As Type, _
   ByVal targetType As Type _
) As Boolean
[C#]
public static bool CanConvertTypeTo(
   Type sourceType,
   Type targetType
);

Parameters

sourceType
The type to convert from.
targetType
The type to convert to.

Return Value

true if there is a conversion from the source type to the target type.

Remarks

Checks if there is an appropriate type conversion from the source type to the target type.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.IBasicRepositoryConfiguratorMethods.html0000644000175000017500000000400110412737554030744 0ustar slomoslomo IBasicRepositoryConfigurator Methods
log4net SDK Reference

IBasicRepositoryConfigurator Methods

The methods of the IBasicRepositoryConfigurator interface are listed below. For a complete list of IBasicRepositoryConfigurator interface members, see the IBasicRepositoryConfigurator Members topic.

Public Instance Methods

Configure Initialize the repository using the specified appender

See Also

IBasicRepositoryConfigurator Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.ExistsRepository.html0000644000175000017500000000610510412737540031061 0ustar slomoslomo DefaultRepositorySelector.ExistsRepository Method
log4net SDK Reference

DefaultRepositorySelector.ExistsRepository Method 

Test if a named repository exists

[Visual Basic]
NotOverridable Public Function ExistsRepository( _
   ByVal repositoryName As String _
) As Boolean _
    Implements IRepositorySelector.ExistsRepository
[C#]
public bool ExistsRepository(
   string repositoryName
);

Parameters

repositoryName
the named repository to check

Return Value

true if the repository exists

Implements

IRepositorySelector.ExistsRepository

Remarks

Test if a named repository exists. Use CreateRepository to create a new repository and GetRepository to retrieve a repository.

See Also

DefaultRepositorySelector Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.PickupDir.html0000644000175000017500000000372410412737534027301 0ustar slomoslomo PickupDir Property
log4net SDK Reference

SmtpPickupDirAppender.PickupDir Property

Gets or sets the path to write the messages to.

[Visual Basic]
Public Property PickupDir As String
[C#]
public string PickupDir {get; set;}

Remarks

Gets or sets the path to write the messages to. This should be the same as that used by the agent sending the messages.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/pubproperty.gif0000644000175000017500000000157510412737506020260 0ustar slomoslomoGIF89a÷ÿÿÿ€ÈÈÈÀÀÀ€€€ ÿÿÿ!ù,@ZH° @€ÀB„hH "ØÈ±ãƈ=À¨Q`Ó 0@¡Â„ _BI³¦M‰W¶ì81¥Å– =‰¨ÁCÖœy³iÄ€;log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppender.Target.html0000644000175000017500000000432510412737524025476 0ustar slomoslomo Target Property
log4net SDK Reference

ConsoleAppender.Target Property

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

[Visual Basic]
Overridable Public Property Target As String
[C#]
public virtual string Target {get; set;}

Property Value

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

Remarks

Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemStringFormatConstructor.html0000644000175000017500000000722210412737564026444 0ustar slomoslomo SystemStringFormat Constructor
log4net SDK Reference

SystemStringFormat Constructor 

Initialise the SystemStringFormat

[Visual Basic]
Public Sub New( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
public SystemStringFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information.
format
A String containing zero or more format items.
args
An Object array containing zero or more objects to format.

Remarks

Missing <remarks> documentation for M:log4net.Util.SystemStringFormat.#ctor(System.IFormatProvider,System.String,System.Object[])

See Also

SystemStringFormat Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLoggerRepository_overload_1.html0000644000175000017500000000511410412737520027531 0ustar slomoslomo LogManager.GetLoggerRepository Method ()
log4net SDK Reference

LogManager.GetLoggerRepository Method ()

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository


Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetLoggerRepository() As ILoggerRepository
[C#]
public static ILoggerRepository GetLoggerRepository();

Return Value

The ILoggerRepository instance for the default repository.

Remarks

Gets the ILoggerRepository for the repository specified by the callers assembly (GetCallingAssembly).

See Also

LogManager Class | log4net Namespace | LogManager.GetLoggerRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.RemoveAppender_overload_1.html0000644000175000017500000000513210412737540031163 0ustar slomoslomo IAppenderAttachable.RemoveAppender Method (String)
log4net SDK Reference

IAppenderAttachable.RemoveAppender Method (String)

Removes the appender with the specified name from the list of appenders.

[Visual Basic]
Function RemoveAppender( _
   ByVal name As String _
) As IAppender
[C#]
IAppender RemoveAppender(
   string name
);

Parameters

name
The name of the appender to remove.

Return Value

The appender removed from the list

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

IAppenderAttachable Interface | log4net.Core Namespace | IAppenderAttachable.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerRepositoryCreationEventArgsConstructor.html0000644000175000017500000000435710412737544031422 0ustar slomoslomo LoggerRepositoryCreationEventArgs Constructor
log4net SDK Reference

LoggerRepositoryCreationEventArgs Constructor 

Construct instance using ILoggerRepository specified

[Visual Basic]
Public Sub New( _
   ByVal repository As ILoggerRepository _
)
[C#]
public LoggerRepositoryCreationEventArgs(
   ILoggerRepository repository
);

Parameters

repository
the ILoggerRepository that has been created

Remarks

Construct instance using ILoggerRepository specified

See Also

LoggerRepositoryCreationEventArgs Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.FileExists.html0000644000175000017500000000464710412737532027141 0ustar slomoslomo RollingFileAppender.FileExists Method
log4net SDK Reference

RollingFileAppender.FileExists Method 

Test if a file exists at a specified path

[Visual Basic]
Protected Function FileExists( _
   ByVal path As String _
) As Boolean
[C#]
protected bool FileExists(
   string path
);

Parameters

path
the path to the file

Return Value

true if the file exists

Remarks

Test if a file exists at a specified path

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.CountDirection.html0000644000175000017500000000473610412737532030012 0ustar slomoslomo CountDirection Property
log4net SDK Reference

RollingFileAppender.CountDirection Property

Gets or sets the rolling file count direction.

[Visual Basic]
Public Property CountDirection As Integer
[C#]
public int CountDirection {get; set;}

Property Value

The rolling file count direction.

Remarks

Indicates if the current file is the lowest numbered file or the highest numbered file.

By default newer files have lower numbers (CountDirection < 0), i.e. log.1 is most recent, log.5 is the 5th backup, etc...

CountDirection >= 0 does the opposite i.e. log.1 is the first backup made, log.5 is the 5th backup made, etc. For infinite backups use CountDirection >= 0 to reduce rollover costs.

The default file count direction is -1.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.OnClose.html0000644000175000017500000000367410412737522026000 0ustar slomoslomo AppenderSkeleton.OnClose Method
log4net SDK Reference

AppenderSkeleton.OnClose Method 

Is called when the appender is closed. Derived classes should override this method if resources need to be released.

[Visual Basic]
Overridable Protected Sub OnClose()
[C#]
protected virtual void OnClose();

Remarks

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.LevelSeverityProperties.html0000644000175000017500000000442510412737530031756 0ustar slomoslomo LocalSyslogAppender.LevelSeverity Properties
log4net SDK Reference

LocalSyslogAppender.LevelSeverity Properties

The properties of the LocalSyslogAppender.LevelSeverity class are listed below. For a complete list of LocalSyslogAppender.LevelSeverity class members, see the LocalSyslogAppender.LevelSeverity Members topic.

Public Instance Properties

Level (inherited from LevelMappingEntry) The level that is the key for this mapping
Severity The mapped syslog severity for the specified level

See Also

LocalSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ConversionPattern.html0000644000175000017500000000410310412737562026631 0ustar slomoslomo ConversionPattern Property
log4net SDK Reference

PatternString.ConversionPattern Property

Gets or sets the pattern formatting string

[Visual Basic]
Public Property ConversionPattern As String
[C#]
public string ConversionPattern {get; set;}

Property Value

The pattern formatting string

Remarks

The ConversionPattern option. This is the string which controls formatting and consists of a mix of literal content and conversion specifiers.

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.html0000644000175000017500000000720210412737516020263 0ustar slomoslomo ILog Interface
log4net SDK Reference

ILog Interface

The ILog interface is use by application to log messages into the log4net framework.

For a list of all members of this type, see ILog Members.

[Visual Basic]
Public Interface ILog
    Implements ILoggerWrapper
[C#]
public interface ILog : ILoggerWrapper

Types that implement ILog

Type Description
LogImpl Implementation of ILog wrapper interface.

Remarks

Use the LogManager to obtain logger instances that implement this interface. The GetLogger static method is used to get logger instances.

This class contains methods for logging at different levels and also has properties for determining if those logging levels are enabled in the current configuration.

This interface can be implemented in different ways. This documentation specifies reasonable behavior that a caller can expect from the actual implementation, however different implementations reserve the right to do things differently.

Example

Simple example of logging messages

[C#]
ILog log = LogManager.GetLogger("application-log");

log.Info("Application Start");
log.Debug("This is a debug message");

if (log.IsDebugEnabled)
{
    log.Debug("This is another debug message");
}

Requirements

Namespace: log4net

Assembly: log4net (in log4net.dll)

See Also

ILog Members | log4net Namespace | LogManager | GetLogger


log4net-1.2.10/doc/release/sdk/log4net.Layout.Layout2RawLayoutAdapterConstructor.html0000644000175000017500000000365110412737550027665 0ustar slomoslomo Layout2RawLayoutAdapter Constructor
log4net SDK Reference

Layout2RawLayoutAdapter Constructor 

Construct a new adapter

[Visual Basic]
Public Sub New( _
   ByVal layout As ILayout _
)
[C#]
public Layout2RawLayoutAdapter(
   ILayout layout
);

Parameters

layout
the layout to adapt

Remarks

Create the adapter for the specified layout.

See Also

Layout2RawLayoutAdapter Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttributeProperties.html0000644000175000017500000000477510412737540026766 0ustar slomoslomo RepositoryAttribute Properties
log4net SDK Reference

RepositoryAttribute Properties

The properties of the RepositoryAttribute class are listed below. For a complete list of RepositoryAttribute class members, see the RepositoryAttribute Members topic.

Public Instance Properties

Name Gets or sets the name of the logging repository.
RepositoryType Gets or sets the type of repository to create for this assembly.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

RepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedException.html0000644000175000017500000000651510412737564031744 0ustar slomoslomo ConversionNotSupportedException Class
log4net SDK Reference

ConversionNotSupportedException Class

Exception base type for conversion errors.

For a list of all members of this type, see ConversionNotSupportedException Members.

System.Object
   System.Exception
      System.ApplicationException
         log4net.Util.TypeConverters.ConversionNotSupportedException

[Visual Basic]
Public Class ConversionNotSupportedException
    Inherits ApplicationException
[C#]
public class ConversionNotSupportedException : ApplicationException

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This type extends ApplicationException. It does not add any new functionality but does differentiate the type of exception being thrown.

Requirements

Namespace: log4net.Util.TypeConverters

Assembly: log4net (in log4net.dll)

See Also

ConversionNotSupportedException Members | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CompositeProperties.Add.html0000644000175000017500000000423010412737560025050 0ustar slomoslomo CompositeProperties.Add Method
log4net SDK Reference

CompositeProperties.Add Method 

Add a Properties Dictionary to this composite collection

[Visual Basic]
Public Sub Add( _
   ByVal properties As ReadOnlyPropertiesDictionary _
)
[C#]
public void Add(
   ReadOnlyPropertiesDictionary properties
);

Parameters

properties
the properties to add

Remarks

Properties dictionaries added first take precedence over dictionaries added later.

See Also

CompositeProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppender.ErrorHandler.html0000644000175000017500000000434710412737534027363 0ustar slomoslomo ErrorHandler Property
log4net SDK Reference

TextWriterAppender.ErrorHandler Property

Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.

[Visual Basic]
Overrides Public Property ErrorHandler As IErrorHandler
[C#]
public override log4net.Core.IErrorHandler ErrorHandler {get; set;}

Property Value

The IErrorHandler for this appender.

Remarks

Missing <remarks> documentation for P:log4net.Appender.TextWriterAppender.ErrorHandler

See Also

TextWriterAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppenderProperties.html0000644000175000017500000001266110412737536025461 0ustar slomoslomo UdpAppender Properties
log4net SDK Reference

UdpAppender Properties

The properties of the UdpAppender class are listed below. For a complete list of UdpAppender class members, see the UdpAppender Members topic.

Public Instance Properties

Encoding Gets or sets Encoding used to write the packets.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LocalPort Gets or sets the TCP port number from which the underlying UdpClient will communicate.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
RemoteAddress Gets or sets the IP address of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
RemotePort Gets or sets the TCP port number of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

Client Gets or sets the underlying UdpClient.
RemoteEndPoint Gets or sets the cached remote endpoint to which the logging events should be sent.
RequiresLayout This appender requires a log4net.Layout to be set.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.MaxFileSize.html0000644000175000017500000000516410412737532027235 0ustar slomoslomo MaxFileSize Property
log4net SDK Reference

RollingFileAppender.MaxFileSize Property

Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.

[Visual Basic]
Public Property MaxFileSize As Long
[C#]
public long MaxFileSize {get; set;}

Property Value

The maximum size in bytes that the output file is allowed to reach before being rolled over to backup files.

Remarks

This property is equivalent to MaximumFileSize except that it is required for differentiating the setter taking a Int64 argument from the setter taking a String argument.

The default maximum file size is 10MB (10*1024*1024).

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Compare.html0000644000175000017500000000626010412737542022756 0ustar slomoslomo Level.Compare Method
log4net SDK Reference

Level.Compare Method 

Compares two specified Level instances.

[Visual Basic]
Public Shared Function Compare( _
   ByVal l As Level, _
   ByVal r As Level _
) As Integer
[C#]
public static int Compare(
   Level l,
   Level r
);

Parameters

l
The first Level to compare.
r
The second Level to compare.

Return Value

A 32-bit signed integer that indicates the relative order of the two values compared. The return value has these meanings:

Value Meaning
Less than zero l is less than r.
Zero l is equal to r.
Greater than zero l is greater than r.

Remarks

Compares two levels.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppender.RequiresLayout.html0000644000175000017500000000412410412737524027242 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

ConsoleAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelConstructor2.html0000644000175000017500000000517210412737542023722 0ustar slomoslomo Level Constructor (Int32, String)
log4net SDK Reference

Level Constructor (Int32, String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal level As Integer, _
   ByVal levelName As String _
)
[C#]
public Level(
   int level,
   string levelName
);

Parameters

level
Integer value for this level, higher values represent more severe levels.
levelName
The string name of this level.

Remarks

Initializes a new instance of the Level class with the specified level name and value.

See Also

Level Class | log4net.Core Namespace | Level Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilterMethods.html0000644000175000017500000001225710412737550025377 0ustar slomoslomo LevelMatchFilter Methods
log4net SDK Reference

LevelMatchFilter Methods

The methods of the LevelMatchFilter class are listed below. For a complete list of LevelMatchFilter class members, see the LevelMatchFilter Members topic.

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Tests if the Level of the logging event matches that of the filter
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.MessageObject.html0000644000175000017500000000456610412737544025435 0ustar slomoslomo MessageObject Property
log4net SDK Reference

LoggingEvent.MessageObject Property

Gets the message object used to initialize this event.

[Visual Basic]
Public ReadOnly Property MessageObject As Object
[C#]
public object MessageObject {get;}

Property Value

The message object used to initialize this event.

Remarks

Gets the message object used to initialize this event. Note that this event may not have a valid message object. If the event is serialized the message object will not be transferred. To get the text of the message the RenderedMessage property must be used not this property.

If there is no defined message object for this event then null will be returned.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.TrimToSize.html0000644000175000017500000000361310412737542025454 0ustar slomoslomo LevelCollection.TrimToSize Method
log4net SDK Reference

LevelCollection.TrimToSize Method 

Sets the capacity to the actual number of elements.

[Visual Basic]
Overridable Public Sub TrimToSize()
[C#]
public virtual void TrimToSize();

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.TrimToSize

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.RollingMode.html0000644000175000017500000000443410412737534027271 0ustar slomoslomo RollingFileAppender.RollingMode Enumeration
log4net SDK Reference

RollingFileAppender.RollingMode Enumeration

Style of rolling to use

[Visual Basic]
Public Enum RollingFileAppender.RollingMode
[C#]
public enum RollingFileAppender.RollingMode

Remarks

Style of rolling to use

Members

Member NameDescription
Once Roll files once per program execution
Size Roll files based only on the size of the file
Date Roll files based only on the date
Composite Roll files based on both the size and date of the file

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionaryConstructor3.html0000644000175000017500000000656710412737564030536 0ustar slomoslomo ReadOnlyPropertiesDictionary Constructor (SerializationInfo, StreamingContext)
log4net SDK Reference

ReadOnlyPropertiesDictionary Constructor (SerializationInfo, StreamingContext)

Deserialization constructor

[Visual Basic]
Overloads Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
protected ReadOnlyPropertiesDictionary(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo that holds the serialized object data.
context
The StreamingContext that contains contextual information about the source or destination.

Remarks

Initializes a new instance of the ReadOnlyPropertiesDictionary class with serialized data.

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace | ReadOnlyPropertiesDictionary Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventConstructor3.html0000644000175000017500000000740410412737544025246 0ustar slomoslomo LoggingEvent Constructor (Type, ILoggerRepository, LoggingEventData)
log4net SDK Reference

LoggingEvent Constructor (Type, ILoggerRepository, LoggingEventData)

Initializes a new instance of the LoggingEvent class using specific data.

[Visual Basic]
Overloads Public Sub New( _
   ByVal callerStackBoundaryDeclaringType As Type, _
   ByVal repository As ILoggerRepository, _
   ByVal data As LoggingEventData _
)
[C#]
public LoggingEvent(
   Type callerStackBoundaryDeclaringType,
   ILoggerRepository repository,
   LoggingEventData data
);

Parameters

callerStackBoundaryDeclaringType
The declaring type of the method that is the stack boundary into the logging system for this call.
repository
The repository this event is logged in.
data
Data used to initialize the logging event.

Remarks

This constructor is provided to allow a LoggingEvent to be created independently of the log4net framework. This can be useful if you require a custom serialization scheme.

Use the GetLoggingEventData method to obtain an instance of the LoggingEventData class.

This constructor sets this objects Fix flags to All, this assumes that all the data relating to this event is passed in via the data parameter and no other data should be captured from the environment.

See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.html0000644000175000017500000001020710412737532025276 0ustar slomoslomo RemoteSyslogAppender Class
log4net SDK Reference

RemoteSyslogAppender Class

Logs events to a remote syslog daemon.

For a list of all members of this type, see RemoteSyslogAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.UdpAppender
         log4net.Appender.RemoteSyslogAppender

[Visual Basic]
Public Class RemoteSyslogAppender
    Inherits UdpAppender
[C#]
public class RemoteSyslogAppender : UdpAppender

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The BSD syslog protocol is used to remotely log to a syslog daemon. The syslogd listens for for messages on UDP port 514.

The syslog UDP protocol is not authenticated. Most syslog daemons do not accept remote log messages because of the security implications. You may be able to use the LocalSyslogAppender to talk to a local syslog service.

There is an RFC 3164 that claims to document the BSD Syslog Protocol. This RFC can be seen here: http://www.faqs.org/rfcs/rfc3164.html. This appender generates what the RFC calls an "Original Device Message", i.e. does not include the TIMESTAMP or HOSTNAME fields. By observation this format of message will be accepted by all current syslog daemon implementations. The daemon will attach the current time and the source hostname or IP address to any messages received.

Syslog messages must have a facility and and a severity. The severity is derived from the Level of the logging event. The facility must be chosen from the set of defined syslog RemoteSyslogAppender.SyslogFacility values. The facilities list is predefined and cannot be extended.

An identifier is specified with each log message. This can be specified by setting the Identity property. The identity (also know as the tag) must not contain white space. The default value for the identity is the application name (from Domain).

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

RemoteSyslogAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Debug_overloads.html0000644000175000017500000000345710412737544024777 0ustar slomoslomo Debug Method
log4net SDK Reference

LogImpl.Debug Method

Logs a message object with the DEBUG level.

Overload List

Logs a message object with the DEBUG level.

public virtual void Debug(object);

Logs a message object with the DEBUG level

public virtual void Debug(object,Exception);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IErrorHandlerMethods.html0000644000175000017500000000354310412737540024345 0ustar slomoslomo IErrorHandler Methods
log4net SDK Reference

IErrorHandler Methods

The methods of the IErrorHandler interface are listed below. For a complete list of IErrorHandler interface members, see the IErrorHandler Members topic.

Public Instance Methods

ErrorOverloaded. Prints the error message passed as a parameter.

See Also

IErrorHandler Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Encoding.html0000644000175000017500000000377010412737564025525 0ustar slomoslomo Encoding Property
log4net SDK Reference

TextWriterAdapter.Encoding Property

The Encoding in which the output is written

[Visual Basic]
Overrides Public ReadOnly Property Encoding As Encoding
[C#]
public override System.Text.Encoding Encoding {get;}

Property Value

The Encoding

Remarks

The Encoding in which the output is written

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ActivateOptions.html0000644000175000017500000000462110412737562026267 0ustar slomoslomo PatternString.ActivateOptions Method
log4net SDK Reference

PatternString.ActivateOptions Method 

Initialize object options

[Visual Basic]
Overridable Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public virtual void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

PatternString Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContextProviderConstructor.html0000644000175000017500000000317510412737546027465 0ustar slomoslomo SecurityContextProvider Constructor
log4net SDK Reference

SecurityContextProvider Constructor 

Protected default constructor to allow subclassing

[Visual Basic]
Protected Sub New()
[C#]
protected SecurityContextProvider();

Remarks

Protected default constructor to allow subclassing

See Also

SecurityContextProvider Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.IRemoteLoggingSinkMembers.html0000644000175000017500000000357710412737532031454 0ustar slomoslomo RemotingAppender.IRemoteLoggingSink Members
log4net SDK Reference

RemotingAppender.IRemoteLoggingSink Members

RemotingAppender.IRemoteLoggingSink overview

Public Instance Methods

LogEvents Delivers logging events to the remote sink

See Also

RemotingAppender.IRemoteLoggingSink Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppenderConstructor.html0000644000175000017500000000363210412737520030476 0ustar slomoslomo AnsiColorTerminalAppender Constructor
log4net SDK Reference

AnsiColorTerminalAppender Constructor 

Initializes a new instance of the AnsiColorTerminalAppender class.

[Visual Basic]
Public Sub New()
[C#]
public AnsiColorTerminalAppender();

Remarks

The instance of the AnsiColorTerminalAppender class is set up to write to the standard output stream.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CompositePropertiesMembers.html0000644000175000017500000001026510412737560025701 0ustar slomoslomo CompositeProperties Members
log4net SDK Reference

CompositeProperties Members

CompositeProperties overview

Public Instance Properties

Item Gets the value of a property

Public Instance Methods

Add Add a Properties Dictionary to this composite collection
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flatten Flatten this composite collection into a single properties dictionary
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

CompositeProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/privfield.gif0000644000175000017500000000161010412737506017637 0ustar slomoslomoGIF89a÷€€€€€€€€€ÀÀÀÀÜÀ¦Êð*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔ****U**ª*Ô*******U****ª**Ô*U*U**UU*U*Uª*UÔ****U**ª*Ô*ª*ª**ªU*ª*ªª*ªÔ*Ô*Ô**ÔU*Ô*Ôª*ÔÔUU*UUUUªUÔU*U**U*UU*U*ªU*ÔUUUU*UUUUUUUªUUÔUU*UUUUªUÔUªUª*UªUUªUªªUªÔUÔUÔ*UÔUUÔUÔªUÔÔ*UªÔ****U**ª*ÔUU*UUUUªUÔ*UªÔªª*ªUªªªªÔÔÔ*ÔUÔÔªÔÔªª*ªUªªªªÔª*ª**ª*Uª*ª*ªª*ÔªUªU*ªUUªUªUªªUÔªª*ªUªªªªÔªªªª*ªªUªªªªªªªÔªÔªÔ*ªÔUªÔªÔªªÔÔÔÔ*ÔUÔÔªÔÔÔ*Ô**Ô*UÔ*Ô*ªÔ*ÔÔUÔU*ÔUUÔUÔUªÔUÔÔÔ*ÔUÔÔªÔÔÔªÔª*ÔªUÔªÔªªÔªÔÔÔÔÔ*ÔÔUÔÔÔÔªÔÔÔ &&&333???LLLYYYfffrrrŒŒŒ™™™¥¥¥²²²¿¿¿ÌÌÌØØØåååòòòÿûð  ¤€€€ÿÿÿÿÿÿÿÿÿÿÿÿ!ùÿ,@eÿ H° @|ø‡ÏŸ?øð-48°¡âû ã‰Cô·QdDŒ%þ;±eI‰ ®LøQ¤M™7¢,IÑ"ÊŽ#ŽlQ%Ã'5Šs Ș2?*4Ù±*T‚;log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppender.RequiresLayout.html0000644000175000017500000000412410412737530027175 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

NetSendAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionaryMembers.html0000644000175000017500000001366110412737562026051 0ustar slomoslomo PropertiesDictionary Members
log4net SDK Reference

PropertiesDictionary Members

PropertiesDictionary overview

Public Instance Constructors

PropertiesDictionary Overloaded. Initializes a new instance of the PropertiesDictionary class.

Public Instance Properties

Count (inherited from ReadOnlyPropertiesDictionary) The number of properties in this collection
Item Gets or sets the value of the property with the specified key.

Public Instance Methods

Clear Remove all properties from the properties collection
Contains (inherited from ReadOnlyPropertiesDictionary) Test if the dictionary contains a specified key
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetKeys (inherited from ReadOnlyPropertiesDictionary) Gets the key names.
GetObjectData (inherited from ReadOnlyPropertiesDictionary) Serializes this object into the SerializationInfo provided.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove the entry with the specified key from this dictionary
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

PropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TransformMethods.html0000644000175000017500000001035410412737564023651 0ustar slomoslomo Transform Methods
log4net SDK Reference

Transform Methods

The methods of the Transform class are listed below. For a complete list of Transform class members, see the Transform Members topic.

Public Static (Shared) Methods

MaskXmlInvalidCharacters Replace invalid XML characters in text string
WriteEscapedXmlString Write a string to an XmlWriter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

Transform Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.ConverterInfoConstructor.html0000644000175000017500000000341710412737562030206 0ustar slomoslomo PatternString.ConverterInfo Constructor
log4net SDK Reference

PatternString.ConverterInfo Constructor 

default constructor

[Visual Basic]
Public Sub New()
[C#]
public PatternString.ConverterInfo();

Remarks

Missing <remarks> documentation for M:log4net.Util.PatternString.ConverterInfo.#ctor

See Also

PatternString.ConverterInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLogger_overload_3.html0000644000175000017500000000614010412737520025433 0ustar slomoslomo LogManager.GetLogger Method (Assembly, String)
log4net SDK Reference

LogManager.GetLogger Method (Assembly, String)

Retrieves or creates a named logger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repositoryAssembly As Assembly, _
   ByVal name As String _
) As ILog
[C#]
public static ILog GetLogger(
   Assembly repositoryAssembly,
   string name
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.
name
The name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Retrieve a logger named as the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.

By default, loggers do not have a set level but inherit it from the hierarchy. This is one of the central features of log4net.

See Also

LogManager Class | log4net Namespace | LogManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.IndexOf.html0000644000175000017500000000525210412737542024740 0ustar slomoslomo LevelCollection.IndexOf Method
log4net SDK Reference

LevelCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a Level in the LevelCollection.

[Visual Basic]
Overridable Public Function IndexOf( _
   ByVal item As Level _
) As Integer
[C#]
public virtual int IndexOf(
   Level item
);

Parameters

item
The Level to locate in the LevelCollection.

Return Value

The zero-based index of the first occurrence of item in the entire LevelCollection, if found; otherwise, -1.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.IndexOf(log4net.Core.Level)

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Error_overloads.html0000644000175000017500000000417610412737516023440 0ustar slomoslomo Error Method
log4net SDK Reference

ILog.Error Method

Log a message object with the Error level.

Overload List

Logs a message object with the Error level.

void Error(object);

Log a message object with the Error level including the stack trace of the Exception passed as a parameter.

void Error(object,Exception);

See Also

ILog Interface | log4net Namespace | Error | IsErrorEnabled


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverterMembers.html0000644000175000017500000001261610412737562025026 0ustar slomoslomo OptionConverter Members
log4net SDK Reference

OptionConverter Members

OptionConverter overview

Public Static (Shared) Methods

CanConvertTypeTo Checks if there is an appropriate type conversion from the source type to the target type.
ConvertStringTo Converts a string to an object.
ConvertTypeTo Converts an object to the target type.
InstantiateByClassName Instantiates an object given a class name.
SubstituteVariables Performs variable substitution in string val from the values of keys found in props.
ToBoolean Converts a string to a Boolean value.
ToFileSize Parses a file size into a number.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.PrepareWriter.html0000644000175000017500000000341410412737526026320 0ustar slomoslomo FileAppender.PrepareWriter Method
log4net SDK Reference

FileAppender.PrepareWriter Method 

Called to initialize the file writer

[Visual Basic]
Overrides Protected Sub PrepareWriter()
[C#]
protected override void PrepareWriter();

Remarks

Will be called for each logged message until the file is successfully opened.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NullEnumerator.Instance.html0000644000175000017500000000352610412737562025072 0ustar slomoslomo Instance Property
log4net SDK Reference

NullEnumerator.Instance Property

Get the singleton instance of the NullEnumerator.

[Visual Basic]
Public Shared ReadOnly Property Instance As NullEnumerator
[C#]
public static NullEnumerator Instance {get;}

Remarks

Gets the singleton instance of the NullEnumerator.

See Also

NullEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.UserName.html0000644000175000017500000000424110412737564026615 0ustar slomoslomo UserName Property
log4net SDK Reference

WindowsSecurityContext.UserName Property

Gets or sets the Windows username for this security context

[Visual Basic]
Public Property UserName As String
[C#]
public string UserName {get; set;}

Property Value

The Windows username for this security context

Remarks

This property must be set if Credentials is set to User (the default setting).

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.GetRepository_overload_2.html0000644000175000017500000000632110412737540032437 0ustar slomoslomo CompactRepositorySelector.GetRepository Method (Assembly)
log4net SDK Reference

CompactRepositorySelector.GetRepository Method (Assembly)

Get the ILoggerRepository for the specified assembly

[Visual Basic]
NotOverridable Overloads Public Function GetRepository( _
   ByVal assembly As Assembly _
) As ILoggerRepository _
    Implements IRepositorySelector.GetRepository
[C#]
public ILoggerRepository GetRepository(
   Assembly assembly
);

Parameters

assembly
not used

Return Value

The default ILoggerRepository

Implements

IRepositorySelector.GetRepository

Remarks

The assembly argument is not used. This selector does not create a separate repository for each assembly.

As a named repository is not specified the default repository is returned. The default repository is named log4net-default-repository.

See Also

CompactRepositorySelector Class | log4net.Core Namespace | CompactRepositorySelector.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLock.OpenFile.html0000644000175000017500000000670210412737526027427 0ustar slomoslomo FileAppender.MinimalLock.OpenFile Method
log4net SDK Reference

FileAppender.MinimalLock.OpenFile Method 

Prepares to open the file when the first message is logged.

[Visual Basic]
Overrides Public Sub OpenFile( _
   ByVal filename As String, _
   ByVal append As Boolean, _
   ByVal encoding As Encoding _
)
[C#]
public override void OpenFile(
   string filename,
   bool append,
   Encoding encoding
);

Parameters

filename
The filename to use
append
Whether to append to the file, or overwrite
encoding
The encoding to use

Remarks

Open the file specified and prepare for logging. No writes will be made until AcquireLock is called. Must be called before any calls to AcquireLock, ReleaseLock and CloseFile.

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.Clear.html0000644000175000017500000000453110412737564027217 0ustar slomoslomo ReadOnlyPropertiesDictionary.Clear Method
log4net SDK Reference

ReadOnlyPropertiesDictionary.Clear Method 

Remove all properties from the properties collection

[Visual Basic]
Overridable Public Sub Clear() _
    Implements IDictionary.Clear
[C#]
public virtual void Clear();

Implements

IDictionary.Clear

Remarks

Missing <remarks> documentation for M:log4net.Util.ReadOnlyPropertiesDictionary.Clear

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.m_usePreparedCommand.html0000644000175000017500000000376310412737520030113 0ustar slomoslomo AdoNetAppender.m_usePreparedCommand Field
log4net SDK Reference

AdoNetAppender.m_usePreparedCommand Field

Flag to indicate if we are using a command object

[Visual Basic]
Protected m_usePreparedCommand As Boolean
[C#]
protected bool m_usePreparedCommand;

Remarks

Set to true when the appender is to use a prepared statement or stored procedure to insert into the database.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILogMembers.html0000644000175000017500000001271710412737516021605 0ustar slomoslomo ILog Members
log4net SDK Reference

ILog Members

ILog overview

Public Instance Properties

IsDebugEnabled Checks if this logger is enabled for the Debug level.
IsErrorEnabled Checks if this logger is enabled for the Error level.
IsFatalEnabled Checks if this logger is enabled for the Fatal level.
IsInfoEnabled Checks if this logger is enabled for the Info level.
IsWarnEnabled Checks if this logger is enabled for the Warn level.

Public Instance Methods

DebugOverloaded. Log a message object with the Debug level.
DebugFormatOverloaded. Log a formatted string with the Debug level.
ErrorOverloaded. Log a message object with the Error level.
ErrorFormatOverloaded. Log a formatted message string with the Error level.
FatalOverloaded. Log a message object with the Fatal level.
FatalFormatOverloaded. Log a formatted message string with the Fatal level.
InfoOverloaded. Log a message object with the Info level.
InfoFormatOverloaded. Log a formatted message string with the Info level.
WarnOverloaded. Log a message object with the Warn level.
WarnFormatOverloaded. Log a formatted message string with the Warn level.

See Also

ILog Interface | log4net Namespace | LogManager | GetLogger


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeError.GetLastError.html0000644000175000017500000000426110412737560025162 0ustar slomoslomo NativeError.GetLastError Method
log4net SDK Reference

NativeError.GetLastError Method 

Create a new instance of the NativeError class for the last Windows error.

[Visual Basic]
Public Shared Function GetLastError() As NativeError
[C#]
public static NativeError GetLastError();

Return Value

An instance of the NativeError class for the last windows error.

Remarks

The message for the GetLastWin32Error error number is lookup up using the native Win32 FormatMessage function.

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetCurrentLoggers_overloads.html0000644000175000017500000000372610412737544030524 0ustar slomoslomo GetCurrentLoggers Method
log4net SDK Reference

LoggerManager.GetCurrentLoggers Method

Returns all the currently defined loggers in the specified assembly's repository.

Overload List

Returns all the currently defined loggers in the specified assembly's repository.

public static ILogger[] GetCurrentLoggers(Assembly);

Returns all the currently defined loggers in the specified repository.

public static ILogger[] GetCurrentLoggers(string);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLoggerRepository_overloads.html0000644000175000017500000000466110412737544031075 0ustar slomoslomo GetLoggerRepository Method
log4net SDK Reference

LoggerManager.GetLoggerRepository Method

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository


Returns the default ILoggerRepository instance.

Overload List

Obsolete. Returns the default ILoggerRepository instance.

public static ILoggerRepository GetLoggerRepository(Assembly);

Obsolete. Return the default ILoggerRepository instance.

public static ILoggerRepository GetLoggerRepository(string);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.ErrorFormat_overloads.html0000644000175000017500000000527110412737546026211 0ustar slomoslomo ErrorFormat Method
log4net SDK Reference

LogImpl.ErrorFormat Method

Logs a formatted message string with the ERROR level.

Overload List

Logs a formatted message string with the ERROR level.

public virtual void ErrorFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the ERROR level.

public virtual void ErrorFormat(string,object);

Logs a formatted message string with the ERROR level.

public virtual void ErrorFormat(string,object,object);

Logs a formatted message string with the ERROR level.

public virtual void ErrorFormat(string,object,object,object);

Logs a formatted message string with the ERROR level.

public virtual void ErrorFormat(string,params object[]);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.IsSynchronized.html0000644000175000017500000000557610412737560026456 0ustar slomoslomo IsSynchronized Property
log4net SDK Reference

EmptyDictionary.IsSynchronized Property

Gets a value indicating if access to the ICollection is synchronized (thread-safe).

[Visual Basic]
NotOverridable Public ReadOnly Property IsSynchronized As Boolean _
    Implements ICollection.IsSynchronized
[C#]
public bool IsSynchronized {get;}

Property Value

true if access to the ICollection is synchronized (thread-safe); otherwise, false.

Implements

ICollection.IsSynchronized

Remarks

For the EmptyCollection this property is always true.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Error_overload_1.html0000644000175000017500000000655710412737546025105 0ustar slomoslomo LogImpl.Error Method (Object, Exception)
log4net SDK Reference

LogImpl.Error Method (Object, Exception)

Logs a message object with the ERROR level

[Visual Basic]
Overridable Overloads Public Sub Error( _
   ByVal message As Object, _
   ByVal exception As Exception _
) _
    Implements ILog.Error
[C#]
public virtual void Error(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Implements

ILog.Error

Remarks

Logs a message object with the ERROR level including the stack trace of the Exception exception passed as a parameter.

See the Error form for more detailed information.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Error Overload List | Error


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeError.Number.html0000644000175000017500000000363410412737560024040 0ustar slomoslomo Number Property
log4net SDK Reference

NativeError.Number Property

Gets the number of the native error.

[Visual Basic]
Public ReadOnly Property Number As Integer
[C#]
public int Number {get;}

Property Value

The number of the native error.

Remarks

Gets the number of the native error.

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ActivateOptions.html0000644000175000017500000000474610412737526026652 0ustar slomoslomo FileAppender.ActivateOptions Method
log4net SDK Reference

FileAppender.ActivateOptions Method 

Activate the options on the file appender.

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

This will cause the file to be opened.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMapConstructor.html0000644000175000017500000000276710412737542024305 0ustar slomoslomo LevelMap Constructor
log4net SDK Reference

LevelMap Constructor 

Construct the level map

[Visual Basic]
Public Sub New()
[C#]
public LevelMap();

Remarks

Construct the level map.

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfigurator.Configure_overloads.html0000644000175000017500000000502310412737536030240 0ustar slomoslomo Configure Method
log4net SDK Reference

BasicConfigurator.Configure Method

Initializes the log4net system with a default configuration.

Overload List

Initializes the log4net system with a default configuration.

public static void Configure();

Initializes the log4net system using the specified appender.

public static void Configure(IAppender);

Initializes the ILoggerRepository with a default configuration.

public static void Configure(ILoggerRepository);

Initializes the ILoggerRepository using the specified appender.

public static void Configure(ILoggerRepository,IAppender);

See Also

BasicConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.AbsoluteTimeDateFormatterFields.html0000644000175000017500000000532310412737546030404 0ustar slomoslomo AbsoluteTimeDateFormatter Fields
log4net SDK Reference

AbsoluteTimeDateFormatter Fields

The fields of the AbsoluteTimeDateFormatter class are listed below. For a complete list of AbsoluteTimeDateFormatter class members, see the AbsoluteTimeDateFormatter Members topic.

Public Static (Shared) Fields

AbsoluteTimeDateFormat String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is ABSOLUTE.
DateAndTimeDateFormat String constant used to specify DateTimeDateFormat in layouts. Current value is DATE.
Iso8601TimeDateFormat String constant used to specify ISO8601DateFormat in layouts. Current value is ISO8601.

See Also

AbsoluteTimeDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerCreationEventArgsConstructor.html0000644000175000017500000000440010412737556032516 0ustar slomoslomo LoggerCreationEventArgs Constructor
log4net SDK Reference

LoggerCreationEventArgs Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal log As Logger _
)
[C#]
public LoggerCreationEventArgs(
   Logger log
);

Parameters

log
The Logger that has been created.

Remarks

Initializes a new instance of the LoggerCreationEventArgs event argument class,with the specified Logger.

See Also

LoggerCreationEventArgs Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.LevelSeverity.html0000644000175000017500000000547110412737530027703 0ustar slomoslomo LocalSyslogAppender.LevelSeverity Class
log4net SDK Reference

LocalSyslogAppender.LevelSeverity Class

A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.

For a list of all members of this type, see LocalSyslogAppender.LevelSeverity Members.

System.Object
   log4net.Util.LevelMappingEntry
      log4net.Appender.LocalSyslogAppender.LevelSeverity

[Visual Basic]
Public Class LocalSyslogAppender.LevelSeverity
    Inherits LevelMappingEntry
[C#]
public class LocalSyslogAppender.LevelSeverity : LevelMappingEntry

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

LocalSyslogAppender.LevelSeverity Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMap.Item.html0000644000175000017500000000442310412737554023463 0ustar slomoslomo Item Property
log4net SDK Reference

PluginMap.Item Property

Gets a IPlugin by name.

[Visual Basic]
Public Default ReadOnly Property Item( _
   ByVal name As String _
) As IPlugin
[C#]
public IPlugin this[
   string name
] {get;}

Parameters

name
The name of the IPlugin to lookup.

Remarks

Lookup a plugin by name. If the plugin is not found null will be returned.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.DefaultRendererConstructor.html0000644000175000017500000000305710412737552027652 0ustar slomoslomo DefaultRenderer Constructor
log4net SDK Reference

DefaultRenderer Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public DefaultRenderer();

Remarks

Default constructor

See Also

DefaultRenderer Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.ResolveConnectionType.html0000644000175000017500000000460010412737520030311 0ustar slomoslomo AdoNetAppender.ResolveConnectionType Method
log4net SDK Reference

AdoNetAppender.ResolveConnectionType Method 

Retrieves the class type of the ADO.NET provider.

[Visual Basic]
Overridable Protected Function ResolveConnectionType() As Type
[C#]
protected virtual Type ResolveConnectionType();

Return Value

The Type of the ADO.NET provider

Remarks

Gets the Type of the ADO.NET provider to use to connect to the database. This method resolves the type specified in the ConnectionType property.

Subclasses can override this method to return a different type if necessary.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.Add.html0000644000175000017500000000520210412737522025422 0ustar slomoslomo AppenderCollection.Add Method
log4net SDK Reference

AppenderCollection.Add Method 

Adds a IAppender to the end of the AppenderCollection.

[Visual Basic]
Overridable Public Function Add( _
   ByVal item As IAppender _
) As Integer
[C#]
public virtual int Add(
   IAppender item
);

Parameters

item
The IAppender to be added to the end of the AppenderCollection.

Return Value

The index at which the value has been added.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.Add(log4net.Appender.IAppender)

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriterMethods.html0000644000175000017500000001760110412737560026534 0ustar slomoslomo CountingQuietTextWriter Methods
log4net SDK Reference

CountingQuietTextWriter Methods

The methods of the CountingQuietTextWriter class are listed below. For a complete list of CountingQuietTextWriter class members, see the CountingQuietTextWriter Members topic.

Public Instance Methods

Close (inherited from QuietTextWriter) Closes the underlying output writer.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriterAdapter) Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteOverloaded. Writes a string to the output and counts the number of bytes written.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Methods

Dispose (inherited from TextWriterAdapter) Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CountingQuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.CompactRepositorySelector.html0000644000175000017500000000574010412737540025511 0ustar slomoslomo CompactRepositorySelector Class
log4net SDK Reference

CompactRepositorySelector Class

The implementation of the IRepositorySelector interface suitable for use with the compact framework

For a list of all members of this type, see CompactRepositorySelector Members.

System.Object
   log4net.Core.CompactRepositorySelector

[Visual Basic]
Public Class CompactRepositorySelector
    Implements IRepositorySelector
[C#]
public class CompactRepositorySelector : IRepositorySelector

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This IRepositorySelector implementation is a simple mapping between repository name and ILoggerRepository object.

The .NET Compact Framework 1.0 does not support retrieving assembly level attributes therefore unlike the DefaultRepositorySelector this selector does not examine the calling assembly for attributes.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

CompactRepositorySelector Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ExceptionLayoutConstructor.html0000644000175000017500000000304010412737550026301 0ustar slomoslomo ExceptionLayout Constructor
log4net SDK Reference

ExceptionLayout Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public ExceptionLayout();

Remarks

Constructs a ExceptionLayout

See Also

ExceptionLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayout.ActivateOptions.html0000644000175000017500000000470010412737552025756 0ustar slomoslomo XmlLayout.ActivateOptions Method
log4net SDK Reference

XmlLayout.ActivateOptions Method 

Initialize layout options

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

Builds a cache of the element names

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.RepositoryAttribute.Name.html0000644000175000017500000000414310412737540025555 0ustar slomoslomo Name Property
log4net SDK Reference

RepositoryAttribute.Name Property

Gets or sets the name of the logging repository.

[Visual Basic]
Public Property Name As String
[C#]
public string Name {get; set;}

Property Value

The string name to use as the name of the repository associated with this assembly.

Remarks

This value does not have to be unique. Several assemblies can share the same repository. They will share the logging configuration of the repository.

See Also

RepositoryAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Clone.html0000644000175000017500000000516410412737554025206 0ustar slomoslomo PluginCollection.Clone Method
log4net SDK Reference

PluginCollection.Clone Method 

Creates a shallow copy of the PluginCollection.

[Visual Basic]
Overridable Public Function Clone() As Object _
    Implements ICloneable.Clone
[C#]
public virtual object Clone();

Return Value

A new PluginCollection with a shallow copy of the collection data.

Implements

ICloneable.Clone

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.Clone

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.Prepare.html0000644000175000017500000000447110412737520027255 0ustar slomoslomo AdoNetAppenderParameter.Prepare Method
log4net SDK Reference

AdoNetAppenderParameter.Prepare Method 

Prepare the specified database command object.

[Visual Basic]
Overridable Public Sub Prepare( _
   ByVal command As IDbCommand _
)
[C#]
public virtual void Prepare(
   IDbCommand command
);

Parameters

command
The command to prepare.

Remarks

Prepares the database command object by adding this parameter to its collection of parameters.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.RemoveAllAppenders.html0000644000175000017500000000416410412737530030476 0ustar slomoslomo ForwardingAppender.RemoveAllAppenders Method
log4net SDK Reference

ForwardingAppender.RemoveAllAppenders Method 

Removes all previously added appenders from this appender.

[Visual Basic]
Overridable Public Sub RemoveAllAppenders() _
    Implements IAppenderAttachable.RemoveAllAppenders
[C#]
public virtual void RemoveAllAppenders();

Implements

IAppenderAttachable.RemoveAllAppenders

Remarks

This is useful when re-reading configuration information.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.Identity.html0000644000175000017500000000376010412737532027074 0ustar slomoslomo Identity Property
log4net SDK Reference

RemoteSyslogAppender.Identity Property

Message identity

[Visual Basic]
Public Property Identity As PatternLayout
[C#]
public log4net.Layout.PatternLayout Identity {get; set;}

Remarks

An identifier is specified with each log message. This can be specified by setting the Identity property. The identity (also know as the tag) must not contain white space. The default value for the identity is the application name (from Domain).

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.IBasicRepositoryConfigurator.html0000644000175000017500000000570410412737554027433 0ustar slomoslomo IBasicRepositoryConfigurator Interface
log4net SDK Reference

IBasicRepositoryConfigurator Interface

Basic Configurator interface for repositories

For a list of all members of this type, see IBasicRepositoryConfigurator Members.

[Visual Basic]
Public Interface IBasicRepositoryConfigurator
[C#]
public interface IBasicRepositoryConfigurator

Types that implement IBasicRepositoryConfigurator

Type Description
Hierarchy Hierarchical organization of loggers

Remarks

Interface used by basic configurator to configure a ILoggerRepository with a default IAppender.

A ILoggerRepository should implement this interface to support configuration by the BasicConfigurator.

Requirements

Namespace: log4net.Repository

Assembly: log4net (in log4net.dll)

See Also

IBasicRepositoryConfigurator Members | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConvertersHierarchy.html0000644000175000017500000000617510412737564025213 0ustar slomoslomo log4net.Util.TypeConvertersHierarchy
log4net SDK Reference

log4net.Util.TypeConverters Hierarchy

System.Object

See Also

log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMap.Remove.html0000644000175000017500000000410410412737554024016 0ustar slomoslomo PluginMap.Remove Method
log4net SDK Reference

PluginMap.Remove Method 

Removes a IPlugin from the map.

[Visual Basic]
Public Sub Remove( _
   ByVal plugin As IPlugin _
)
[C#]
public void Remove(
   IPlugin plugin
);

Parameters

plugin
The IPlugin to remove from the map.

Remarks

Remove a specific plugin from this map.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeleton.html0000644000175000017500000000652410412737550023673 0ustar slomoslomo LayoutSkeleton Class
log4net SDK Reference

LayoutSkeleton Class

Extend this abstract class to create your own log layout format.

For a list of all members of this type, see LayoutSkeleton Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.ExceptionLayout
      log4net.Layout.PatternLayout
      log4net.Layout.SimpleLayout
      log4net.Layout.XmlLayoutBase

[Visual Basic]
MustInherit Public Class LayoutSkeleton
    Implements ILayout, IOptionHandler
[C#]
public abstract class LayoutSkeleton : ILayout, IOptionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This is the base implementation of the ILayout interface. Most layout objects should extend this class.

Notes to Inheritors:    

Subclasses must implement the Format method.

Subclasses should set the IgnoresException in their default constructor.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

LayoutSkeleton Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Fatal_overload_1.html0000644000175000017500000000607710412737516023435 0ustar slomoslomo ILog.Fatal Method (Object, Exception)
log4net SDK Reference

ILog.Fatal Method (Object, Exception)

Log a message object with the Fatal level including the stack trace of the Exception passed as a parameter.

[Visual Basic]
Sub Fatal( _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
void Fatal(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

See the Fatal form for more detailed information.

See Also

ILog Interface | log4net Namespace | ILog.Fatal Overload List | Fatal | IsFatalEnabled


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.ToString.html0000644000175000017500000000440710412737542023142 0ustar slomoslomo Level.ToString Method
log4net SDK Reference

Level.ToString Method 

Returns the String representation of the current Level.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

Return Value

A String representation of the current Level.

Remarks

Returns the level Name.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeletonMethods.html0000644000175000017500000001214310412737554025157 0ustar slomoslomo PluginSkeleton Methods
log4net SDK Reference

PluginSkeleton Methods

The methods of the PluginSkeleton class are listed below. For a complete list of PluginSkeleton class members, see the PluginSkeleton Members topic.

Public Instance Methods

Attach Attaches this plugin to a ILoggerRepository.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Shutdown Is called when the plugin is to shutdown.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.CopyTo_overload_1.html0000644000175000017500000000601210412737554027467 0ustar slomoslomo PluginCollection.CopyTo Method (IPlugin[], Int32)
log4net SDK Reference

PluginCollection.CopyTo Method (IPlugin[], Int32)

Copies the entire PluginCollection to a one-dimensional IPlugin array, starting at the specified index of the target array.

[Visual Basic]
Overridable Overloads Public Sub CopyTo( _
   ByVal array As IPlugin(), _
   ByVal start As Integer _
)
[C#]
public virtual void CopyTo(
   IPlugin[] array,
   int start
);

Parameters

array
The one-dimensional IPlugin array to copy to.
start
The zero-based index in array at which copying begins.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[],System.Int32)

See Also

PluginCollection Class | log4net.Plugin Namespace | PluginCollection.CopyTo Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.ActivateOptions.html0000644000175000017500000000411010412737524030664 0ustar slomoslomo ColoredConsoleAppender.ActivateOptions Method
log4net SDK Reference

ColoredConsoleAppender.ActivateOptions Method 

Initialize the options for this appender

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Initialize the level to color mappings set on this appender.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.DebugFormat_overloads.html0000644000175000017500000000527110412737546026146 0ustar slomoslomo DebugFormat Method
log4net SDK Reference

LogImpl.DebugFormat Method

Logs a formatted message string with the DEBUG level.

Overload List

Logs a formatted message string with the DEBUG level.

public virtual void DebugFormat(IFormatProvider,string,params object[]);

Logs a formatted message string with the DEBUG level.

public virtual void DebugFormat(string,object);

Logs a formatted message string with the DEBUG level.

public virtual void DebugFormat(string,object,object);

Logs a formatted message string with the DEBUG level.

public virtual void DebugFormat(string,object,object,object);

Logs a formatted message string with the DEBUG level.

public virtual void DebugFormat(string,params object[]);

See Also

LogImpl Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBufferMembers.html0000644000175000017500000001474210412737560024226 0ustar slomoslomo CyclicBuffer Members
log4net SDK Reference

CyclicBuffer Members

CyclicBuffer overview

Public Instance Constructors

CyclicBuffer Constructor Constructor

Public Instance Properties

Item Gets the ith oldest event currently in the buffer.
Length Gets the number of logging events in the buffer.
MaxSize Gets the maximum size of the buffer.

Public Instance Methods

Append Appends a loggingEvent to the buffer.
Clear Clear the buffer
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
PopAll Pops all the logging events from the buffer into an array.
PopOldest Get and remove the oldest event in the buffer.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateDomain_overloads.html0000644000175000017500000000515510412737516026062 0ustar slomoslomo CreateDomain Method
log4net SDK Reference

LogManager.CreateDomain Method

Create a domain

Overload List

Obsolete. Creates a repository for the specified assembly and repository type.

public static ILoggerRepository CreateDomain(Assembly,Type);

Obsolete. Creates a repository with the specified name.

public static ILoggerRepository CreateDomain(string);

Obsolete. Creates a repository with the specified name and repository type.

public static ILoggerRepository CreateDomain(string,Type);

Obsolete. Creates a repository with the specified repository type.

public static ILoggerRepository CreateDomain(Type);

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateRepository_overload_1.html0000644000175000017500000000611410412737516027063 0ustar slomoslomo LogManager.CreateRepository Method (Type)
log4net SDK Reference

LogManager.CreateRepository Method (Type)

Creates a repository with the specified repository type.

[Visual Basic]
Overloads Public Shared Function CreateRepository( _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateRepository(
   Type repositoryType
);

Parameters

repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository will return the same repository instance.

See Also

LogManager Class | log4net Namespace | LogManager.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.MDC.html0000644000175000017500000000572310412737520020035 0ustar slomoslomo MDC Class
log4net SDK Reference

MDC Class

Implementation of Mapped Diagnostic Contexts.

For a list of all members of this type, see MDC Members.

System.Object
   log4net.MDC

[Visual Basic]
NotInheritable Public Class MDC
[C#]
public sealed class MDC

Thread Safety

This type is safe for multithreaded operations.

Remarks

Note   

The MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the ThreadContext.Properties.

The MDC class is similar to the NDC class except that it is based on a map instead of a stack. It provides mapped diagnostic contexts. A Mapped Diagnostic Context, or MDC in short, is an instrument for distinguishing interleaved log output from different sources. Log output is typically interleaved when a server handles multiple clients near-simultaneously.

The MDC is managed on a per thread basis.

Requirements

Namespace: log4net

Assembly: log4net (in log4net.dll)

See Also

MDC Members | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.EffectiveLevel.html0000644000175000017500000000372110412737556027640 0ustar slomoslomo EffectiveLevel Property
log4net SDK Reference

Logger.EffectiveLevel Property

Gets the effective level for this logger.

[Visual Basic]
Overridable Public ReadOnly Property EffectiveLevel As Level
[C#]
public virtual log4net.Core.Level EffectiveLevel {get;}

Remarks

Starting from this logger, searches the logger hierarchy for a non-null level and returns it. Otherwise, returns the level of the root logger.

The Logger class is designed so that this method executes as quickly as possible.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.GetLoggingEventData_overloads.html0000644000175000017500000000377510412737544030623 0ustar slomoslomo GetLoggingEventData Method
log4net SDK Reference

LoggingEvent.GetLoggingEventData Method

Gets the portable data for this LoggingEvent.

Overload List

Gets the portable data for this LoggingEvent.

public LoggingEventData GetLoggingEventData();

Gets the portable data for this LoggingEvent.

public LoggingEventData GetLoggingEventData(FixFlags);

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.IsFatalEnabled.html0000644000175000017500000000470310412737544024464 0ustar slomoslomo IsFatalEnabled Property
log4net SDK Reference

LogImpl.IsFatalEnabled Property

Checks if this logger is enabled for the FATAL level.

[Visual Basic]
Overridable Public ReadOnly Property IsFatalEnabled As Boolean _
    Implements ILog.IsFatalEnabled
[C#]
public virtual bool IsFatalEnabled {get;}

Property Value

true if this logger is enabled for FATAL events, false otherwise.

Implements

ILog.IsFatalEnabled

Remarks

See IsDebugEnabled for more information and examples of using this method.

See Also

LogImpl Class | log4net.Core Namespace | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator.html0000644000175000017500000000443210412737522031253 0ustar slomoslomo LossyEvaluator Property
log4net SDK Reference

BufferingAppenderSkeleton.LossyEvaluator Property

Gets or sets the value of the ITriggeringEventEvaluator to use.

[Visual Basic]
Public Property LossyEvaluator As ITriggeringEventEvaluator
[C#]
public log4net.Core.ITriggeringEventEvaluator LossyEvaluator {get; set;}

Property Value

The value of the ITriggeringEventEvaluator to use.

Remarks

The evaluator will be called for each event that is discarded from this appender. If the evaluator triggers then the current buffer will immediately be sent (see SendBuffer).

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.RequiresLayout.html0000644000175000017500000000411010412737536026366 0ustar slomoslomo RequiresLayout Property
log4net SDK Reference

UdpAppender.RequiresLayout Property

This appender requires a log4net.Layout to be set.

[Visual Basic]
Overrides Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected override bool RequiresLayout {get;}

Property Value

true

Remarks

This appender requires a log4net.Layout to be set.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.RemoveAllAppenders.html0000644000175000017500000000335610412737540027672 0ustar slomoslomo IAppenderAttachable.RemoveAllAppenders Method
log4net SDK Reference

IAppenderAttachable.RemoveAllAppenders Method 

Removes all attached appenders.

[Visual Basic]
Sub RemoveAllAppenders()
[C#]
void RemoveAllAppenders();

Remarks

Removes and closes all attached appenders

See Also

IAppenderAttachable Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetRepository_overload_2.html0000644000175000017500000000523010412737520026371 0ustar slomoslomo LogManager.GetRepository Method (String)
log4net SDK Reference

LogManager.GetRepository Method (String)

Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetRepository( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetRepository(
   string repository
);

Parameters

repository
The repository to lookup in.

Return Value

The default ILoggerRepository instance.

Remarks

Gets the ILoggerRepository for the repository specified by the repository argument.

See Also

LogManager Class | log4net Namespace | LogManager.GetRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.ExceptionObject.html0000644000175000017500000000464310412737544026003 0ustar slomoslomo ExceptionObject Property
log4net SDK Reference

LoggingEvent.ExceptionObject Property

Gets the exception object used to initialize this event.

[Visual Basic]
Public ReadOnly Property ExceptionObject As Exception
[C#]
public System.Exception ExceptionObject {get;}

Property Value

The exception object used to initialize this event.

Remarks

Gets the exception object used to initialize this event. Note that this event may not have a valid exception object. If the event is serialized the exception object will not be transferred. To get the text of the exception the GetExceptionString method must be used not this property.

If there is no defined exception object for this event then null will be returned.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.InfoFormat_overload_3.html0000644000175000017500000001047610412737546026055 0ustar slomoslomo LogImpl.InfoFormat Method (String, Object, Object)
log4net SDK Reference

LogImpl.InfoFormat Method (String, Object, Object)

Logs a formatted message string with the INFO level.

[Visual Basic]
Overridable Overloads Public Sub InfoFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
) _
    Implements ILog.InfoFormat
[C#]
public virtual void InfoFormat(
   string format,
   object arg0,
   object arg1
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format

Implements

ILog.InfoFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the InfoFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.InfoFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.SendBuffer.html0000644000175000017500000000662010412737532026454 0ustar slomoslomo RemotingAppender.SendBuffer Method
log4net SDK Reference

RemotingAppender.SendBuffer Method 

Send the contents of the buffer to the remote sink.

[Visual Basic]
Overrides Protected Sub SendBuffer( _
   ByVal events As LoggingEvent() _
)
[C#]
protected override void SendBuffer(
   LoggingEvent[] events
);

Parameters

events
The events to send.

Remarks

The events are not sent immediately. They are scheduled to be sent using a pool thread. The effect is that the send occurs asynchronously. This is very important for a number of non obvious reasons. The remoting infrastructure will flow thread local variables (stored in the CallContext), if they are marked as ILogicalThreadAffinative, across the remoting boundary. If the server is not contactable then the remoting infrastructure will clear the ILogicalThreadAffinative objects from the CallContext. To prevent a logging failure from having side effects on the calling application the remoting call must be made from a separate thread to the one used by the application. A ThreadPool thread is used for this. If no ThreadPool thread is available then the events will block in the thread pool manager until a thread is available.

See Also

RemotingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.Exists_overload_1.html0000644000175000017500000000573310412737544026433 0ustar slomoslomo LoggerManager.Exists Method (String, String)
log4net SDK Reference

LoggerManager.Exists Method (String, String)

Returns the named logger if it exists.

[Visual Basic]
Overloads Public Shared Function Exists( _
   ByVal repository As String, _
   ByVal name As String _
) As ILogger
[C#]
public static ILogger Exists(
   string repository,
   string name
);

Parameters

repository
The repository to lookup in.
name
The fully qualified logger name to look for.

Return Value

The logger found, or null if the named logger does not exist in the specified repository.

Remarks

If the named logger exists (in the specified repository) then it returns a reference to the logger, otherwise it returns null.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.Exists Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Critical.html0000644000175000017500000000356510412737542023127 0ustar slomoslomo Level.Critical Field
log4net SDK Reference

Level.Critical Field

The Critical level designates very severe error events. Critical condition, critical.

[Visual Basic]
Public Shared ReadOnly Critical As Level
[C#]
public static readonly Level Critical;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Critical

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.Colors.html0000644000175000017500000000573610412737524027030 0ustar slomoslomo ColoredConsoleAppender.Colors Enumeration
log4net SDK Reference

ColoredConsoleAppender.Colors Enumeration

The enum of possible color values for use with the color mapping method

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
Public Enum ColoredConsoleAppender.Colors
[C#]
public enum ColoredConsoleAppender.Colors

Remarks

The following flags can be combined together to form the colors.

Members

Member NameDescriptionValue
Blue color is blue 1
Green color is green 2
Red color is red 4
White color is white 7
Yellow color is yellow 6
Purple color is purple 5
Cyan color is cyan 3
HighIntensity color is intensified 8

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace | ColoredConsoleAppender


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollectionMethods.html0000644000175000017500000001034310412737560025002 0ustar slomoslomo EmptyCollection Methods
log4net SDK Reference

EmptyCollection Methods

The methods of the EmptyCollection class are listed below. For a complete list of EmptyCollection class members, see the EmptyCollection Members topic.

Public Instance Methods

CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through a collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.FormattingInfoConstructor2.html0000644000175000017500000000637410412737560025633 0ustar slomoslomo FormattingInfo Constructor (Int32, Int32, Boolean)
log4net SDK Reference

FormattingInfo Constructor (Int32, Int32, Boolean)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal min As Integer, _
   ByVal max As Integer, _
   ByVal leftAlign As Boolean _
)
[C#]
public FormattingInfo(
   int min,
   int max,
   bool leftAlign
);

Parameters

min
Missing <param> documentation for min
max
Missing <param> documentation for max
leftAlign
Missing <param> documentation for leftAlign

Remarks

Initializes a new instance of the FormattingInfo class with the specified parameters.

See Also

FormattingInfo Class | log4net.Util Namespace | FormattingInfo Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLogger_overload_4.html0000644000175000017500000000477210412737520025445 0ustar slomoslomo LogManager.GetLogger Method (Type)
log4net SDK Reference

LogManager.GetLogger Method (Type)

Shorthand for GetLogger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal type As Type _
) As ILog
[C#]
public static ILog GetLogger(
   Type type
);

Parameters

type
The full name of type will be used as the name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Get the logger for the fully qualified name of the type specified.

See Also

LogManager Class | log4net Namespace | LogManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverterProperties.html0000644000175000017500000000443310412737562025733 0ustar slomoslomo PatternConverter Properties
log4net SDK Reference

PatternConverter Properties

The properties of the PatternConverter class are listed below. For a complete list of PatternConverter class members, see the PatternConverter Members topic.

Public Instance Properties

FormattingInfo Gets or sets the formatting info for this converter
Next Get the next pattern converter in the chain
Option Gets or sets the option value for this converter

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.Configure_overload_7.html0000644000175000017500000000511310412737540030015 0ustar slomoslomo XmlConfigurator.Configure Method (Stream)
log4net SDK Reference

XmlConfigurator.Configure Method (Stream)

Configures log4net using the specified configuration data stream.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal configStream As Stream _
)
[C#]
public static void Configure(
   Stream configStream
);

Parameters

configStream
A stream to load the XML configuration from.

Remarks

The configuration data must be valid XML. It must contain at least one element called log4net that holds the log4net configuration data.

Note that this method will NOT close the stream parameter.

See Also

XmlConfigurator Class | log4net.Config Namespace | XmlConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.IAppenderMethods.html0000644000175000017500000000401110412737530024350 0ustar slomoslomo IAppender Methods
log4net SDK Reference

IAppender Methods

The methods of the IAppender interface are listed below. For a complete list of IAppender interface members, see the IAppender Members topic.

Public Instance Methods

Close Closes the appender and releases resources.
DoAppend Log the logging event in Appender specific way.

See Also

IAppender Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawLayoutConverter.html0000644000175000017500000000534410412737552024531 0ustar slomoslomo RawLayoutConverter Class
log4net SDK Reference

RawLayoutConverter Class

Type converter for the IRawLayout interface

For a list of all members of this type, see RawLayoutConverter Members.

System.Object
   log4net.Layout.RawLayoutConverter

[Visual Basic]
Public Class RawLayoutConverter
    Implements IConvertFrom
[C#]
public class RawLayoutConverter : IConvertFrom

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Used to convert objects to the IRawLayout interface. Supports converting from the ILayout interface to the IRawLayout interface using the Layout2RawLayoutAdapter.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

RawLayoutConverter Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.IConvertTo.CanConvertTo.html0000644000175000017500000000505510412737566027751 0ustar slomoslomo IConvertTo.CanConvertTo Method
log4net SDK Reference

IConvertTo.CanConvertTo Method 

Returns whether this converter can convert the object to the specified type

[Visual Basic]
Function CanConvertTo( _
   ByVal targetType As Type _
) As Boolean
[C#]
bool CanConvertTo(
   Type targetType
);

Parameters

targetType
A Type that represents the type you want to convert to

Return Value

true if the conversion is possible

Remarks

Test if the type supported by this converter can be converted to the targetType.

See Also

IConvertTo Interface | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.StartTime.html0000644000175000017500000000450410412737544024626 0ustar slomoslomo StartTime Property
log4net SDK Reference

LoggingEvent.StartTime Property

Gets the time when the current process started.

[Visual Basic]
Public Shared ReadOnly Property StartTime As Date
[C#]
public static System.DateTime StartTime {get;}

Property Value

This is the time when this process started.

Remarks

The TimeStamp is stored in the local time zone for this computer.

Tries to get the start time for the current process. Failing that it returns the time of the first call to this property.

Note that AppDomains may be loaded and unloaded within the same process without the process terminating and therefore without the process start time being reset.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.Pattern.PatternLayoutConverterMembers.html0000644000175000017500000001624610412737552030347 0ustar slomoslomo PatternLayoutConverter Members
log4net SDK Reference

PatternLayoutConverter Members

PatternLayoutConverter overview

Public Instance Properties

FormattingInfo (inherited from PatternConverter) Gets or sets the formatting info for this converter
IgnoresException Flag indicating if this converter handles the logging event exception
Next (inherited from PatternConverter) Get the next pattern converter in the chain
Option (inherited from PatternConverter) Gets or sets the option value for this converter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format (inherited from PatternConverter) Write the pattern converter to the writer with appropriate formatting
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
SetNext (inherited from PatternConverter) Set the next pattern converter in the chains
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

PatternLayoutConverter Constructor Initializes a new instance of the PatternLayoutConverter class.

Protected Instance Methods

ConvertOverloaded. Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppenderProperties.html0000644000175000017500000001055610412737530026264 0ustar slomoslomo NetSendAppender Properties
log4net SDK Reference

NetSendAppender Properties

The properties of the NetSendAppender class are listed below. For a complete list of NetSendAppender class members, see the NetSendAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Recipient Gets or sets the message alias to which the message should be sent.
SecurityContext Gets or sets the SecurityContext used to call the NetSend method.
Sender Gets or sets the sender of the message.
Server Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.OnClose.html0000644000175000017500000000357210412737530026312 0ustar slomoslomo ForwardingAppender.OnClose Method
log4net SDK Reference

ForwardingAppender.OnClose Method 

Closes the appender and releases resources.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also

ForwardingAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayoutMembers.html0000644000175000017500000000517010412737550023606 0ustar slomoslomo ILayout Members
log4net SDK Reference

ILayout Members

ILayout overview

Public Instance Properties

ContentType The content type output by this layout.
Footer The footer for the layout format.
Header The header for the layout format.
IgnoresException Flag indicating if this layout handle exceptions

Public Instance Methods

Format Implement this method to create your own layout format.

See Also

ILayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLock.ReleaseReaderLock.html0000644000175000017500000000344210412737564027075 0ustar slomoslomo ReaderWriterLock.ReleaseReaderLock Method
log4net SDK Reference

ReaderWriterLock.ReleaseReaderLock Method 

Decrements the lock count

[Visual Basic]
Public Sub ReleaseReaderLock()
[C#]
public void ReleaseReaderLock();

Remarks

ReleaseReaderLock decrements the lock count. When the count reaches zero, the lock is released.

See Also

ReaderWriterLock Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternStringConstructor2.html0000644000175000017500000000435310412737562025506 0ustar slomoslomo PatternString Constructor (String)
log4net SDK Reference

PatternString Constructor (String)

Constructs a PatternString

[Visual Basic]
Overloads Public Sub New( _
   ByVal pattern As String _
)
[C#]
public PatternString(
   string pattern
);

Parameters

pattern
The pattern to use with this PatternString

Remarks

Initialize a new instance of PatternString with the pattern specified.

See Also

PatternString Class | log4net.Util Namespace | PatternString Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.LockingModelBaseMethods.html0000644000175000017500000001311610412737526030213 0ustar slomoslomo FileAppender.LockingModelBase Methods
log4net SDK Reference

FileAppender.LockingModelBase Methods

The methods of the FileAppender.LockingModelBase class are listed below. For a complete list of FileAppender.LockingModelBase class members, see the FileAppender.LockingModelBase Members topic.

Public Instance Methods

AcquireLock Acquire the lock on the file
CloseFile Close the file
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
OpenFile Open the output file
ReleaseLock Release the lock on the file
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderMethods.html0000644000175000017500000001772310412737524025603 0ustar slomoslomo ConsoleAppender Methods
log4net SDK Reference

ConsoleAppender Methods

The methods of the ConsoleAppender class are listed below. For a complete list of ConsoleAppender class members, see the ConsoleAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

ConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.PropertyFilter.Decide.html0000644000175000017500000000605510412737550025026 0ustar slomoslomo PropertyFilter.Decide Method
log4net SDK Reference

PropertyFilter.Decide Method 

Check if this filter should allow the event to be logged

[Visual Basic]
Overrides Public Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision _
    Implements IFilter.Decide
[C#]
public override FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event being logged

Return Value

see remarks

Implements

IFilter.Decide

Remarks

The event property for the Key is matched against the StringToMatch. If the StringToMatch occurs as a substring within the property value then a match will have occurred. If no match occurs this function will return Neutral allowing other filters to check the event. If a match occurs then the value of AcceptOnMatch is checked. If it is true then Accept is returned otherwise Deny is returned.

See Also

PropertyFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.IsSynchronized.html0000644000175000017500000000511310412737522027706 0ustar slomoslomo IsSynchronized Property
log4net SDK Reference

AppenderCollection.IsSynchronized Property

Gets a value indicating whether access to the collection is synchronized (thread-safe).

[Visual Basic]
Overridable Public ReadOnly Property IsSynchronized As Boolean _
    Implements ICollection.IsSynchronized
[C#]
public virtual bool IsSynchronized {get;}

Implements

ICollection.IsSynchronized

Remarks

Missing <remarks> documentation for P:log4net.Appender.AppenderCollection.IsSynchronized

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.BasicConfigurator.Configure_overload_3.html0000644000175000017500000000527610412737536030311 0ustar slomoslomo BasicConfigurator.Configure Method (ILoggerRepository)
log4net SDK Reference

BasicConfigurator.Configure Method (ILoggerRepository)

Initializes the ILoggerRepository with a default configuration.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository _
)
[C#]
public static void Configure(
   ILoggerRepository repository
);

Parameters

repository
The repository to configure.

Remarks

Initializes the specified repository using a ConsoleAppender that will write to Console.Out. The log messages are formatted using the PatternLayout layout object with the DetailConversionPattern layout style.

See Also

BasicConfigurator Class | log4net.Config Namespace | BasicConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.BufferSize.html0000644000175000017500000000526410412737522030327 0ustar slomoslomo BufferSize Property
log4net SDK Reference

BufferingAppenderSkeleton.BufferSize Property

Gets or sets the size of the cyclic buffer used to hold the logging events.

[Visual Basic]
Public Property BufferSize As Integer
[C#]
public int BufferSize {get; set;}

Property Value

The size of the cyclic buffer used to hold the logging events.

Remarks

The BufferSize option takes a positive integer representing the maximum number of logging events to collect in a cyclic buffer. When the BufferSize is reached, oldest events are deleted as new events are added to the buffer. By default the size of the cyclic buffer is 512 events.

If the BufferSize is set to a value less than or equal to 1 then no buffering will occur. The logging event will be delivered synchronously (depending on the Lossy and Evaluator properties). Otherwise the event will be buffered.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.SmtpHost.html0000644000175000017500000000416510412737534025355 0ustar slomoslomo SmtpHost Property
log4net SDK Reference

SmtpAppender.SmtpHost Property

Gets or sets the name of the SMTP relay mail server to use to send the e-mail messages.

[Visual Basic]
Public Property SmtpHost As String
[C#]
public string SmtpHost {get; set;}

Property Value

The name of the e-mail relay server. If SmtpServer is not set, the name of the local SMTP server is used.

Remarks

The name of the e-mail relay server. If SmtpServer is not set, the name of the local SMTP server is used.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMap.Repositories.html0000644000175000017500000000435710412737546025077 0ustar slomoslomo Repositories Property
log4net SDK Reference

WrapperMap.Repositories Property

Gets the map of logger repositories.

[Visual Basic]
Protected ReadOnly Property Repositories As Hashtable
[C#]
protected System.Collections.Hashtable Repositories {get;}

Property Value

Map of logger repositories.

Remarks

Gets the hashtable that is keyed on ILoggerRepository. The values are hashtables keyed on ILogger with the value being the corresponding ILoggerWrapper.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CompositeProperties.Item.html0000644000175000017500000000555010412737560025264 0ustar slomoslomo Item Property
log4net SDK Reference

CompositeProperties.Item Property

Gets the value of a property

[Visual Basic]
Public Default ReadOnly Property Item( _
   ByVal key As String _
) As Object
[C#]
public object this[
   string key
] {get;}

Parameters

key
Missing <param> documentation for key

Property Value

The value for the property with the specified key

Remarks

Looks up the value for the key specified. The PropertiesDictionary collections are searched in the order in which they were added to this collection. The value returned is the value held by the first collection that contains the specified key.

If none of the collections contain the specified key then null is returned.

See Also

CompositeProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyDictionary.Values.html0000644000175000017500000000562210412737560024732 0ustar slomoslomo Values Property
log4net SDK Reference

EmptyDictionary.Values Property

Gets an ICollection containing the values of the EmptyDictionary.

[Visual Basic]
NotOverridable Public ReadOnly Property Values As ICollection _
    Implements IDictionary.Values
[C#]
public System.Collections.ICollection Values {get;}

Property Value

An ICollection containing the values of the EmptyDictionary.

Implements

IDictionary.Values

Remarks

As the collection is empty a EmptyCollection is returned.

See Also

EmptyDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.GetEnumerator.html0000644000175000017500000000421010412737542026156 0ustar slomoslomo LevelCollection.GetEnumerator Method
log4net SDK Reference

LevelCollection.GetEnumerator Method 

Returns an enumerator that can iterate through the LevelCollection.

[Visual Basic]
Overridable Public Function GetEnumerator() As ILevelCollectionEnumerator
[C#]
public virtual ILevelCollectionEnumerator GetEnumerator();

Return Value

An Enumerator for the entire LevelCollection.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.GetEnumerator

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.DatePattern.html0000644000175000017500000000437410412737532027272 0ustar slomoslomo DatePattern Property
log4net SDK Reference

RollingFileAppender.DatePattern Property

Gets or sets the date pattern to be used for generating file names when rolling over on date.

[Visual Basic]
Public Property DatePattern As String
[C#]
public string DatePattern {get; set;}

Property Value

The date pattern to be used for generating file names when rolling over on date.

Remarks

Takes a string in the same format as expected by SimpleDateFormatter.

This property determines the rollover schedule when rolling over on date.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppender.html0000644000175000017500000000711710412737536023712 0ustar slomoslomo TraceAppender Class
log4net SDK Reference

TraceAppender Class

Appends log events to the Trace system.

For a list of all members of this type, see TraceAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.TraceAppender

[Visual Basic]
Public Class TraceAppender
    Inherits AppenderSkeleton
[C#]
public class TraceAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The application configuration file can be used to control what listeners are actually used. See the MSDN documentation for the Trace class for details on configuring the trace system.

Events are written using the System.Diagnostics.Trace.Write(string,string) method. The event's logger name is passed as the value for the category name to the Write method.

Compact Framework
The Compact Framework does not support the Trace class for any operation except Assert. When using the Compact Framework this appender will write to the Debug system rather than the Trace system. This appender will therefore behave like the DebugAppender.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

TraceAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMapMethods.html0000644000175000017500000001004110412737542023343 0ustar slomoslomo LevelMap Methods
log4net SDK Reference

LevelMap Methods

The methods of the LevelMap class are listed below. For a complete list of LevelMap class members, see the LevelMap Members topic.

Public Instance Methods

AddOverloaded. Create a new Level and add it to the map
Clear Clear the internal maps of all levels
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
LookupWithDefault Lookup a named level from the map
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.WarnFormat_overload_2.html0000644000175000017500000001031010412737516024450 0ustar slomoslomo ILog.WarnFormat Method (String, Object, Object, Object)
log4net SDK Reference

ILog.WarnFormat Method (String, Object, Object, Object)

Logs a formatted message string with the Warn level.

[Visual Basic]
Sub WarnFormat( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object, _
   ByVal arg2 As Object _
)
[C#]
void WarnFormat(
   string format,
   object arg0,
   object arg1,
   object arg2
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format
arg1
An Object to format
arg2
An Object to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

ILog Interface | log4net Namespace | ILog.WarnFormat Overload List | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4jMembers.html0000644000175000017500000002011610412737552026176 0ustar slomoslomo XmlLayoutSchemaLog4j Members
log4net SDK Reference

XmlLayoutSchemaLog4j Members

XmlLayoutSchemaLog4j overview

Public Instance Constructors

XmlLayoutSchemaLog4j Overloaded. Initializes a new instance of the XmlLayoutSchemaLog4j class.

Public Instance Properties

ContentType (inherited from XmlLayoutBase) Gets the content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions
InvalidCharReplacement (inherited from XmlLayoutBase) The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

LocationInfo (inherited from XmlLayoutBase) Gets a value indicating whether to include location information in the XML events.
Version The version of the log4j schema to use.

Public Instance Methods

ActivateOptions (inherited from XmlLayoutBase) Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format (inherited from XmlLayoutBase) Produces a formatted string.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatXml Actually do the writing of the xml
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.FatalFormat_overload_4.html0000644000175000017500000000765410412737546026216 0ustar slomoslomo LogImpl.FatalFormat Method (String, Object)
log4net SDK Reference

LogImpl.FatalFormat Method (String, Object)

Logs a formatted message string with the FATAL level.

[Visual Basic]
Overridable Overloads Public Sub FatalFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
) _
    Implements ILog.FatalFormat
[C#]
public virtual void FatalFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Implements

ILog.FatalFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the FatalFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.FatalFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.ReadOnlyPropertiesDictionary.Contains.html0000644000175000017500000000472310412737564027752 0ustar slomoslomo ReadOnlyPropertiesDictionary.Contains Method
log4net SDK Reference

ReadOnlyPropertiesDictionary.Contains Method 

Test if the dictionary contains a specified key

[Visual Basic]
Public Function Contains( _
   ByVal key As String _
) As Boolean
[C#]
public bool Contains(
   string key
);

Parameters

key
the key to look for

Return Value

true if the dictionary contains the specified key

Remarks

Test if the dictionary contains a specified key

See Also

ReadOnlyPropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.ShutdownRepository_overload_1.html0000644000175000017500000000557610412737544031074 0ustar slomoslomo LoggerManager.ShutdownRepository Method (String)
log4net SDK Reference

LoggerManager.ShutdownRepository Method (String)

Shuts down the repository for the repository specified.

[Visual Basic]
Overloads Public Shared Sub ShutdownRepository( _
   ByVal repository As String _
)
[C#]
public static void ShutdownRepository(
   string repository
);

Parameters

repository
The repository to shutdown.

Remarks

Calling this method will safely close and remove all appenders in all the loggers including root contained in the repository for the repository specified.

Some appenders need to be closed before the application exists. Otherwise, pending logging events might be lost.

The shutdown 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.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.ShutdownRepository Overload List


log4net-1.2.10/doc/release/sdk/tree.js0000644000175000017500000001306510412737566016476 0ustar slomoslomo/* Copyright © 2002 Jean-Claude Manoli [jc@manoli.net] * * This software is provided 'as-is', without any express or implied warranty. * In no event will the author(s) be held liable for any damages arising from * the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * * 2. Altered source versions must be plainly marked as such, and must not * be misrepresented as being the original software. * * 3. This notice may not be removed or altered from any source distribution. */ var treeSelected = null; //last treeNode clicked //pre-load tree nodes images var imgPlus = new Image(); imgPlus.src="treenodeplus.gif"; var imgMinus = new Image(); imgMinus.src="treenodeminus.gif"; var imgDot = new Image(); imgPlus.src="treenodedot.gif"; function findNode(el) { // Takes element and determines if it is a treeNode. // If not, seeks a treeNode in its parents. while (el != null) { if (el.className == "treeNode") { break; } else { el = el.parentNode; } } return el; } function clickAnchor(el) { // handles click on a TOC link // expandNode(el.parentNode); selectNode(el.parentNode); el.blur(); } function selectNode(el) { // Un-selects currently selected node, if any, and selects the specified node // if (treeSelected != null) { setSubNodeClass(treeSelected, 'A', 'treeUnselected'); } setSubNodeClass(el, 'A', 'treeSelected'); treeSelected = el; } function setSubNodeClass(el, nodeName, className) { // Sets the specified class name on el's first child that is a nodeName element // var child; for (var i=0; i < el.childNodes.length; i++) { child = el.childNodes[i]; if (child.nodeName == nodeName) { child.className = className; break; } } } function expandCollapse(el) { // If source treeNode has child nodes, expand or collapse view of treeNode // if (el == null) return; //Do nothing if it isn't a treeNode var child; var imgEl; for(var i=0; i < el.childNodes.length; i++) { child = el.childNodes[i]; if (child.src) { imgEl = child; } else if (child.className == "treeSubnodesHidden") { child.className = "treeSubnodes"; imgEl.src = "treenodeminus.gif"; break; } else if (child.className == "treeSubnodes") { child.className = "treeSubnodesHidden"; imgEl.src = "treenodeplus.gif"; break; } } } function expandNode(el) { // If source treeNode has child nodes, expand it // var child; var imgEl; for(var i=0; i < el.childNodes.length; i++) { child = el.childNodes[i]; if (child.src) { imgEl = child; } if (child.className == "treeSubnodesHidden") { child.className = "treeSubnodes"; imgEl.src = "treenodeminus.gif"; break; } } } function syncTree(href) { // Selects and scrolls into view the node that references the specified URL // var loc = new String(); loc = href; if (loc.substring(0, 7) == 'file://') { loc = 'file:///' + loc.substring(7, loc.length); loc = loc.replace(/\\/g, '/'); } var base = loc.substr(0, loc.lastIndexOf('/') + 1); var tocEl = findHref(document.getElementById('treeRoot'), loc, base); if (tocEl != null) { selectAndShowNode(tocEl); } } function findHref(node, href, base) { // find the element with the specified href value // var el; var anchors = node.getElementsByTagName('A'); for (var i = 0; i < anchors.length; i++) { el = anchors[i]; var aref = new String(); aref = el.getAttribute('href'); if ((aref.substring(0, 7) != 'http://') && (aref.substring(0, 8) != 'https://') && (aref.substring(0, 7) != 'file://')) { aref = base + aref; } if (aref == href) { return el; } } return null; } function selectAndShowNode(node) { // Selects and scrolls into view the specified node // var el = findNode(node); if (el != null) { selectNode(el); do { expandNode(el); el = findNode(el.parentNode); } while ((el != null)) //vertical scroll element into view var windowTop; var windowBottom; var treeDiv = document.getElementById('tree'); var ua = window.navigator.userAgent.toLowerCase(); if ((i = ua.indexOf('msie')) != -1) { windowTop = node.offsetTop - treeDiv.scrollTop; windowBottom = treeDiv.clientHeight - windowTop - node.offsetHeight; } else if (ua.indexOf('gecko') != -1) { windowTop = node.offsetTop - treeDiv.offsetTop - treeDiv.scrollTop; windowBottom = treeDiv.clientHeight - windowTop - node.offsetHeight; } else { return; } if (windowTop < 0) { treeDiv.scrollTop += windowTop - 18; return; } if (windowBottom < 0) { treeDiv.scrollTop -= windowBottom - 18; return; } } } function resizeTree() { var treeDiv = document.getElementById('tree'); //treeDiv.setAttribute('style', 'width: ' + document.body.offsetWidth + 'px; height: ' + (document.body.offsetHeight - 27) + 'px;'); treeDiv.style.width = document.documentElement.offsetWidth; treeDiv.style.height = document.documentElement.offsetHeight - 27; } log4net-1.2.10/doc/release/sdk/log4net.Layout.RawUtcTimeStampLayout.html0000644000175000017500000000501310412737552025132 0ustar slomoslomo RawUtcTimeStampLayout Class
log4net SDK Reference

RawUtcTimeStampLayout Class

Extract the date from the LoggingEvent

For a list of all members of this type, see RawUtcTimeStampLayout Members.

System.Object
   log4net.Layout.RawUtcTimeStampLayout

[Visual Basic]
Public Class RawUtcTimeStampLayout
    Implements IRawLayout
[C#]
public class RawUtcTimeStampLayout : IRawLayout

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Extract the date from the LoggingEvent

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

RawUtcTimeStampLayout Members | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppender.Append_overloads.html0000644000175000017500000000420210412737536027166 0ustar slomoslomo Append Method
log4net SDK Reference

TraceAppender.Append Method

Writes the logging event to the Trace system.

Overload List

Writes the logging event to the Trace system.

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

TraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetAllRepositories.html0000644000175000017500000000377210412737516025234 0ustar slomoslomo LogManager.GetAllRepositories Method
log4net SDK Reference

LogManager.GetAllRepositories Method 

Gets the list of currently defined repositories.

[Visual Basic]
Public Shared Function GetAllRepositories() As ILoggerRepository()
[C#]
public static ILoggerRepository[] GetAllRepositories();

Return Value

An array of all the known ILoggerRepository objects.

Remarks

Get an array of all the ILoggerRepository objects that have been created.

See Also

LogManager Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawPropertyLayoutProperties.html0000644000175000017500000000362410412737552026462 0ustar slomoslomo RawPropertyLayout Properties
log4net SDK Reference

RawPropertyLayout Properties

The properties of the RawPropertyLayout class are listed below. For a complete list of RawPropertyLayout class members, see the RawPropertyLayout Members topic.

Public Instance Properties

Key The name of the value to lookup in the LoggingEvent Properties collection.

See Also

RawPropertyLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogExceptionConstructor3.html0000644000175000017500000000531410412737544025254 0ustar slomoslomo LogException Constructor (String, Exception)
log4net SDK Reference

LogException Constructor (String, Exception)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String, _
   ByVal innerException As Exception _
)
[C#]
public LogException(
   string message,
   Exception innerException
);

Parameters

message
A message to include with the exception.
innerException
A nested exception to include.

Remarks

Initializes a new instance of the LogException class with the specified message and inner exception.

See Also

LogException Class | log4net.Core Namespace | LogException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.AddMapping.html0000644000175000017500000000446010412737520030233 0ustar slomoslomo AnsiColorTerminalAppender.AddMapping Method
log4net SDK Reference

AnsiColorTerminalAppender.AddMapping Method 

Add a mapping of level to color

[Visual Basic]
Public Sub AddMapping( _
   ByVal mapping As LevelColors _
)
[C#]
public void AddMapping(
   LevelColors mapping
);

Parameters

mapping
The mapping to add

Remarks

Add a AnsiColorTerminalAppender.LevelColors mapping to this appender. Each mapping defines the foreground and background colours for a level.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayoutMethods.html0000644000175000017500000000345310412737550023621 0ustar slomoslomo ILayout Methods
log4net SDK Reference

ILayout Methods

The methods of the ILayout interface are listed below. For a complete list of ILayout interface members, see the ILayout Members topic.

Public Instance Methods

Format Implement this method to create your own layout format.

See Also

ILayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.NextCheckDate.html0000644000175000017500000000635410412737532027531 0ustar slomoslomo RollingFileAppender.NextCheckDate Method
log4net SDK Reference

RollingFileAppender.NextCheckDate Method 

Get the start time of the next window for the current rollpoint

[Visual Basic]
Protected Function NextCheckDate( _
   ByVal currentDateTime As Date, _
   ByVal rollPoint As RollPoint _
) As Date
[C#]
protected DateTime NextCheckDate(
   DateTime currentDateTime,
   RollPoint rollPoint
);

Parameters

currentDateTime
the current date
rollPoint
the type of roll point we are working with

Return Value

the start time for the next roll point an interval after the currentDateTime date

Remarks

Returns the date of the next roll point after the currentDateTime date passed to the method.

The basic strategy is to subtract the time parts that are less significant than the rollpoint from the current time. This should roll the time back to the start of the time window for the current rollpoint. Then we add 1 window worth of time and get the start time of the next window for the rollpoint.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.GetTypeFromString_overload_3.html0000644000175000017500000001101310412737564030153 0ustar slomoslomo SystemInfo.GetTypeFromString Method (Assembly, String, Boolean, Boolean)
log4net SDK Reference

SystemInfo.GetTypeFromString Method (Assembly, String, Boolean, Boolean)

Loads the type specified in the type string.

[Visual Basic]
Overloads Public Shared Function GetTypeFromString( _
   ByVal relativeAssembly As Assembly, _
   ByVal typeName As String, _
   ByVal throwOnError As Boolean, _
   ByVal ignoreCase As Boolean _
) As Type
[C#]
public static Type GetTypeFromString(
   Assembly relativeAssembly,
   string typeName,
   bool throwOnError,
   bool ignoreCase
);

Parameters

relativeAssembly
An assembly to load the type from.
typeName
The name of the type to load.
throwOnError
Flag set to true to throw an exception if the type cannot be loaded.
ignoreCase
true to ignore the case of the type name; otherwise, false

Return Value

The type loaded or null if it could not be loaded.

Remarks

If the type name is fully qualified, i.e. if contains an assembly name in the type name, the type will be loaded from the system using GetType.

If the type name is not fully qualified it will be loaded from the specified assembly. If the type is not found in the assembly then all the loaded assemblies will be searched for the type.

See Also

SystemInfo Class | log4net.Util Namespace | SystemInfo.GetTypeFromString Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.InfoFormat_overload_1.html0000644000175000017500000001040310412737546026041 0ustar slomoslomo LogImpl.InfoFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

LogImpl.InfoFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the INFO level.

[Visual Basic]
Overridable Overloads Public Sub InfoFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.InfoFormat
[C#]
public virtual void InfoFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.InfoFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.InfoFormat Overload List


././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.OnConfigurationReset.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.OnConfigurationReset.html0000644000175000017500000000454710412737554032754 0ustar slomoslomo LoggerRepositorySkeleton.OnConfigurationReset Method
log4net SDK Reference

LoggerRepositorySkeleton.OnConfigurationReset Method 

Notify the registered listeners that the repository has had its configuration reset

[Visual Basic]
Overridable Protected Sub OnConfigurationReset( _
   ByVal e As EventArgs _
)
[C#]
protected virtual void OnConfigurationReset(
   EventArgs e
);

Parameters

e
Empty EventArgs

Remarks

Notify any listeners that this repository's configuration has been reset.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.To.html0000644000175000017500000000374210412737534024156 0ustar slomoslomo To Property
log4net SDK Reference

SmtpAppender.To Property

Gets or sets a semicolon-delimited list of recipient e-mail addresses.

[Visual Basic]
Public Property To As String
[C#]
public string To {get; set;}

Property Value

A semicolon-delimited list of e-mail addresses.

Remarks

A semicolon-delimited list of recipient e-mail addresses.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_2.html0000644000175000017500000000567710412737536027713 0ustar slomoslomo DOMConfigurator.Configure Method (ILoggerRepository)
log4net SDK Reference

DOMConfigurator.Configure Method (ILoggerRepository)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Automatically configures the ILoggerRepository using settings stored in the application's configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal repository As ILoggerRepository _
)
[C#]
public static void Configure(
   ILoggerRepository repository
);

Parameters

repository
The repository to configure.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

Each application has a configuration file. This has the same name as the application with '.config' appended. This file is XML and calling this function prompts the configurator to look in that file for a section called log4net that contains the configuration data.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4jMethods.html0000644000175000017500000001254210412737552026213 0ustar slomoslomo XmlLayoutSchemaLog4j Methods
log4net SDK Reference

XmlLayoutSchemaLog4j Methods

The methods of the XmlLayoutSchemaLog4j class are listed below. For a complete list of XmlLayoutSchemaLog4j class members, see the XmlLayoutSchemaLog4j Members topic.

Public Instance Methods

ActivateOptions (inherited from XmlLayoutBase) Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format (inherited from XmlLayoutBase) Produces a formatted string.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatXml Actually do the writing of the xml
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.MemoryAppenderProperties.html0000644000175000017500000001002010412737530026156 0ustar slomoslomo MemoryAppender Properties
log4net SDK Reference

MemoryAppender Properties

The properties of the MemoryAppender class are listed below. For a complete list of MemoryAppender class members, see the MemoryAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix Gets or sets the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventDataObsolete. Gets or sets a value indicating whether only part of the logging event data should be fixed.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

See Also

MemoryAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.Close.html0000644000175000017500000000327510412737562024551 0ustar slomoslomo QuietTextWriter.Close Method
log4net SDK Reference

QuietTextWriter.Close Method 

Closes the underlying output writer.

[Visual Basic]
Overrides Public Sub Close()
[C#]
public override void Close();

Remarks

Closes the underlying output writer.

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.ResetConfiguration_overloads.html0000644000175000017500000000371010412737544030722 0ustar slomoslomo ResetConfiguration Method
log4net SDK Reference

LoggerManager.ResetConfiguration Method

Resets all values contained in this repository instance to their defaults.

Overload List

Resets all values contained in this repository instance to their defaults.

public static void ResetConfiguration(Assembly);

Resets all values contained in this repository instance to their defaults.

public static void ResetConfiguration(string);

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.TryParse_overload_2.html0000644000175000017500000000627510412737564026345 0ustar slomoslomo SystemInfo.TryParse Method (String, Int64)
log4net SDK Reference

SystemInfo.TryParse Method (String, Int64)

Parse a string into an Int64 value

[Visual Basic]
Overloads Public Shared Function TryParse( _
   ByVal s As String, _
   ByRef val As Long _
) As Boolean
[C#]
public static bool TryParse(
   string s,
   out long val
);

Parameters

s
the string to parse
val
out param where the parsed value is placed

Return Value

true if the string was able to be parsed into an integer

Remarks

Attempts to parse the string into an integer. If the string cannot be parsed then this method returns false. The method does not throw an exception.

See Also

SystemInfo Class | log4net.Util Namespace | SystemInfo.TryParse Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.ITriggeringEventEvaluator.html0000644000175000017500000000540010412737542025414 0ustar slomoslomo ITriggeringEventEvaluator Interface
log4net SDK Reference

ITriggeringEventEvaluator Interface

Test if an LoggingEvent triggers an action

For a list of all members of this type, see ITriggeringEventEvaluator Members.

[Visual Basic]
Public Interface ITriggeringEventEvaluator
[C#]
public interface ITriggeringEventEvaluator

Types that implement ITriggeringEventEvaluator

Type Description
LevelEvaluator An evaluator that triggers at a threshold level

Remarks

Implementations of this interface allow certain appenders to decide when to perform an appender specific action.

The action or behavior triggered is defined by the implementation.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

ITriggeringEventEvaluator Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLockConstructor.html0000644000175000017500000000314510412737564026030 0ustar slomoslomo ReaderWriterLock Constructor
log4net SDK Reference

ReaderWriterLock Constructor 

Constructor

[Visual Basic]
Public Sub New()
[C#]
public ReaderWriterLock();

Remarks

Initializes a new instance of the ReaderWriterLock class.

See Also

ReaderWriterLock Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeletonMembers.html0000644000175000017500000003110110412737522027564 0ustar slomoslomo BufferingAppenderSkeleton Members
log4net SDK Reference

BufferingAppenderSkeleton Members

BufferingAppenderSkeleton overview

Public Instance Properties

BufferSize Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventDataObsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FlushOverloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

BufferingAppenderSkeleton Overloaded. Initializes a new instance of the BufferingAppenderSkeleton class.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Close this appender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Sends the events.
SendFromBuffer Sends the contents of the buffer.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMap.CreateNewWrapperObject.html0000644000175000017500000000453110412737546026747 0ustar slomoslomo WrapperMap.CreateNewWrapperObject Method
log4net SDK Reference

WrapperMap.CreateNewWrapperObject Method 

Creates the wrapper object for the specified logger.

[Visual Basic]
Overridable Protected Function CreateNewWrapperObject( _
   ByVal logger As ILogger _
) As ILoggerWrapper
[C#]
protected virtual ILoggerWrapper CreateNewWrapperObject(
   ILogger logger
);

Parameters

logger
The logger to wrap in a wrapper.

Return Value

The wrapper object for the logger.

Remarks

This implementation uses the WrapperCreationHandler passed to the constructor to create the wrapper. This method can be overridden in a subclass.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfiguratorMembers.html0000644000175000017500000001030610412737540025267 0ustar slomoslomo XmlConfigurator Members
log4net SDK Reference

XmlConfigurator Members

XmlConfigurator overview

Public Static (Shared) Methods

ConfigureOverloaded. Automatically configures the log4net system based on the application's configuration settings.
ConfigureAndWatchOverloaded. Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

XmlConfigurator Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.InternalDebugging.html0000644000175000017500000000537410412737560025126 0ustar slomoslomo InternalDebugging Property
log4net SDK Reference

LogLog.InternalDebugging Property

Gets or sets a value indicating whether log4net internal logging is enabled or disabled.

[Visual Basic]
Public Shared Property InternalDebugging As Boolean
[C#]
public static bool InternalDebugging {get; set;}

Property Value

true if log4net internal logging is enabled, otherwise false.

Remarks

When set to true, internal debug level logging will be displayed.

This value can be set by setting the application setting log4net.Internal.Debug in the application configuration file.

The default value is false, i.e. debugging is disabled.

Example

The following example enables internal debugging using the application configuration file :

[XML]
<configuration>
    <appSettings>
        <add key="log4net.Internal.Debug" value="true" />
    </appSettings>
</configuration>

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overload_3.html0000644000175000017500000000617410412737556027613 0ustar slomoslomo Logger.Log Method (Level, Object, Exception)
log4net SDK Reference

Logger.Log Method (Level, Object, Exception)

This is the most generic printing method. This generic form is intended to be used by wrappers

[Visual Basic]
Overridable Overloads Public Sub Log( _
   ByVal level As Level, _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
public virtual void Log(
   Level level,
   object message,
   Exception exception
);

Parameters

level
The level of the message to be logged.
message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

Generate a logging event for the specified level using the message.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.Log Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelMatchFilter.LevelToMatch.html0000644000175000017500000000373310412737550026400 0ustar slomoslomo LevelToMatch Property
log4net SDK Reference

LevelMatchFilter.LevelToMatch Property

The Level that the filter will match

[Visual Basic]
Public Property LevelToMatch As Level
[C#]
public log4net.Core.Level LevelToMatch {get; set;}

Remarks

The level that this filter will attempt to match against the LoggingEvent level. If a match is found then the result depends on the value of AcceptOnMatch.

See Also

LevelMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.Appenders.html0000644000175000017500000000477310412737556026701 0ustar slomoslomo Appenders Property
log4net SDK Reference

Logger.Appenders Property

Get the appenders contained in this logger as an ICollection.

[Visual Basic]
Overridable Public ReadOnly Property Appenders As AppenderCollection _
    Implements IAppenderAttachable.Appenders
[C#]
public virtual log4net.Appender.AppenderCollection Appenders {get;}

Implements

IAppenderAttachable.Appenders

Remarks

Get the appenders contained in this logger as an ICollection. If no appenders can be found, then a EmptyCollection is returned.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.NetSendAppenderMembers.html0000644000175000017500000002705210412737530025521 0ustar slomoslomo NetSendAppender Members
log4net SDK Reference

NetSendAppender Members

NetSendAppender overview

Protected Static (Shared) Methods

NetMessageBufferSend Sends a buffer of information to a registered message alias.

Public Instance Constructors

NetSendAppender Constructor Initializes the appender.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Recipient Gets or sets the message alias to which the message should be sent.
SecurityContext Gets or sets the SecurityContext used to call the NetSend method.
Sender Gets or sets the sender of the message.
Server Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

NetSendAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginSkeleton.Shutdown.html0000644000175000017500000000400710412737554025445 0ustar slomoslomo PluginSkeleton.Shutdown Method
log4net SDK Reference

PluginSkeleton.Shutdown Method 

Is called when the plugin is to shutdown.

[Visual Basic]
Overridable Public Sub Shutdown() _
    Implements IPlugin.Shutdown
[C#]
public virtual void Shutdown();

Implements

IPlugin.Shutdown

Remarks

This method is called to notify the plugin that it should stop operating and should detach from the repository.

See Also

PluginSkeleton Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilter.AcceptOnMatch.html0000644000175000017500000000474410412737550026724 0ustar slomoslomo AcceptOnMatch Property
log4net SDK Reference

StringMatchFilter.AcceptOnMatch Property

Accept when matching StringToMatch or RegexToMatch

[Visual Basic]
Public Property AcceptOnMatch As Boolean
[C#]
public bool AcceptOnMatch {get; set;}

Remarks

The AcceptOnMatch property is a flag that determines the behavior when a matching Level is found. If the flag is set to true then the filter will Accept the logging event, otherwise it will Neutral the event.

The default is true i.e. to Accept the event.

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.AliasRepositoryAttribute.html0000644000175000017500000000655410412737536025665 0ustar slomoslomo AliasRepositoryAttribute Class
log4net SDK Reference

AliasRepositoryAttribute Class

Assembly level attribute that specifies a repository to alias to this assembly's repository.

For a list of all members of this type, see AliasRepositoryAttribute Members.

System.Object
   System.Attribute
      log4net.Config.AliasRepositoryAttribute
         log4net.Config.AliasDomainAttribute

[Visual Basic]
Public Class AliasRepositoryAttribute
    Inherits Attribute
[C#]
public class AliasRepositoryAttribute : Attribute

Thread Safety

This type is not safe for multithreaded operations.

Remarks

An assembly's logger repository is defined by its RepositoryAttribute, however this can be overridden by an assembly loaded before the target assembly.

An assembly can alias another assembly's repository to its repository by specifying this attribute with the name of the target repository.

This attribute can only be specified on the assembly and may be used as many times as necessary to alias all the required repositories.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

AliasRepositoryAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.PropertyFilterMembers.html0000644000175000017500000002034510412737550025163 0ustar slomoslomo PropertyFilter Members
log4net SDK Reference

PropertyFilter Members

PropertyFilter overview

Public Instance Constructors

PropertyFilter Constructor Default constructor

Public Instance Properties

AcceptOnMatch (inherited from StringMatchFilter) Accept when matching StringToMatch or RegexToMatch
Key The key to lookup in the event properties and then match against.
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch (inherited from StringMatchFilter) Sets the regular expression to match
StringToMatch (inherited from StringMatchFilter) Sets the static string to match

Public Instance Methods

ActivateOptions (inherited from StringMatchFilter) Initialize and precompile the Regex if required
Decide Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_acceptOnMatch (inherited from StringMatchFilter) Flag to indicate the behavior when we have a match
m_regexToMatch (inherited from StringMatchFilter) A regex object to match (generated from m_stringRegexToMatch)
m_stringRegexToMatch (inherited from StringMatchFilter) A string regex to match
m_stringToMatch (inherited from StringMatchFilter) The string to substring match against the message

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PropertyFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.ConvertTypeTo.html0000644000175000017500000000555010412737562026276 0ustar slomoslomo OptionConverter.ConvertTypeTo Method
log4net SDK Reference

OptionConverter.ConvertTypeTo Method 

Converts an object to the target type.

[Visual Basic]
Public Shared Function ConvertTypeTo( _
   ByVal sourceInstance As Object, _
   ByVal targetType As Type _
) As Object
[C#]
public static object ConvertTypeTo(
   object sourceInstance,
   Type targetType
);

Parameters

sourceInstance
The object to convert to the target type.
targetType
The type to convert to.

Return Value

The converted object.

Remarks

Converts an object to the target type.

See Also

OptionConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PropertiesDictionaryConstructor.html0000644000175000017500000000337510412737562027005 0ustar slomoslomo PropertiesDictionary Constructor
log4net SDK Reference

PropertiesDictionary Constructor

Constructor

Overload List

Constructor

public PropertiesDictionary();

Constructor

public PropertiesDictionary(ReadOnlyPropertiesDictionary);

See Also

PropertiesDictionary Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppenderParameter.Scale.html0000644000175000017500000000436410412737520026707 0ustar slomoslomo Scale Property
log4net SDK Reference

AdoNetAppenderParameter.Scale Property

Gets or sets the scale for this parameter.

[Visual Basic]
Public Property Scale As Byte
[C#]
public byte Scale {get; set;}

Property Value

The scale for this parameter.

Remarks

The number of decimal places to which Value is resolved.

This property is optional. If not specified the ADO.NET provider will attempt to infer the scale from the value.

See Also

AdoNetAppenderParameter Class | log4net.Appender Namespace | Scale


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttributeMembers.html0000644000175000017500000001232110412737536025272 0ustar slomoslomo PluginAttribute Members
log4net SDK Reference

PluginAttribute Members

PluginAttribute overview

Public Instance Constructors

PluginAttribute Overloaded. Initializes a new instance of the PluginAttribute class.

Public Instance Properties

Type Gets or sets the type for the plugin.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.
TypeName Gets or sets the type name for the plugin.

Public Instance Methods

CreatePlugin Creates the plugin object defined by this attribute.
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString Returns a representation of the properties of this object.

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternString.AddConverter_overload_1.html0000644000175000017500000000457610412737562027657 0ustar slomoslomo PatternString.AddConverter Method (ConverterInfo)
log4net SDK Reference

PatternString.AddConverter Method (ConverterInfo)

Add a converter to this PatternString

[Visual Basic]
Overloads Public Sub AddConverter( _
   ByVal converterInfo As ConverterInfo _
)
[C#]
public void AddConverter(
   ConverterInfo converterInfo
);

Parameters

converterInfo
the converter info

Remarks

This version of the method is used by the configurator. Programmatic users should use the alternative AddConverter method.

See Also

PatternString Class | log4net.Util Namespace | PatternString.AddConverter Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManagerMembers.html0000644000175000017500000001566410412737544024361 0ustar slomoslomo LoggerManager Members
log4net SDK Reference

LoggerManager Members

LoggerManager overview

Public Static (Shared) Properties

RepositorySelector Gets or sets the repository selector used by the LogManager.

Public Static (Shared) Methods

CreateDomainOverloaded. Creates a repository with the specified name.
CreateRepositoryOverloaded. Creates a repository with the specified name.
ExistsOverloaded. Returns the named logger if it exists.
GetAllRepositories Gets an array of all currently defined repositories.
GetCurrentLoggersOverloaded. Returns all the currently defined loggers in the specified repository.
GetLoggerOverloaded. Retrieves or creates a named logger.
GetLoggerRepositoryOverloaded. Return the default ILoggerRepository instance.
GetRepositoryOverloaded. Return the default ILoggerRepository instance.
ResetConfigurationOverloaded. Resets all values contained in this repository instance to their defaults.
Shutdown Shuts down the log4net system.
ShutdownRepositoryOverloaded. Shuts down the repository for the repository specified.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LoggerManager Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLock.AcquireWriterLock.html0000644000175000017500000000336410412737564027163 0ustar slomoslomo ReaderWriterLock.AcquireWriterLock Method
log4net SDK Reference

ReaderWriterLock.AcquireWriterLock Method 

Acquires the writer lock

[Visual Basic]
Public Sub AcquireWriterLock()
[C#]
public void AcquireWriterLock();

Remarks

This method blocks if another thread has a reader lock or writer lock.

See Also

ReaderWriterLock Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBufferMethods.html0000644000175000017500000001262210412737560024232 0ustar slomoslomo CyclicBuffer Methods
log4net SDK Reference

CyclicBuffer Methods

The methods of the CyclicBuffer class are listed below. For a complete list of CyclicBuffer class members, see the CyclicBuffer Members topic.

Public Instance Methods

Append Appends a loggingEvent to the buffer.
Clear Clear the buffer
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
PopAll Pops all the logging events from the buffer into an array.
PopOldest Get and remove the oldest event in the buffer.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriterMembers.html0000644000175000017500000002467710412737562025031 0ustar slomoslomo QuietTextWriter Members
log4net SDK Reference

QuietTextWriter Members

QuietTextWriter overview

Public Instance Constructors

QuietTextWriter Constructor Constructor

Public Instance Properties

Closed Gets a value indicating whether this writer is closed.
Encoding (inherited from TextWriterAdapter) The Encoding in which the output is written
ErrorHandler Gets or sets the error handler that all errors are passed to.
FormatProvider (inherited from TextWriterAdapter) Gets an object that controls formatting
NewLine (inherited from TextWriterAdapter) Gets or sets the line terminator string used by the TextWriter

Public Instance Methods

Close Closes the underlying output writer.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriterAdapter) Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteOverloaded. Writes a string to the output.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Fields

CoreNewLine (inherited from TextWriter) Stores the new line characters used for this TextWriter .

Protected Instance Properties

Writer (inherited from TextWriterAdapter) Gets or sets the underlying TextWriter.

Protected Instance Methods

Dispose (inherited from TextWriterAdapter) Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetLogger_overload_3.html0000644000175000017500000000565610412737544027041 0ustar slomoslomo LoggerManager.GetLogger Method (String, Type)
log4net SDK Reference

LoggerManager.GetLogger Method (String, Type)

Shorthand for GetLogger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repository As String, _
   ByVal type As Type _
) As ILogger
[C#]
public static ILogger GetLogger(
   string repository,
   Type type
);

Parameters

repository
The repository to lookup in.
type
The type of which the fullname will be used as the name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Gets the logger for the fully qualified name of the type specified.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.GetEnumerator.html0000644000175000017500000000430710412737522027520 0ustar slomoslomo AppenderCollection.GetEnumerator Method
log4net SDK Reference

AppenderCollection.GetEnumerator Method 

Returns an enumerator that can iterate through the AppenderCollection.

[Visual Basic]
Overridable Public Function GetEnumerator() As IAppenderCollectionEnumerator
[C#]
public virtual IAppenderCollectionEnumerator GetEnumerator();

Return Value

An Enumerator for the entire AppenderCollection.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.GetEnumerator

See Also

AppenderCollection Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.AddConverter_overload_2.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConverterRegistry.AddConverter_overload_20000644000175000017500000000601410412737566032575 0ustar slomoslomo ConverterRegistry.AddConverter Method (Type, Type)
log4net SDK Reference

ConverterRegistry.AddConverter Method (Type, Type)

Adds a converter for a specific type.

[Visual Basic]
Overloads Public Shared Sub AddConverter( _
   ByVal destinationType As Type, _
   ByVal converterType As Type _
)
[C#]
public static void AddConverter(
   Type destinationType,
   Type converterType
);

Parameters

destinationType
The type being converted to.
converterType
The type of the type converter to use to convert to the destination type.

Remarks

Adds a converter Type for a specific type.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace | ConverterRegistry.AddConverter Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.GetLogger.html0000644000175000017500000000542710412737554030522 0ustar slomoslomo LoggerRepositorySkeleton.GetLogger Method
log4net SDK Reference

LoggerRepositorySkeleton.GetLogger Method 

Return a new logger instance

[Visual Basic]
MustOverride Public Function GetLogger( _
   ByVal name As String _
) As ILogger _
    Implements ILoggerRepository.GetLogger
[C#]
public abstract ILogger GetLogger(
   string name
);

Parameters

name
The name of the logger to retrieve

Return Value

The logger object with the name specified

Implements

ILoggerRepository.GetLogger

Remarks

Return a new logger instance.

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.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.CreateArgumentOutOfRangeException.html0000644000175000017500000001010710412737564031164 0ustar slomoslomo SystemInfo.CreateArgumentOutOfRangeException Method
log4net SDK Reference

SystemInfo.CreateArgumentOutOfRangeException Method 

Create an ArgumentOutOfRangeException

[Visual Basic]
Public Shared Function CreateArgumentOutOfRangeException( _
   ByVal parameterName As String, _
   ByVal actualValue As Object, _
   ByVal message As String _
) As ArgumentOutOfRangeException
[C#]
public static ArgumentOutOfRangeException CreateArgumentOutOfRangeException(
   string parameterName,
   object actualValue,
   string message
);

Parameters

parameterName
The name of the parameter that caused the exception
actualValue
The value of the argument that causes this exception
message
The message that describes the error

Return Value

the ArgumentOutOfRangeException object

Remarks

Create a new instance of the ArgumentOutOfRangeException class with a specified error message, the parameter name, and the value of the argument.

The Compact Framework does not support the 3 parameter constructor for the ArgumentOutOfRangeException type. This method provides an implementation that works for all platforms.

See Also

SystemInfo Class | log4net.Util Namespace


././@LongLink0000000000000000000000000000016000000000000011562 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEnt0000644000175000017500000000410510412737526032276 0ustar slomoslomo EventLogEntryType Property
log4net SDK Reference

EventLogAppender.Level2EventLogEntryType.EventLogEntryType Property

The EventLogEntryType for this entry

[Visual Basic]
Public Property EventLogEntryType As EventLogEntryType
[C#]
public System.Diagnostics.EventLogEntryType EventLogEntryType {get; set;}

Remarks

Required property. The EventLogEntryType for this entry

See Also

EventLogAppender.Level2EventLogEntryType Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.Configured.html0000644000175000017500000000401410412737554027323 0ustar slomoslomo Configured Property
log4net SDK Reference

ILoggerRepository.Configured Property

Flag indicates if this repository has been configured.

[Visual Basic]
Property Configured As Boolean
[C#]
bool Configured {get; set;}

Property Value

Flag indicates if this repository has been configured.

Remarks

Flag indicates if this repository has been configured.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.Subject.html0000644000175000017500000000374510412737534027011 0ustar slomoslomo Subject Property
log4net SDK Reference

SmtpPickupDirAppender.Subject Property

Gets or sets the subject line of the e-mail message.

[Visual Basic]
Public Property Subject As String
[C#]
public string Subject {get; set;}

Property Value

The subject line of the e-mail message.

Remarks

The subject line of the e-mail message.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandlerConstructor2.html0000644000175000017500000000443310412737562026737 0ustar slomoslomo OnlyOnceErrorHandler Constructor (String)
log4net SDK Reference

OnlyOnceErrorHandler Constructor (String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal prefix As String _
)
[C#]
public OnlyOnceErrorHandler(
   string prefix
);

Parameters

prefix
The prefix to use for each message.

Remarks

Initializes a new instance of the OnlyOnceErrorHandler class with the specified prefix.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace | OnlyOnceErrorHandler Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppenderConstructor3.html0000644000175000017500000000612610412737524026603 0ustar slomoslomo ConsoleAppender Constructor (ILayout, Boolean)
log4net SDK Reference

ConsoleAppender Constructor (ILayout, Boolean)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout & Target properties


Initializes a new instance of the ConsoleAppender class with the specified layout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal writeToErrorStream As Boolean _
)
[C#]
public ConsoleAppender(
   ILayout layout,
   bool writeToErrorStream
);

Parameters

layout
the layout to use for this appender
writeToErrorStream
flag set to true to write to the console error stream

Remarks

When writeToErrorStream is set to true, output is written to the standard error output stream. Otherwise, output is written to the standard output stream.

See Also

ConsoleAppender Class | log4net.Appender Namespace | ConsoleAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.StringMatchFilterMembers.html0000644000175000017500000001732310412737550025564 0ustar slomoslomo StringMatchFilter Members
log4net SDK Reference

StringMatchFilter Members

StringMatchFilter overview

Public Instance Constructors

StringMatchFilter Constructor Default constructor

Public Instance Properties

AcceptOnMatch Accept when matching StringToMatch or RegexToMatch
Next (inherited from FilterSkeleton) Property to get and set the next filter
RegexToMatch Sets the regular expression to match
StringToMatch Sets the static string to match

Public Instance Methods

ActivateOptions Initialize and precompile the Regex if required
Decide Check if this filter should allow the event to be logged
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_acceptOnMatch Flag to indicate the behavior when we have a match
m_regexToMatch A regex object to match (generated from m_stringRegexToMatch)
m_stringRegexToMatch A string regex to match
m_stringToMatch The string to substring match against the message

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

StringMatchFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.FatalFormat_overload_1.html0000644000175000017500000001042010412737546026174 0ustar slomoslomo LogImpl.FatalFormat Method (IFormatProvider, String, Object[])
log4net SDK Reference

LogImpl.FatalFormat Method (IFormatProvider, String, Object[])

Logs a formatted message string with the FATAL level.

[Visual Basic]
Overridable Overloads Public Sub FatalFormat( _
   ByVal provider As IFormatProvider, _
   ByVal format As String, _
   ParamArray args As Object() _
) _
    Implements ILog.FatalFormat
[C#]
public virtual void FatalFormat(
   IFormatProvider provider,
   string format,
   params object[] args
);

Parameters

provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Implements

ILog.FatalFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.FatalFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetLogger_overload_6.html0000644000175000017500000000600010412737520025431 0ustar slomoslomo LogManager.GetLogger Method (Assembly, Type)
log4net SDK Reference

LogManager.GetLogger Method (Assembly, Type)

Shorthand for GetLogger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
   ByVal repositoryAssembly As Assembly, _
   ByVal type As Type _
) As ILog
[C#]
public static ILog GetLogger(
   Assembly repositoryAssembly,
   Type type
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.
type
The full name of type will be used as the name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Gets the logger for the fully qualified name of the type specified.

See Also

LogManager Class | log4net Namespace | LogManager.GetLogger Overload List


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.SimpleDateFormatterConstructor.html0000644000175000017500000000462410412737546030362 0ustar slomoslomo SimpleDateFormatter Constructor
log4net SDK Reference

SimpleDateFormatter Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal format As String _
)
[C#]
public SimpleDateFormatter(
   string format
);

Parameters

format
The format string.

Remarks

Initializes a new instance of the SimpleDateFormatter class with the specified format string.

The format string must be compatible with the options that can be supplied to ToString.

See Also

SimpleDateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.ExclusiveLockConstructor.html0000644000175000017500000000330610412737526030553 0ustar slomoslomo FileAppender.ExclusiveLock Constructor
log4net SDK Reference

FileAppender.ExclusiveLock Constructor 

Initializes a new instance of the FileAppender.ExclusiveLock class.

[Visual Basic]
Public Sub New()
[C#]
public FileAppender.ExclusiveLock();

See Also

FileAppender.ExclusiveLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppenderConstructor.html0000644000175000017500000000333410412737536025647 0ustar slomoslomo UdpAppender Constructor
log4net SDK Reference

UdpAppender Constructor 

Initializes a new instance of the UdpAppender class.

[Visual Basic]
Public Sub New()
[C#]
public UdpAppender();

Remarks

The default constructor initializes all fields to their default values.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.ErrorHandler.html0000644000175000017500000000360610412737562026071 0ustar slomoslomo ErrorHandler Property
log4net SDK Reference

QuietTextWriter.ErrorHandler Property

Gets or sets the error handler that all errors are passed to.

[Visual Basic]
Public Property ErrorHandler As IErrorHandler
[C#]
public log4net.Core.IErrorHandler ErrorHandler {get; set;}

Property Value

The error handler that all errors are passed to.

Remarks

Gets or sets the error handler that all errors are passed to.

See Also

QuietTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ResetConfiguration_overload_3.html0000644000175000017500000000544110412737520027371 0ustar slomoslomo LogManager.ResetConfiguration Method (Assembly)
log4net SDK Reference

LogManager.ResetConfiguration Method (Assembly)

Resets all values contained in this repository instance to their defaults.

[Visual Basic]
Overloads Public Shared Sub ResetConfiguration( _
   ByVal repositoryAssembly As Assembly _
)
[C#]
public static void ResetConfiguration(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository to reset.

Remarks

Reset all values contained in the repository instance to their defaults. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set to its default "off" value.

See Also

LogManager Class | log4net Namespace | LogManager.ResetConfiguration Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppenderConstructor.html0000644000175000017500000000355210412737532027551 0ustar slomoslomo RemoteSyslogAppender Constructor
log4net SDK Reference

RemoteSyslogAppender Constructor 

Initializes a new instance of the RemoteSyslogAppender class.

[Visual Basic]
Public Sub New()
[C#]
public RemoteSyslogAppender();

Remarks

This instance of the RemoteSyslogAppender class is set up to write to a remote syslog daemon.

See Also

RemoteSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollection.CopyTo.html0000644000175000017500000000727410412737560024703 0ustar slomoslomo EmptyCollection.CopyTo Method
log4net SDK Reference

EmptyCollection.CopyTo Method 

Copies the elements of the ICollection to an Array, starting at a particular Array index.

[Visual Basic]
NotOverridable Public Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) _
    Implements ICollection.CopyTo
[C#]
public void CopyTo(
   Array array,
   int index
);

Parameters

array
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.

Implements

ICollection.CopyTo

Remarks

As the collection is empty no values are copied into the array.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.html0000644000175000017500000000715710412737542023413 0ustar slomoslomo LevelCollection Class
log4net SDK Reference

LevelCollection Class

A strongly-typed collection of Level objects.

For a list of all members of this type, see LevelCollection Members.

System.Object
   log4net.Core.LevelCollection

[Visual Basic]
Public Class LevelCollection
    Implements IList, ICollection, IEnumerable, ICloneable
[C#]
public class LevelCollection : IList, ICollection, IEnumerable, ICloneable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Missing <remarks> documentation for T:log4net.Core.LevelCollection

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LevelCollection Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.html0000644000175000017500000001077410412737526023535 0ustar slomoslomo FileAppender Class
log4net SDK Reference

FileAppender Class

Appends logging events to a file.

For a list of all members of this type, see FileAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.TextWriterAppender
         log4net.Appender.FileAppender
            log4net.Appender.RollingFileAppender

[Visual Basic]
Public Class FileAppender
    Inherits TextWriterAppender
[C#]
public class FileAppender : TextWriterAppender

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Logging events are sent to the file specified by the File property.

The file can be opened in either append or overwrite mode by specifying the AppendToFile property. If the file path is relative it is taken as relative from the application base directory. The file encoding can be specified by setting the Encoding property.

The layout's Header and Footer values will be written each time the file is opened and closed respectively. If the AppendToFile property is true then the file may contain multiple copies of the header and footer.

This appender will first try to open the file for writing when ActivateOptions is called. This will typically be during configuration. If the file cannot be opened for writing the appender will attempt to open the file again each time a message is logged to the appender. If the file cannot be opened for writing when a message is logged then the message will be discarded by this appender.

The FileAppender supports pluggable file locking models via the LockingModel property. The default behavior, implemented by FileAppender.ExclusiveLock is to obtain an exclusive write lock on the file until this appender is closed. The alternative model, FileAppender.MinimalLock, only holds a write lock while the appender is writing a logging event.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

FileAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogicalThreadContextPropertiesMembers.html0000644000175000017500000001032610412737560030004 0ustar slomoslomo LogicalThreadContextProperties Members
log4net SDK Reference

LogicalThreadContextProperties Members

LogicalThreadContextProperties overview

Public Instance Properties

Item Gets or sets the value of a property

Public Instance Methods

Clear Clear all the context properties
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Remove Remove a property
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogicalThreadContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.SecurityContext.html0000644000175000017500000000417510412737526026706 0ustar slomoslomo SecurityContext Property
log4net SDK Reference

FileAppender.SecurityContext Property

Gets or sets the SecurityContext used to write to the file.

[Visual Basic]
Public Property SecurityContext As SecurityContext
[C#]
public log4net.Core.SecurityContext SecurityContext {get; set;}

Property Value

The SecurityContext used to write to the file.

Remarks

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollection.AddRange_overload_1.html0000644000175000017500000000615710412737522030524 0ustar slomoslomo AppenderCollection.AddRange Method (ICollection)
log4net SDK Reference

AppenderCollection.AddRange Method (ICollection)

Adds the elements of a IAppender collection to the current AppenderCollection.

[Visual Basic]
Overridable Overloads Public Function AddRange( _
   ByVal col As ICollection _
) As Integer
[C#]
public virtual int AddRange(
   ICollection col
);

Parameters

col
The IAppender collection whose elements should be added to the end of the AppenderCollection.

Return Value

The new Count of the AppenderCollection.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.AddRange(System.Collections.ICollection)

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection.AddRange Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemotingAppender.IRemoteLoggingSinkMethods.html0000644000175000017500000000405210412737532031452 0ustar slomoslomo RemotingAppender.IRemoteLoggingSink Methods
log4net SDK Reference

RemotingAppender.IRemoteLoggingSink Methods

The methods of the RemotingAppender.IRemoteLoggingSink interface are listed below. For a complete list of RemotingAppender.IRemoteLoggingSink interface members, see the RemotingAppender.IRemoteLoggingSink Members topic.

Public Instance Methods

LogEvents Delivers logging events to the remote sink

See Also

RemotingAppender.IRemoteLoggingSink Interface | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.QuietTextWriter.Write_overload_15.html0000644000175000017500000000617210412737562026775 0ustar slomoslomo QuietTextWriter.Write Method (Char[], Int32, Int32)
log4net SDK Reference

QuietTextWriter.Write Method (Char[], Int32, Int32)

Writes a buffer to the underlying writer

[Visual Basic]
Overrides Overloads Public Sub Write( _
   ByVal buffer As Char(), _
   ByVal index As Integer, _
   ByVal count As Integer _
)
[C#]
public override void Write(
   char[] buffer,
   int index,
   int count
);

Parameters

buffer
the buffer to write
index
the start index to write from
count
the number of characters to write

Remarks

Writes a buffer to the underlying writer

See Also

QuietTextWriter Class | log4net.Util Namespace | QuietTextWriter.Write Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderProperties.html0000644000175000017500000000743110412737524027637 0ustar slomoslomo ColoredConsoleAppender Properties
log4net SDK Reference

ColoredConsoleAppender Properties

The properties of the ColoredConsoleAppender class are listed below. For a complete list of ColoredConsoleAppender class members, see the ColoredConsoleAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Target Target is the value of the console output stream. This is either "Console.Out" or "Console.Error".
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerCreationEventArgs.html0000644000175000017500000000612010412737556030251 0ustar slomoslomo LoggerCreationEventArgs Class
log4net SDK Reference

LoggerCreationEventArgs Class

Provides data for the LoggerCreatedEvent event.

For a list of all members of this type, see LoggerCreationEventArgs Members.

System.Object
   System.EventArgs
      log4net.Repository.Hierarchy.LoggerCreationEventArgs

[Visual Basic]
Public Class LoggerCreationEventArgs
    Inherits EventArgs
[C#]
public class LoggerCreationEventArgs : EventArgs

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A LoggerCreatedEvent event is raised every time a Logger is created.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

LoggerCreationEventArgs Members | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Hierarchy.GetCurrentLoggers.html0000644000175000017500000000441410412737556031054 0ustar slomoslomo Hierarchy.GetCurrentLoggers Method
log4net SDK Reference

Hierarchy.GetCurrentLoggers Method 

Returns all the currently defined loggers in the hierarchy as an Array

[Visual Basic]
Overrides Public Function GetCurrentLoggers() As ILogger() _
    Implements ILoggerRepository.GetCurrentLoggers
[C#]
public override ILogger[] GetCurrentLoggers();

Return Value

All the defined loggers

Implements

ILoggerRepository.GetCurrentLoggers

Remarks

Returns all the currently defined loggers in the hierarchy as an Array. The root logger is not included in the returned enumeration.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.OnClose.html0000644000175000017500000000407010412737536024740 0ustar slomoslomo UdpAppender.OnClose Method
log4net SDK Reference

UdpAppender.OnClose Method 

Closes the UDP connection and releases all resources associated with this UdpAppender instance.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Disables the underlying UdpClient and releases all managed and unmanaged resources associated with the UdpAppender.

See Also

UdpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.IDateTime.html0000644000175000017500000000473110412737534026663 0ustar slomoslomo RollingFileAppender.IDateTime Interface
log4net SDK Reference

RollingFileAppender.IDateTime Interface

This interface is used to supply Date/Time information to the RollingFileAppender.

For a list of all members of this type, see RollingFileAppender.IDateTime Members.

[Visual Basic]
Public Interface RollingFileAppender.IDateTime
[C#]
public interface RollingFileAppender.IDateTime

Remarks

This interface is used to supply Date/Time information to the RollingFileAppender. Used primarily to allow test classes to plug themselves in so they can supply test date/times.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

RollingFileAppender.IDateTime Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.Properties.html0000644000175000017500000000514710412737544025052 0ustar slomoslomo Properties Property
log4net SDK Reference

LoggingEvent.Properties Property

Additional event specific properties.

[Visual Basic]
Public ReadOnly Property Properties As PropertiesDictionary
[C#]
public log4net.Util.PropertiesDictionary Properties {get;}

Property Value

Additional event specific properties.

Remarks

A logger or an appender may attach additional properties to specific events. These properties have a string key and an object value.

This property is for events that have been added directly to this event. The aggregate properties (which include these event properties) can be retrieved using LookupProperty and GetProperties.

Once the properties have been fixed Fix this property returns the combined cached properties. This ensures that updates to this property are always reflected in the underlying storage. When returning the combined properties there may be more keys in the Dictionary than expected.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppenderMembers.html0000644000175000017500000002601510412737530026412 0ustar slomoslomo LocalSyslogAppender Members
log4net SDK Reference

LocalSyslogAppender Members

LocalSyslogAppender overview

Public Instance Constructors

LocalSyslogAppender Constructor Initializes a new instance of the LocalSyslogAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Facility Syslog facility
FilterHead (inherited from AppenderSkeleton) The filter chain.
Identity Message identity
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to severity
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetSeverity Translates a log4net level to a syslog severity.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Close the syslog when the appender is closed
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBase.FormatXml.html0000644000175000017500000000511410412737552025346 0ustar slomoslomo XmlLayoutBase.FormatXml Method
log4net SDK Reference

XmlLayoutBase.FormatXml Method 

Does the actual writing of the XML.

[Visual Basic]
MustOverride Protected Sub FormatXml( _
   ByVal writer As XmlWriter, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected abstract void FormatXml(
   XmlWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The writer to use to output the event to.
loggingEvent
The event to write.

Remarks

Subclasses should override this method to format the LoggingEvent as XML.

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Info_overload_1.html0000644000175000017500000000602410412737516023271 0ustar slomoslomo ILog.Info Method (Object, Exception)
log4net SDK Reference

ILog.Info Method (Object, Exception)

Logs a message object with the INFO level including the stack trace of the Exception passed as a parameter.

[Visual Basic]
Sub Info( _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
void Info(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

See the Info form for more detailed information.

See Also

ILog Interface | log4net Namespace | ILog.Info Overload List | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandler.Error_overload_1.html0000644000175000017500000000513510412737562027612 0ustar slomoslomo OnlyOnceErrorHandler.Error Method (String)
log4net SDK Reference

OnlyOnceErrorHandler.Error Method (String)

Log an error

[Visual Basic]
NotOverridable Overloads Public Sub Error( _
   ByVal message As String _
) _
    Implements IErrorHandler.Error
[C#]
public void Error(
   string message
);

Parameters

message
The error message.

Implements

IErrorHandler.Error

Remarks

Print a the error message passed as parameter on the standard error output stream.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace | OnlyOnceErrorHandler.Error Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_6.html0000644000175000017500000000567110412737536027711 0ustar slomoslomo DOMConfigurator.Configure Method (Stream)
log4net SDK Reference

DOMConfigurator.Configure Method (Stream)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Configures log4net using the specified configuration file.

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal configStream As Stream _
)
[C#]
public static void Configure(
   Stream configStream
);

Parameters

configStream
A stream to load the XML configuration from.

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

The configuration data must be valid XML. It must contain at least one element called log4net that holds the log4net configuration data.

Note that this method will NOT close the stream parameter.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.GlobalContextPropertiesProperties.html0000644000175000017500000000363410412737560027250 0ustar slomoslomo GlobalContextProperties Properties
log4net SDK Reference

GlobalContextProperties Properties

The properties of the GlobalContextProperties class are listed below. For a complete list of GlobalContextProperties class members, see the GlobalContextProperties Members topic.

Public Instance Properties

Item Gets or sets the value of a property

See Also

GlobalContextProperties Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Write_overloads.html0000644000175000017500000001714210412737564027145 0ustar slomoslomo Write Method
log4net SDK Reference

TextWriterAdapter.Write Method

Writes a character to the wrapped TextWriter

Overload List

Inherited from TextWriter.

public virtual void Write(bool);

Writes a character to the wrapped TextWriter

public override void Write(char);

Inherited from TextWriter.

public virtual void Write(char[]);

Writes a character buffer to the wrapped TextWriter

public override void Write(char[],int,int);

Inherited from TextWriter.

public virtual void Write(decimal);

Inherited from TextWriter.

public virtual void Write(double);

Inherited from TextWriter.

public virtual void Write(int);

Inherited from TextWriter.

public virtual void Write(long);

Inherited from TextWriter.

public virtual void Write(object);

Inherited from TextWriter.

public virtual void Write(float);

Writes a string to the wrapped TextWriter

public override void Write(string);

Inherited from TextWriter.

public virtual void Write(string,object);

Inherited from TextWriter.

public virtual void Write(string,object,object);

Inherited from TextWriter.

public virtual void Write(string,object,object,object);

Inherited from TextWriter.

public virtual void Write(string,params object[]);

Inherited from TextWriter.

public virtual void Write(uint);

Inherited from TextWriter.

public virtual void Write(ulong);

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppender.Append_overload_2.html0000644000175000017500000000463110412737524031103 0ustar slomoslomo ColoredConsoleAppender.Append Method (LoggingEvent)
log4net SDK Reference

ColoredConsoleAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Writes the event to the console.

The format of the output will depend on the appender's layout.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace | ColoredConsoleAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.Remove.html0000644000175000017500000000601610412737542024640 0ustar slomoslomo LevelCollection.Remove Method
log4net SDK Reference

LevelCollection.Remove Method 

Removes the first occurrence of a specific Level from the LevelCollection.

[Visual Basic]
Overridable Public Sub Remove( _
   ByVal item As Level _
)
[C#]
public virtual void Remove(
   Level item
);

Parameters

item
The Level to remove from the LevelCollection.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.Remove(log4net.Core.Level)

Exceptions

Exception Type Condition
ArgumentException The specified Level was not found in the LevelCollection.

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeErrorMembers.html0000644000175000017500000001077210412737560024125 0ustar slomoslomo NativeError Members
log4net SDK Reference

NativeError Members

NativeError overview

Public Static (Shared) Methods

GetError Create a new instance of the NativeError class.
GetErrorMessage Retrieves the message corresponding with a Win32 message identifier.
GetLastError Create a new instance of the NativeError class for the last Windows error.

Public Instance Properties

Message Gets the message of the native error.
Number Gets the number of the native error.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString Return error information string

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.XmlConfigurator.ConfigureAndWatch_overloads.html0000644000175000017500000000455610412737540031376 0ustar slomoslomo ConfigureAndWatch Method
log4net SDK Reference

XmlConfigurator.ConfigureAndWatch Method

Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

Overload List

Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

public static void ConfigureAndWatch(ILoggerRepository,FileInfo);

Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

public static void ConfigureAndWatch(FileInfo);

See Also

XmlConfigurator Class | log4net.Config Namespace | Configure


log4net-1.2.10/doc/release/sdk/log4net.Util.CyclicBuffer.PopAll.html0000644000175000017500000000346710412737560024103 0ustar slomoslomo CyclicBuffer.PopAll Method
log4net SDK Reference

CyclicBuffer.PopAll Method 

Pops all the logging events from the buffer into an array.

[Visual Basic]
Public Function PopAll() As LoggingEvent()
[C#]
public LoggingEvent[] PopAll();

Return Value

An array of all the logging events in the buffer.

Remarks

Get all the events in the buffer and clear the buffer.

See Also

CyclicBuffer Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.Info.html0000644000175000017500000000360410412737542022262 0ustar slomoslomo Level.Info Field
log4net SDK Reference

Level.Info Field

The Info level designates informational messages that highlight the progress of the application at coarse-grained level.

[Visual Basic]
Public Shared ReadOnly Info As Level
[C#]
public static readonly Level Info;

Remarks

Missing <remarks> documentation for F:log4net.Core.Level.Info

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.PropertyFilter.Key.html0000644000175000017500000000377610412737550024410 0ustar slomoslomo Key Property
log4net SDK Reference

PropertyFilter.Key Property

The key to lookup in the event properties and then match against.

[Visual Basic]
Public Property Key As String
[C#]
public string Key {get; set;}

Remarks

The key name to use to lookup in the properties map of the LoggingEvent. The match will be performed against the value of this property if it exists.

See Also

PropertyFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.GetCurrentLoggers.html0000644000175000017500000000352710412737554030653 0ustar slomoslomo ILoggerRepository.GetCurrentLoggers Method
log4net SDK Reference

ILoggerRepository.GetCurrentLoggers Method 

Returns all the currently defined loggers as an Array.

[Visual Basic]
Function GetCurrentLoggers() As ILogger()
[C#]
ILogger[] GetCurrentLoggers();

Return Value

All the defined loggers

Remarks

Returns all the currently defined loggers as an Array.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawUtcTimeStampLayout.Format.html0000644000175000017500000000604210412737552026364 0ustar slomoslomo RawUtcTimeStampLayout.Format Method
log4net SDK Reference

RawUtcTimeStampLayout.Format Method 

Gets the TimeStamp as a DateTime.

[Visual Basic]
Overridable Public Function Format( _
   ByVal loggingEvent As LoggingEvent _
) As Object _
    Implements IRawLayout.Format
[C#]
public virtual object Format(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to format

Return Value

returns the time stamp

Implements

IRawLayout.Format

Remarks

Gets the TimeStamp as a DateTime.

The time stamp is in universal time. To format the time stamp in local time use RawTimeStampLayout.

See Also

RawUtcTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILogger.Log_overload_2.html0000644000175000017500000000717110412737540024506 0ustar slomoslomo ILogger.Log Method (Type, Level, Object, Exception)
log4net SDK Reference

ILogger.Log Method (Type, Level, Object, Exception)

This generic form is intended to be used by wrappers.

[Visual Basic]
Sub Log( _
   ByVal callerStackBoundaryDeclaringType As Type, _
   ByVal level As Level, _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
void Log(
   Type callerStackBoundaryDeclaringType,
   Level level,
   object message,
   Exception exception
);

Parameters

callerStackBoundaryDeclaringType
The declaring type of the method that is the stack boundary into the logging system for this call.
level
The level of the message to be logged.
message
The message object to log.
exception
the exception to log, including its stack trace. Pass null to not log an exception.

Remarks

Generates a logging event for the specified level using the message and exception.

See Also

ILogger Interface | log4net.Core Namespace | ILogger.Log Overload List


././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedException.Create_overload_2.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedException.Create_ov0000644000175000017500000000756110412737566032713 0ustar slomoslomo ConversionNotSupportedException.Create Method (Type, Object, Exception)
log4net SDK Reference

ConversionNotSupportedException.Create Method (Type, Object, Exception)

Creates a new instance of the ConversionNotSupportedException class.

[Visual Basic]
Overloads Public Shared Function Create( _
   ByVal destinationType As Type, _
   ByVal sourceValue As Object, _
   ByVal innerException As Exception _
) As ConversionNotSupportedException
[C#]
public static ConversionNotSupportedException Create(
   Type destinationType,
   object sourceValue,
   Exception innerException
);

Parameters

destinationType
The conversion destination type.
sourceValue
The value to convert.
innerException
A nested exception to include.

Return Value

An instance of the ConversionNotSupportedException.

Remarks

Creates a new instance of the ConversionNotSupportedException class.

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace | ConversionNotSupportedException.Create Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.SendFromBuffer.html0000644000175000017500000000501410412737524031125 0ustar slomoslomo BufferingAppenderSkeleton.SendFromBuffer Method
log4net SDK Reference

BufferingAppenderSkeleton.SendFromBuffer Method 

Sends the contents of the buffer.

[Visual Basic]
Overridable Protected Sub SendFromBuffer( _
   ByVal firstLoggingEvent As LoggingEvent, _
   ByVal buffer As CyclicBuffer _
)
[C#]
protected virtual void SendFromBuffer(
   LoggingEvent firstLoggingEvent,
   CyclicBuffer buffer
);

Parameters

firstLoggingEvent
The first logging event.
buffer
The buffer containing the events that need to be send.

Remarks

The subclass must override SendBuffer.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.CopyTo_overload_1.html0000644000175000017500000000573010412737542026735 0ustar slomoslomo LevelCollection.CopyTo Method (Level[], Int32)
log4net SDK Reference

LevelCollection.CopyTo Method (Level[], Int32)

Copies the entire LevelCollection to a one-dimensional Level array, starting at the specified index of the target array.

[Visual Basic]
Overridable Overloads Public Sub CopyTo( _
   ByVal array As Level(), _
   ByVal start As Integer _
)
[C#]
public virtual void CopyTo(
   Level[] array,
   int start
);

Parameters

array
The one-dimensional Level array to copy to.
start
The zero-based index in array at which copying begins.

Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[],System.Int32)

See Also

LevelCollection Class | log4net.Core Namespace | LevelCollection.CopyTo Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.IFilter.Decide.html0000644000175000017500000000474110412737550023372 0ustar slomoslomo IFilter.Decide Method
log4net SDK Reference

IFilter.Decide Method 

Decide if the logging event should be logged through an appender.

[Visual Basic]
Function Decide( _
   ByVal loggingEvent As LoggingEvent _
) As FilterDecision
[C#]
FilterDecision Decide(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The LoggingEvent to decide upon

Return Value

The decision of the filter

Remarks

If the decision is Deny, then the event will be dropped. If the decision is Neutral, then the next filter, if any, will be invoked. If the decision is Accept then the event will be logged without consulting with other filters in the chain.

See Also

IFilter Interface | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.Append_overloads.html0000644000175000017500000000350310412737532030335 0ustar slomoslomo Append Method
log4net SDK Reference

RollingFileAppender.Append Method

Write out a logging event.

Overload List

Write out a logging event.

protected override void Append(LoggingEvent);

Write out an array of logging events.

protected override void Append(LoggingEvent[]);

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ReaderWriterLock.ReleaseWriterLock.html0000644000175000017500000000345710412737564027155 0ustar slomoslomo ReaderWriterLock.ReleaseWriterLock Method
log4net SDK Reference

ReaderWriterLock.ReleaseWriterLock Method 

Decrements the lock count on the writer lock

[Visual Basic]
Public Sub ReleaseWriterLock()
[C#]
public void ReleaseWriterLock();

Remarks

ReleaseWriterLock decrements the writer lock count. When the count reaches zero, the writer lock is released.

See Also

ReaderWriterLock Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.html0000644000175000017500000000564110412737554026642 0ustar slomoslomo LoggerRepositorySkeleton Class
log4net SDK Reference

LoggerRepositorySkeleton Class

Base implementation of ILoggerRepository

For a list of all members of this type, see LoggerRepositorySkeleton Members.

System.Object
   log4net.Repository.LoggerRepositorySkeleton
      log4net.Repository.Hierarchy.Hierarchy

[Visual Basic]
MustInherit Public Class LoggerRepositorySkeleton
    Implements ILoggerRepository
[C#]
public abstract class LoggerRepositorySkeleton : ILoggerRepository

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Default abstract implementation of the ILoggerRepository interface.

Skeleton implementation of the ILoggerRepository interface. All ILoggerRepository types can extend this type.

Requirements

Namespace: log4net.Repository

Assembly: log4net (in log4net.dll)

See Also

LoggerRepositorySkeleton Members | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.ILogger.Repository.html0000644000175000017500000000412710412737540024026 0ustar slomoslomo Repository Property
log4net SDK Reference

ILogger.Repository Property

Gets the ILoggerRepository where this Logger instance is attached to.

[Visual Basic]
Property Repository As ILoggerRepository
[C#]
log4net.Repository.ILoggerRepository Repository {get;}

Property Value

The ILoggerRepository that this logger belongs to.

Remarks

Gets the ILoggerRepository where this Logger instance is attached to.

See Also

ILogger Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.EventLogAppender.MachineName.html0000644000175000017500000000441610412737526026541 0ustar slomoslomo MachineName Property
log4net SDK Reference

EventLogAppender.MachineName Property

This property is used to return the name of the computer to use when accessing the event logs. Currently, this is the current computer, denoted by a dot "."

[Visual Basic]
Public Property MachineName As String
[C#]
public string MachineName {get; set;}

Property Value

The string name of the machine holding the event log that will be logged into.

Remarks

This property cannot be changed. It is currently set to '.' i.e. the local machine. This may be changed in future.

See Also

EventLogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.ConfiguratorAttribute.html0000644000175000017500000000703410412737536025170 0ustar slomoslomo ConfiguratorAttribute Class
log4net SDK Reference

ConfiguratorAttribute Class

Base class for all log4net configuration attributes.

For a list of all members of this type, see ConfiguratorAttribute Members.

System.Object
   System.Attribute
      log4net.Config.ConfiguratorAttribute
         log4net.Config.SecurityContextProviderAttribute
         log4net.Config.XmlConfiguratorAttribute

[Visual Basic]
MustInherit Public Class ConfiguratorAttribute
    Inherits Attribute
    Implements IComparable
[C#]
public abstract class ConfiguratorAttribute : Attribute, IComparable

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This is an abstract class that must be extended by specific configurators. This attribute allows the configurator to be parameterized by an assembly level attribute.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

ConfiguratorAttribute Members | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppenderMembers.html0000644000175000017500000003627010412737534025112 0ustar slomoslomo SmtpAppender Members
log4net SDK Reference

SmtpAppender Members

SmtpAppender overview

Public Instance Constructors

SmtpAppender Constructor Default constructor

Public Instance Properties

Authentication The mode to use to authentication with the SMTP server
BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
From Gets or sets the e-mail address of the sender.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LocationInfoObsolete. Obsolete
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Password The password to use to authenticate with the SMTP server
Port The port on which the SMTP server is listening
Priority Gets or sets the priority of the e-mail message
SmtpHost Gets or sets the name of the SMTP relay mail server to use to send the e-mail messages.
Subject Gets or sets the subject line of the e-mail message.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
To Gets or sets a semicolon-delimited list of recipient e-mail addresses.
Username The username to use to authenticate with the SMTP server

Public Instance Methods

ActivateOptions (inherited from BufferingAppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from BufferingAppenderSkeleton) Close this appender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Sends the contents of the cyclic buffer as an e-mail message.
SendEmail Send the email message
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.WarnFormat_overload_4.html0000644000175000017500000000763510412737546026075 0ustar slomoslomo LogImpl.WarnFormat Method (String, Object)
log4net SDK Reference

LogImpl.WarnFormat Method (String, Object)

Logs a formatted message string with the WARN level.

[Visual Basic]
Overridable Overloads Public Sub WarnFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
) _
    Implements ILog.WarnFormat
[C#]
public virtual void WarnFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Implements

ILog.WarnFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the WarnFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.WarnFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.Config.DomainAttributeMembers.html0000644000175000017500000001274110412737536025251 0ustar slomoslomo DomainAttribute Members
log4net SDK Reference

DomainAttribute Members

DomainAttribute overview

Public Instance Constructors

DomainAttribute Overloaded. Initializes a new instance of the DomainAttribute class.

Public Instance Properties

Name (inherited from RepositoryAttribute) Gets or sets the name of the logging repository.
RepositoryType (inherited from RepositoryAttribute) Gets or sets the type of repository to create for this assembly.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DomainAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMap.Add_overloads.html0000644000175000017500000000362510412737542024576 0ustar slomoslomo Add Method
log4net SDK Reference

LevelMap.Add Method

Add a Level to the map

Overload List

Add a Level to the map

public void Add(Level);

Create a new Level and add it to the map

public void Add(string,int);

Create a new Level and add it to the map

public void Add(string,int,string);

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ForwardingAppender.Append_overload_2.html0000644000175000017500000000440210412737530030264 0ustar slomoslomo ForwardingAppender.Append Method (LoggingEvent)
log4net SDK Reference

ForwardingAppender.Append Method (LoggingEvent)

Forward the logging event to the attached appenders

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Delivers the logging event to all the attached appenders.

See Also

ForwardingAppender Class | log4net.Appender Namespace | ForwardingAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.ILevelCollectionEnumeratorMethods.html0000644000175000017500000000456710412737542032176 0ustar slomoslomo LevelCollection.ILevelCollectionEnumerator Methods
log4net SDK Reference

LevelCollection.ILevelCollectionEnumerator Methods

The methods of the LevelCollection.ILevelCollectionEnumerator interface are listed below. For a complete list of LevelCollection.ILevelCollectionEnumerator interface members, see the LevelCollection.ILevelCollectionEnumerator Members topic.

Public Instance Methods

MoveNext Advances the enumerator to the next element in the collection.
Reset Sets the enumerator to its initial position, before the first element in the collection.

See Also

LevelCollection.ILevelCollectionEnumerator Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.ActivateOptions.html0000644000175000017500000000640410412737564030215 0ustar slomoslomo WindowsSecurityContext.ActivateOptions Method
log4net SDK Reference

WindowsSecurityContext.ActivateOptions Method 

Initialize the SecurityContext based on the options set.

[Visual Basic]
NotOverridable Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

The security context will try to Logon the specified user account and capture a primary token for impersonation.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThe required UserName, DomainName or Password properties were not specified.

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/pubfield.gif0000644000175000017500000000156110412737506017452 0ustar slomoslomoGIF89a÷ÿÿÿÿÿ€€ ÿÿ€€€ ÿÿÿ!ù,@NH° Á ` Àƒ @ Ä‚/B´¨1€Ä@ȸ‘‡SªT)‘£Æ! ,X@¡H3#XØ0çÁ>W -;log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.ProcessStartTime.html0000644000175000017500000000465410412737564025732 0ustar slomoslomo ProcessStartTime Property
log4net SDK Reference

SystemInfo.ProcessStartTime Property

Get the start time for the current process.

[Visual Basic]
Public Shared ReadOnly Property ProcessStartTime As Date
[C#]
public static System.DateTime ProcessStartTime {get;}

Remarks

This is the time at which the log4net library was loaded into the AppDomain. Due to reports of a hang in the call to System.Diagnostics.Process.StartTime this is not the start time for the current process.

The log4net library should be loaded by an application early during its startup, therefore this start time should be a good approximation for the actual start time.

Note that AppDomains may be loaded and unloaded within the same process without the process terminating, however this start time will be set per AppDomain.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ProtectCloseTextWriterMethods.html0000644000175000017500000002057510412737562026352 0ustar slomoslomo ProtectCloseTextWriter Methods
log4net SDK Reference

ProtectCloseTextWriter Methods

The methods of the ProtectCloseTextWriter class are listed below. For a complete list of ProtectCloseTextWriter class members, see the ProtectCloseTextWriter Members topic.

Public Instance Methods

Attach Attach this instance to a different underlying TextWriter
Close Does not close the underlying output writer.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriterAdapter) Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
Write (inherited from TextWriterAdapter)Overloaded. Writes out a formatted string, using the same semantics as Format.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Methods

Dispose (inherited from TextWriterAdapter) Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ProtectCloseTextWriter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.LocalPort.html0000644000175000017500000000717510412737536025306 0ustar slomoslomo LocalPort Property
log4net SDK Reference

UdpAppender.LocalPort Property

Gets or sets the TCP port number from which the underlying UdpClient will communicate.

[Visual Basic]
Public Property LocalPort As Integer
[C#]
public int LocalPort {get; set;}

Property Value

An integer value in the range MinPort to MaxPort indicating the TCP port number from which the underlying UdpClient will communicate.

Remarks

The underlying UdpClient will bind to this port for sending messages.

Setting the value to 0 (the default) will cause the udp client not to bind to a local port.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionThe value specified is less than MinPort or greater than MaxPort.

See Also

UdpAppender Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.ActivateOptions.htmllog4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppender.LevelColors.ActivateOption0000644000175000017500000000446410412737522032453 0ustar slomoslomo AnsiColorTerminalAppender.LevelColors.ActivateOptions Method
log4net SDK Reference

AnsiColorTerminalAppender.LevelColors.ActivateOptions Method 

Initialize the options for the object

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

Combine the ForeColor and BackColor together and append the attributes.

See Also

AnsiColorTerminalAppender.LevelColors Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.IObjectRenderer.RenderObject.html0000644000175000017500000000635710412737552027712 0ustar slomoslomo IObjectRenderer.RenderObject Method
log4net SDK Reference

IObjectRenderer.RenderObject Method 

Render the object obj to a string

[Visual Basic]
Sub RenderObject( _
   ByVal rendererMap As RendererMap, _
   ByVal obj As Object, _
   ByVal writer As TextWriter _
)
[C#]
void RenderObject(
   RendererMap rendererMap,
   object obj,
   TextWriter writer
);

Parameters

rendererMap
The map used to lookup renderers
obj
The object to render
writer
The writer to render to

Remarks

Render the object obj to a string.

The rendererMap parameter is provided to lookup and render other objects. This is very useful where obj contains nested objects of unknown type. The FindAndRender method can be used to render these objects.

See Also

IObjectRenderer Interface | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AnsiColorTerminalAppenderFields.html0000644000175000017500000000464010412737520027357 0ustar slomoslomo AnsiColorTerminalAppender Fields
log4net SDK Reference

AnsiColorTerminalAppender Fields

The fields of the AnsiColorTerminalAppender class are listed below. For a complete list of AnsiColorTerminalAppender class members, see the AnsiColorTerminalAppender Members topic.

Public Static (Shared) Fields

ConsoleError The Target to use when writing to the Console standard error output stream.
ConsoleOut The Target to use when writing to the Console standard output stream.

See Also

AnsiColorTerminalAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBaseConstructor2.html0000644000175000017500000000520410412737552025766 0ustar slomoslomo XmlLayoutBase Constructor (Boolean)
log4net SDK Reference

XmlLayoutBase Constructor (Boolean)

Protected constructor to support subclasses

[Visual Basic]
Overloads Protected Sub New( _
   ByVal locationInfo As Boolean _
)
[C#]
protected XmlLayoutBase(
   bool locationInfo
);

Parameters

locationInfo
Missing <param> documentation for locationInfo

Remarks

The locationInfo parameter determines whether location information will be output by the layout. If locationInfo is set to true, then the file name and line number of the statement at the origin of the log statement will be output.

If you are embedding this layout within an SMTPAppender then make sure to set the LocationInfo option of that appender as well.

See Also

XmlLayoutBase Class | log4net.Layout Namespace | XmlLayoutBase Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.NullSecurityContext.html0000644000175000017500000000530410412737562024356 0ustar slomoslomo NullSecurityContext Class
log4net SDK Reference

NullSecurityContext Class

A SecurityContext used when a SecurityContext is not required

For a list of all members of this type, see NullSecurityContext Members.

System.Object
   log4net.Core.SecurityContext
      log4net.Util.NullSecurityContext

[Visual Basic]
NotInheritable Public Class NullSecurityContext
    Inherits SecurityContext
[C#]
public sealed class NullSecurityContext : SecurityContext

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The NullSecurityContext is a no-op implementation of the SecurityContext base class. It is used where a SecurityContext is required but one has not been provided.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

NullSecurityContext Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContextMembers.html0000644000175000017500000001560310412737564026416 0ustar slomoslomo WindowsSecurityContext Members
log4net SDK Reference

WindowsSecurityContext Members

WindowsSecurityContext overview

Public Instance Constructors

WindowsSecurityContext Constructor Default constructor

Public Instance Properties

Credentials Gets or sets the impersonation mode for this security context
DomainName Gets or sets the Windows domain name for this security context
Password Sets the password for the Windows account specified by the UserName and DomainName properties.
UserName Gets or sets the Windows username for this security context

Public Instance Methods

ActivateOptions Initialize the SecurityContext based on the options set.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Impersonate Impersonate the Windows account specified by the UserName and DomainName properties.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

WindowsSecurityContext Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeletonProperties.html0000644000175000017500000001235410412737522030337 0ustar slomoslomo BufferingAppenderSkeleton Properties
log4net SDK Reference

BufferingAppenderSkeleton Properties

The properties of the BufferingAppenderSkeleton class are listed below. For a complete list of BufferingAppenderSkeleton class members, see the BufferingAppenderSkeleton Members topic.

Public Instance Properties

BufferSize Gets or sets the size of the cyclic buffer used to hold the logging events.
ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventDataObsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.Put.html0000644000175000017500000000541010412737552025277 0ustar slomoslomo RendererMap.Put Method
log4net SDK Reference

RendererMap.Put Method 

Register an IObjectRenderer for typeToRender.

[Visual Basic]
Public Sub Put( _
   ByVal typeToRender As Type, _
   ByVal renderer As IObjectRenderer _
)
[C#]
public void Put(
   Type typeToRender,
   IObjectRenderer renderer
);

Parameters

typeToRender
the type that will be rendered by renderer
renderer
the renderer for typeToRender

Remarks

Register an object renderer for a specific source type. This renderer will be returned from a call to Get specifying the same typeToRender as an argument.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppenderMembers.html0000644000175000017500000003645110412737526025050 0ustar slomoslomo FileAppender Members
log4net SDK Reference

FileAppender Members

FileAppender overview

Protected Static (Shared) Methods

ConvertToFullPath Convert a path into a fully qualified path.

Public Instance Constructors

FileAppender Overloaded. Initializes a new instance of the FileAppender class.

Public Instance Properties

AppendToFile Gets or sets a flag that indicates whether the file should be appended to or overwritten.
Encoding Gets or sets Encoding used to write to the file.
ErrorHandler (inherited from TextWriterAppender) Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
File Gets or sets the path to the file that logging will be written to.
FilterHead (inherited from AppenderSkeleton) The filter chain.
ImmediateFlush (inherited from TextWriterAppender) Gets or set whether the appender will flush at the end of each append operation.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
LockingModel Gets or sets the LockingModel used to handle locking of the file.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
SecurityContext Gets or sets the SecurityContext used to write to the file.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
Writer (inherited from TextWriterAppender) Sets the TextWriter where the log output will go.

Public Instance Methods

ActivateOptions Activate the options on the file appender.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

QuietWriter (inherited from TextWriterAppender) Gets or sets the QuietTextWriter where logging events will be written to.
RequiresLayout (inherited from TextWriterAppender) This appender requires a log4net.Layout to be set.

Protected Instance Methods

AppendOverloaded. This method is called by the DoAppend method.
CloseFile Closes the previously opened file.
CloseWriter Closes the underlying TextWriter.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from TextWriterAppender) Close this appender instance. The underlying stream or writer is also closed.
OpenFile Sets and opens the file where the log output will go. The specified file must be writable.
PreAppendCheck (inherited from TextWriterAppender) This method determines if there is a sense in attempting to append.
PrepareWriter Called to initialize the file writer
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
Reset Closes any previously opened file and calls the parent's Reset.
SafeOpenFile Sets and opens the file where the log output will go. The specified file must be writable.
SetQWForFilesOverloaded. Sets the quiet writer being used.
WriteFooter Writes a footer as produced by the embedded layout's Footer property.
WriteFooterAndCloseWriter (inherited from TextWriterAppender) Writes the footer and closes the underlying TextWriter.
WriteHeader Writes a header produced by the embedded layout's Header property.

See Also

FileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.SetQWForFiles_overload_1.html0000644000175000017500000000512310412737526030274 0ustar slomoslomo FileAppender.SetQWForFiles Method (TextWriter)
log4net SDK Reference

FileAppender.SetQWForFiles Method (TextWriter)

Sets the quiet writer being used.

[Visual Basic]
Overridable Overloads Protected Sub SetQWForFiles( _
   ByVal writer As TextWriter _
)
[C#]
protected virtual void SetQWForFiles(
   TextWriter writer
);

Parameters

writer
the writer over the file stream that has been opened for writing

Remarks

This method can be overridden by sub classes that want to wrap the TextWriter in some way.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender.SetQWForFiles Overload List


log4net-1.2.10/doc/release/sdk/log4net.ILog.InfoFormat_overload_5.html0000644000175000017500000000670010412737516024447 0ustar slomoslomo ILog.InfoFormat Method (String, Object[])
log4net SDK Reference

ILog.InfoFormat Method (String, Object[])

Logs a formatted message string with the Info level.

[Visual Basic]
Sub InfoFormat( _
   ByVal format As String, _
   ParamArray args As Object() _
)
[C#]
void InfoFormat(
   string format,
   params object[] args
);

Parameters

format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

ILog Interface | log4net Namespace | ILog.InfoFormat Overload List | Info | IsInfoEnabled


log4net-1.2.10/doc/release/sdk/log4net.Config.ConfiguratorAttribute.CompareTo.html0000644000175000017500000000620210412737536027054 0ustar slomoslomo ConfiguratorAttribute.CompareTo Method
log4net SDK Reference

ConfiguratorAttribute.CompareTo Method 

Compare this instance to another ConfiguratorAttribute

[Visual Basic]
NotOverridable Public Function CompareTo( _
   ByVal obj As Object _
) As Integer _
    Implements IComparable.CompareTo
[C#]
public int CompareTo(
   object obj
);

Parameters

obj
the object to compare to

Return Value

see CompareTo

Implements

IComparable.CompareTo

Remarks

Compares the priorities of the two ConfiguratorAttribute instances. Sorts by priority in descending order. Objects with the same priority are randomly ordered.

See Also

ConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.CopyTo_overloads.html0000644000175000017500000000416110412737554027435 0ustar slomoslomo CopyTo Method
log4net SDK Reference

PluginCollection.CopyTo Method

Copies the entire PluginCollection to a one-dimensional IPlugin array.

Overload List

Copies the entire PluginCollection to a one-dimensional IPlugin array.

public virtual void CopyTo(IPlugin[]);

Copies the entire PluginCollection to a one-dimensional IPlugin array, starting at the specified index of the target array.

public virtual void CopyTo(IPlugin[],int);

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.IBasicRepositoryConfigurator.Configure.html0000644000175000017500000000425710412737554031355 0ustar slomoslomo IBasicRepositoryConfigurator.Configure Method
log4net SDK Reference

IBasicRepositoryConfigurator.Configure Method 

Initialize the repository using the specified appender

[Visual Basic]
Sub Configure( _
   ByVal appender As IAppender _
)
[C#]
void Configure(
   IAppender appender
);

Parameters

appender
the appender to use to log all logging events

Remarks

Configure the repository to route all logging events to the specified appender.

See Also

IBasicRepositoryConfigurator Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.LoggerRepositorySkeleton.Configured.html0000644000175000017500000000453010412737554030722 0ustar slomoslomo Configured Property
log4net SDK Reference

LoggerRepositorySkeleton.Configured Property

Flag indicates if this repository has been configured.

[Visual Basic]
Overridable Public Property Configured As Boolean _
    Implements ILoggerRepository.Configured
[C#]
public virtual bool Configured {get; set;}

Property Value

Flag indicates if this repository has been configured.

Implements

ILoggerRepository.Configured

Remarks

Flag indicates if this repository has been configured.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutMembers.html0000644000175000017500000002060610412737552024161 0ustar slomoslomo XmlLayout Members
log4net SDK Reference

XmlLayout Members

XmlLayout overview

Public Instance Constructors

XmlLayout Overloaded. Initializes a new instance of the XmlLayout class.

Public Instance Properties

Base64EncodeMessage Set whether or not to base64 encode the message.
Base64EncodeProperties Set whether or not to base64 encode the property values.
ContentType (inherited from XmlLayoutBase) Gets the content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions
InvalidCharReplacement (inherited from XmlLayoutBase) The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

LocationInfo (inherited from XmlLayoutBase) Gets a value indicating whether to include location information in the XML events.
Prefix The prefix to use for all element names

Public Instance Methods

ActivateOptions Initialize layout options
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format (inherited from XmlLayoutBase) Produces a formatted string.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatXml Does the actual writing of the XML.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.ConfigHierarchy.html0000644000175000017500000000775710412737536022516 0ustar slomoslomo log4net.ConfigHierarchy
log4net SDK Reference

log4net.Config Hierarchy

System.Object

See Also

log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfigurator.Configure_overload_1.html0000644000175000017500000000471310412737536027700 0ustar slomoslomo DOMConfigurator.Configure Method ()
log4net SDK Reference

DOMConfigurator.Configure Method ()

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Automatically configures the log4net system based on the application's configuration settings.

[Visual Basic]
Overloads Public Shared Sub Configure()
[C#]
public static void Configure();

Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

Each application has a configuration file. This has the same name as the application with '.config' appended. This file is XML and calling this function prompts the configurator to look in that file for a section called log4net that contains the configuration data.

See Also

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.AdoNetAppender.UseTransactions.html0000644000175000017500000000462110412737520027140 0ustar slomoslomo UseTransactions Property
log4net SDK Reference

AdoNetAppender.UseTransactions Property

Should transactions be used to insert logging events in the database.

[Visual Basic]
Public Property UseTransactions As Boolean
[C#]
public bool UseTransactions {get; set;}

Property Value

true if transactions should be used to insert logging events in the database, otherwise false. The default value is true.

Remarks

Gets or sets a value that indicates whether transactions should be used to insert logging events in the database.

When set a single transaction will be used to insert the buffered events into the database. Otherwise each event will be inserted without using an explicit transaction.

See Also

AdoNetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TextWriterAppenderConstructor1.html0000644000175000017500000000341410412737534027316 0ustar slomoslomo TextWriterAppender Constructor ()
log4net SDK Reference

TextWriterAppender Constructor ()

Initializes a new instance of the TextWriterAppender class.

[Visual Basic]
Overloads Public Sub New()
[C#]
public TextWriterAppender();

Remarks

Default constructor.

See Also

TextWriterAppender Class | log4net.Appender Namespace | TextWriterAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluatorConstructor2.html0000644000175000017500000000460410412737542025604 0ustar slomoslomo LevelEvaluator Constructor (Level)
log4net SDK Reference

LevelEvaluator Constructor (Level)

Create a new evaluator using the specified Level threshold.

[Visual Basic]
Overloads Public Sub New( _
   ByVal threshold As Level _
)
[C#]
public LevelEvaluator(
   Level threshold
);

Parameters

threshold
the threshold to trigger at

Remarks

Create a new evaluator using the specified Level threshold.

This evaluator will trigger if the level of the event passed to IsTriggeringEvent is equal to or greater than the Threshold level.

See Also

LevelEvaluator Class | log4net.Core Namespace | LevelEvaluator Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.Configure.html0000644000175000017500000000450610412737556032436 0ustar slomoslomo XmlHierarchyConfigurator.Configure Method
log4net SDK Reference

XmlHierarchyConfigurator.Configure Method 

Configure the hierarchy by parsing a DOM tree of XML elements.

[Visual Basic]
Public Sub Configure( _
   ByVal element As XmlElement _
)
[C#]
public void Configure(
   XmlElement element
);

Parameters

element
The root element to parse.

Remarks

Configure the hierarchy by parsing a DOM tree of XML elements.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppender.Port.html0000644000175000017500000000426510412737534024521 0ustar slomoslomo Port Property
log4net SDK Reference

SmtpAppender.Port Property

The port on which the SMTP server is listening

[Visual Basic]
Public Property Port As Integer
[C#]
public int Port {get; set;}

Remarks

CAUTION   Server Port is only available on the MS .NET 1.1 runtime.

The port on which the SMTP server is listening. The default port is 25. The Port can only be changed when running on the MS .NET 1.1 runtime.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionProperties.html0000644000175000017500000000662710412737522027024 0ustar slomoslomo AppenderCollection Properties
log4net SDK Reference

AppenderCollection Properties

The properties of the AppenderCollection class are listed below. For a complete list of AppenderCollection class members, see the AppenderCollection Members topic.

Public Instance Properties

Capacity Gets or sets the number of elements the AppenderCollection can contain.
Count Gets the number of elements actually contained in the AppenderCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the IAppender at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

See Also

AppenderCollection Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.PluginAttribute.CreatePlugin.html0000644000175000017500000000421410412737540026335 0ustar slomoslomo PluginAttribute.CreatePlugin Method
log4net SDK Reference

PluginAttribute.CreatePlugin Method 

Creates the plugin object defined by this attribute.

[Visual Basic]
NotOverridable Public Function CreatePlugin() As IPlugin _
    Implements IPluginFactory.CreatePlugin
[C#]
public IPlugin CreatePlugin();

Return Value

The plugin object.

Implements

IPluginFactory.CreatePlugin

Remarks

Creates the instance of the IPlugin object as specified by this attribute.

See Also

PluginAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.FileAppender.MinimalLock.ReleaseLock.html0000644000175000017500000000361710412737526030121 0ustar slomoslomo FileAppender.MinimalLock.ReleaseLock Method
log4net SDK Reference

FileAppender.MinimalLock.ReleaseLock Method 

Release the lock on the file

[Visual Basic]
Overrides Public Sub ReleaseLock()
[C#]
public override void ReleaseLock();

Remarks

Release the lock on the file. No further writes will be made to the stream until AcquireLock is called again.

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.TextWriterAdapter.Close.html0000644000175000017500000000332710412737564025042 0ustar slomoslomo TextWriterAdapter.Close Method
log4net SDK Reference

TextWriterAdapter.Close Method 

Closes the writer and releases any system resources associated with the writer

[Visual Basic]
Overrides Public Sub Close()
[C#]
public override void Close();

Remarks

See Also

TextWriterAdapter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.Level.op_GreaterThanOrEqual.html0000644000175000017500000000465210412737542025566 0ustar slomoslomo Level Greater Than Or Equal Operator
log4net SDK Reference

Level Greater Than Or Equal Operator 

Returns a value indicating whether a specified Level is greater than or equal to another specified Level.

[Visual Basic]
returnValue = Level.op_GreaterThanOrEqual(l, r)
[C#]
public static bool operator >=(
   Level l,
   Level r
);

Parameters

l
A Level
r
A Level

Return Value

true if l is greater than or equal to r; otherwise, false.

Remarks

Compares two levels.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.Identity.html0000644000175000017500000000406010412737544024500 0ustar slomoslomo Identity Property
log4net SDK Reference

LoggingEvent.Identity Property

Gets the identity of the current thread principal.

[Visual Basic]
Public ReadOnly Property Identity As String
[C#]
public string Identity {get;}

Property Value

The string name of the identity of the current thread principal.

Remarks

Calls System.Threading.Thread.CurrentPrincipal.Identity.Name to get the name of the current thread principal.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.Port.html0000644000175000017500000000627610412737534025035 0ustar slomoslomo Port Property
log4net SDK Reference

TelnetAppender.Port Property

Gets or sets the TCP port number on which this TelnetAppender will listen for connections.

[Visual Basic]
Public Property Port As Integer
[C#]
public int Port {get; set;}

Property Value

An integer value in the range MinPort to MaxPort indicating the TCP port number on which this TelnetAppender will listen for connections.

Remarks

The default value is 23 (the telnet port).

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionThe value specified is less than MinPort or greater than MaxPort.

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutSchemaLog4jConstructor.html0000644000175000017500000000346510412737552027141 0ustar slomoslomo XmlLayoutSchemaLog4j Constructor
log4net SDK Reference

XmlLayoutSchemaLog4j Constructor

Constructs an XMLLayoutSchemaLog4j

Overload List

Constructs an XMLLayoutSchemaLog4j

public XmlLayoutSchemaLog4j();

Constructs an XMLLayoutSchemaLog4j.

public XmlLayoutSchemaLog4j(bool);

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.DateFormatter.Iso8601DateFormatterConstructor.html0000644000175000017500000000325510412737546030201 0ustar slomoslomo Iso8601DateFormatter Constructor
log4net SDK Reference

Iso8601DateFormatter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public Iso8601DateFormatter();

Remarks

Initializes a new instance of the Iso8601DateFormatter class.

See Also

Iso8601DateFormatter Class | log4net.DateFormatter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayout.AddConverter_overload_1.html0000644000175000017500000000461410412737550030214 0ustar slomoslomo PatternLayout.AddConverter Method (ConverterInfo)
log4net SDK Reference

PatternLayout.AddConverter Method (ConverterInfo)

Add a converter to this PatternLayout

[Visual Basic]
Overloads Public Sub AddConverter( _
   ByVal converterInfo As ConverterInfo _
)
[C#]
public void AddConverter(
   ConverterInfo converterInfo
);

Parameters

converterInfo
the converter info

Remarks

This version of the method is used by the configurator. Programmatic users should use the alternative AddConverter method.

See Also

PatternLayout Class | log4net.Layout Namespace | PatternLayout.AddConverter Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.Entry.html0000644000175000017500000000755510412737562026463 0ustar slomoslomo Entry Property
log4net SDK Reference

NullDictionaryEnumerator.Entry Property

Gets the current entry from the enumerator.

[Visual Basic]
NotOverridable Public ReadOnly Property Entry As DictionaryEntry _
    Implements IDictionaryEnumerator.Entry
[C#]
public System.Collections.DictionaryEntry Entry {get;}

Implements

IDictionaryEnumerator.Entry

Remarks

Throws an InvalidOperationException because the NullDictionaryEnumerator never has a current entry.

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore Entry will throw an InvalidOperationException.

Exceptions

Exception Type Condition
InvalidOperationException The collection is empty and Current cannot be positioned over a valid location.

See Also

NullDictionaryEnumerator Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.GetCurrentLoggers_overload_1.html0000644000175000017500000000475110412737544030560 0ustar slomoslomo LoggerManager.GetCurrentLoggers Method (String)
log4net SDK Reference

LoggerManager.GetCurrentLoggers Method (String)

Returns all the currently defined loggers in the specified repository.

[Visual Basic]
Overloads Public Shared Function GetCurrentLoggers( _
   ByVal repository As String _
) As ILogger()
[C#]
public static ILogger[] GetCurrentLoggers(
   string repository
);

Parameters

repository
The repository to lookup in.

Return Value

All the defined loggers.

Remarks

The root logger is not included in the returned array.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetCurrentLoggers Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutBase.ContentType.html0000644000175000017500000000443510412737552025716 0ustar slomoslomo ContentType Property
log4net SDK Reference

XmlLayoutBase.ContentType Property

Gets the content type output by this layout.

[Visual Basic]
Overrides Public ReadOnly Property ContentType As String _
    Implements ILayout.ContentType
[C#]
public override string ContentType {get;}

Property Value

As this is the XML layout, the value is always "text/xml".

Implements

ILayout.ContentType

Remarks

As this is the XML layout, the value is always "text/xml".

See Also

XmlLayoutBase Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.RenderLoggingEvent_overloads.html0000644000175000017500000000402210412737522032230 0ustar slomoslomo RenderLoggingEvent Method
log4net SDK Reference

AppenderSkeleton.RenderLoggingEvent Method

Renders the LoggingEvent to a string.

Overload List

Renders the LoggingEvent to a string.

protected string RenderLoggingEvent(LoggingEvent);

Renders the LoggingEvent to a string.

protected void RenderLoggingEvent(TextWriter,LoggingEvent);

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppenderConstructor1.html0000644000175000017500000000333110412737536026233 0ustar slomoslomo TraceAppender Constructor ()
log4net SDK Reference

TraceAppender Constructor ()

Initializes a new instance of the TraceAppender.

[Visual Basic]
Overloads Public Sub New()
[C#]
public TraceAppender();

Remarks

Default constructor.

See Also

TraceAppender Class | log4net.Appender Namespace | TraceAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.SyncRoot.html0000644000175000017500000000475110412737542025167 0ustar slomoslomo SyncRoot Property
log4net SDK Reference

LevelCollection.SyncRoot Property

Gets an object that can be used to synchronize access to the collection.

[Visual Basic]
Overridable Public ReadOnly Property SyncRoot As Object _
    Implements ICollection.SyncRoot
[C#]
public virtual object SyncRoot {get;}

Implements

ICollection.SyncRoot

Remarks

Missing <remarks> documentation for P:log4net.Core.LevelCollection.SyncRoot

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.DefaultRepositorySelector.html0000644000175000017500000000514410412737540025505 0ustar slomoslomo DefaultRepositorySelector Class
log4net SDK Reference

DefaultRepositorySelector Class

The default implementation of the IRepositorySelector interface.

For a list of all members of this type, see DefaultRepositorySelector Members.

System.Object
   log4net.Core.DefaultRepositorySelector

[Visual Basic]
Public Class DefaultRepositorySelector
    Implements IRepositorySelector
[C#]
public class DefaultRepositorySelector : IRepositorySelector

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Uses attributes defined on the calling assembly to determine how to configure the hierarchy for the repository.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

DefaultRepositorySelector Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.Logger.html0000644000175000017500000000675010412737556024756 0ustar slomoslomo Logger Class
log4net SDK Reference

Logger Class

Implementation of ILogger used by Hierarchy

For a list of all members of this type, see Logger Members.

System.Object
   log4net.Repository.Hierarchy.Logger
      log4net.Repository.Hierarchy.RootLogger

[Visual Basic]
MustInherit Public Class Logger
    Implements IAppenderAttachable, ILogger
[C#]
public abstract class Logger : IAppenderAttachable, ILogger

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Internal class used to provide implementation of ILogger interface. Applications should use LogManager to get logger instances.

This is one of the central classes in the log4net implementation. One of the distinctive features of log4net are hierarchical loggers and their evaluation. The Hierarchy organizes the Logger instances into a rooted tree hierarchy.

The Logger class is abstract. Only concrete subclasses of Logger can be created. The ILoggerFactory is used to create instances of this type for the Hierarchy.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

Logger Members | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollectionMethods.html0000644000175000017500000002024710412737542024732 0ustar slomoslomo LevelCollection Methods
log4net SDK Reference

LevelCollection Methods

The methods of the LevelCollection class are listed below. For a complete list of LevelCollection class members, see the LevelCollection Members topic.

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a LevelCollection instance.

Public Instance Methods

Add Adds a Level to the end of the LevelCollection.
AddRangeOverloaded. Adds the elements of a Level collection to the current LevelCollection.
Clear Removes all elements from the LevelCollection.
Clone Creates a shallow copy of the LevelCollection.
Contains Determines whether a given Level is in the LevelCollection.
CopyToOverloaded. Copies the entire LevelCollection to a one-dimensional Level array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the LevelCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a Level in the LevelCollection.
Insert Inserts an element into the LevelCollection at the specified index.
Remove Removes the first occurrence of a specific Level from the LevelCollection.
RemoveAt Removes the element at the specified index of the LevelCollection.
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.Get_overload_1.html0000644000175000017500000000531710412737552027367 0ustar slomoslomo RendererMap.Get Method (Object)
log4net SDK Reference

RendererMap.Get Method (Object)

Gets the renderer for the specified object type

[Visual Basic]
Overloads Public Function Get( _
   ByVal obj As Object _
) As IObjectRenderer
[C#]
public IObjectRenderer Get(
   object obj
);

Parameters

obj
the object to lookup the renderer for

Return Value

the renderer for obj

Remarks

Gets the renderer for the specified object type. Syntactic sugar method that calls Get with the type of the object parameter.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace | RendererMap.Get Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.InfoFormat_overload_4.html0000644000175000017500000000763510412737546026061 0ustar slomoslomo LogImpl.InfoFormat Method (String, Object)
log4net SDK Reference

LogImpl.InfoFormat Method (String, Object)

Logs a formatted message string with the INFO level.

[Visual Basic]
Overridable Overloads Public Sub InfoFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
) _
    Implements ILog.InfoFormat
[C#]
public virtual void InfoFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object to format

Implements

ILog.InfoFormat

Remarks

The message is formatted using the Format method. See String.Format for details of the syntax of the format string and the behavior of the formatting.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the InfoFormat method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info methods instead.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.InfoFormat Overload List


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.IObjectRendererMembers.html0000644000175000017500000000342510412737552026651 0ustar slomoslomo IObjectRenderer Members
log4net SDK Reference

IObjectRenderer Members

IObjectRenderer overview

Public Instance Methods

RenderObject Render the object obj to a string

See Also

IObjectRenderer Interface | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelCollection.CopyTo_overloads.html0000644000175000017500000000411110412737542026670 0ustar slomoslomo CopyTo Method
log4net SDK Reference

LevelCollection.CopyTo Method

Copies the entire LevelCollection to a one-dimensional Level array.

Overload List

Copies the entire LevelCollection to a one-dimensional Level array.

public virtual void CopyTo(Level[]);

Copies the entire LevelCollection to a one-dimensional Level array, starting at the specified index of the target array.

public virtual void CopyTo(Level[],int);

See Also

LevelCollection Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.DoAppend_overload_1.html0000644000175000017500000000707610412737522030243 0ustar slomoslomo AppenderSkeleton.DoAppend Method (LoggingEvent)
log4net SDK Reference

AppenderSkeleton.DoAppend Method (LoggingEvent)

Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.

[Visual Basic]
NotOverridable Overloads Public Sub DoAppend( _
   ByVal loggingEvent As LoggingEvent _
) _
    Implements IAppender.DoAppend
[C#]
public void DoAppend(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Implements

IAppender.DoAppend

Remarks

This method cannot be overridden by derived classes. A derived class should override the Append method which is called by this method.

The implementation of this method is as follows:

If all of the above steps succeed then the loggingEvent will be passed to the abstract Append method.

See Also

AppenderSkeleton Class | log4net.Appender Namespace | AppenderSkeleton.DoAppend Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.NullDictionaryEnumerator.html0000644000175000017500000000647110412737562025357 0ustar slomoslomo NullDictionaryEnumerator Class
log4net SDK Reference

NullDictionaryEnumerator Class

An always empty IDictionaryEnumerator.

For a list of all members of this type, see NullDictionaryEnumerator Members.

System.Object
   log4net.Util.NullDictionaryEnumerator

[Visual Basic]
NotInheritable Public Class NullDictionaryEnumerator
    Implements IDictionaryEnumerator, IEnumerator
[C#]
public sealed class NullDictionaryEnumerator : IDictionaryEnumerator, IEnumerator

Thread Safety

This type is not safe for multithreaded operations.

Remarks

A singleton implementation of the IDictionaryEnumerator over a collection that is empty and not modifiable.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

NullDictionaryEnumerator Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.EmptyCollectionMembers.html0000644000175000017500000001340210412737560024770 0ustar slomoslomo EmptyCollection Members
log4net SDK Reference

EmptyCollection Members

EmptyCollection overview

Public Static (Shared) Properties

Instance Gets the singleton instance of the empty collection.

Public Instance Properties

Count Gets the number of elements contained in the ICollection.
IsSynchronized Gets a value indicating if access to the ICollection is synchronized (thread-safe).
SyncRoot Gets an object that can be used to synchronize access to the ICollection.

Public Instance Methods

CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through a collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

EmptyCollection Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderSkeleton.Name.html0000644000175000017500000000424610412737522025312 0ustar slomoslomo Name Property
log4net SDK Reference

AppenderSkeleton.Name Property

Gets or sets the name of this appender.

[Visual Basic]
NotOverridable Public Property Name As String _
    Implements IAppender.Name
[C#]
public string Name {get; set;}

Property Value

The name of the appender.

Implements

IAppender.Name

Remarks

The name uniquely identifies the appender.

See Also

AppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.LoggerConstructor.html0000644000175000017500000000464610412737556027226 0ustar slomoslomo Logger Constructor
log4net SDK Reference

Logger Constructor 

This constructor created a new Logger instance and sets its name.

[Visual Basic]
Protected Sub New( _
   ByVal name As String _
)
[C#]
protected Logger(
   string name
);

Parameters

name
The name of the Logger.

Remarks

This constructor is protected and designed to be used by a subclass that is not abstract.

Loggers are constructed by ILoggerFactory objects. See DefaultLoggerFactory for the default logger creator.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.MDC.Set.html0000644000175000017500000000626410412737520020570 0ustar slomoslomo MDC.Set Method
log4net SDK Reference

MDC.Set Method 

Add an entry to the MDC

[Visual Basic]
Public Shared Sub Set( _
   ByVal key As String, _
   ByVal value As String _
)
[C#]
public static void Set(
   string key,
   string value
);

Parameters

key
The key to store the value under.
value
The value to store.

Remarks

Note   

The MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the ThreadContext.Properties.

Puts a context value (the val parameter) as identified with the key parameter into the current thread's context map.

If a value is already defined for the key specified then the value will be replaced. If the val is specified as null then the key value mapping will be removed.

See Also

MDC Class | log4net Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.ILayout.IgnoresException.html0000644000175000017500000000432010412737550025553 0ustar slomoslomo IgnoresException Property
log4net SDK Reference

ILayout.IgnoresException Property

Flag indicating if this layout handle exceptions

[Visual Basic]
Property IgnoresException As Boolean
[C#]
bool IgnoresException {get;}

Property Value

false if this layout handles exceptions

Remarks

If this layout handles the exception object contained within LoggingEvent, then the layout should return false. Otherwise, if the layout ignores the exception object, then the layout should return true.

See Also

ILayout Interface | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AspNetTraceAppenderMethods.html0000644000175000017500000001765510412737522026354 0ustar slomoslomo AspNetTraceAppender Methods
log4net SDK Reference

AspNetTraceAppender Methods

The methods of the AspNetTraceAppender class are listed below. For a complete list of AspNetTraceAppender class members, see the AspNetTraceAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. Write the logging event to the ASP.NET trace
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

AspNetTraceAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Repository.ILoggerRepository.ConfigurationChanged.html0000644000175000017500000000375310412737554031330 0ustar slomoslomo ILoggerRepository.ConfigurationChanged Event
log4net SDK Reference

ILoggerRepository.ConfigurationChanged Event

Event to notify that the repository has had its configuration changed.

[Visual Basic]
Event ConfigurationChanged As LoggerRepositoryConfigurationChangedEventHandler
[C#]
event LoggerRepositoryConfigurationChangedEventHandler ConfigurationChanged;

Remarks

Event raised when the repository's configuration has been changed.

See Also

ILoggerRepository Interface | log4net.Repository Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.SecurityContextProviderAttributeMethods.html0000644000175000017500000001124610412737540030734 0ustar slomoslomo SecurityContextProviderAttribute Methods
log4net SDK Reference

SecurityContextProviderAttribute Methods

The methods of the SecurityContextProviderAttribute class are listed below. For a complete list of SecurityContextProviderAttribute class members, see the SecurityContextProviderAttribute Members topic.

Public Instance Methods

CompareTo (inherited from ConfiguratorAttribute) Compare this instance to another ConfiguratorAttribute
Configure Configures the SecurityContextProvider
Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

SecurityContextProviderAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ResetConfiguration_overload_2.html0000644000175000017500000000531310412737520027366 0ustar slomoslomo LogManager.ResetConfiguration Method (String)
log4net SDK Reference

LogManager.ResetConfiguration Method (String)

Resets all values contained in this repository instance to their defaults.

[Visual Basic]
Overloads Public Shared Sub ResetConfiguration( _
   ByVal repository As String _
)
[C#]
public static void ResetConfiguration(
   string repository
);

Parameters

repository
The repository to reset.

Remarks

Reset all values contained in the repository instance to their defaults. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set to its default "off" value.

See Also

LogManager Class | log4net Namespace | LogManager.ResetConfiguration Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Debug_overload_1.html0000644000175000017500000000445510412737560024676 0ustar slomoslomo LogLog.Debug Method (String)
log4net SDK Reference

LogLog.Debug Method (String)

Writes log4net internal debug messages to the standard output stream.

[Visual Basic]
Overloads Public Shared Sub Debug( _
   ByVal message As String _
)
[C#]
public static void Debug(
   string message
);

Parameters

message
The message to log.

Remarks

All internal debug messages are prepended with the string "log4net: ".

See Also

LogLog Class | log4net.Util Namespace | LogLog.Debug Overload List


log4net-1.2.10/doc/release/sdk/log4net.Layout.PatternLayoutConstructor.html0000644000175000017500000000352210412737550025765 0ustar slomoslomo PatternLayout Constructor
log4net SDK Reference

PatternLayout Constructor

Constructs a PatternLayout using the DefaultConversionPattern

Overload List

Constructs a PatternLayout using the DefaultConversionPattern

public PatternLayout();

Constructs a PatternLayout using the supplied conversion pattern

public PatternLayout(string);

See Also

PatternLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMapMembers.html0000644000175000017500000001170010412737542023335 0ustar slomoslomo LevelMap Members
log4net SDK Reference

LevelMap Members

LevelMap overview

Public Instance Constructors

LevelMap Constructor Construct the level map

Public Instance Properties

AllLevels Return all possible levels as a list of Level objects.
Item Lookup a Level by name

Public Instance Methods

AddOverloaded. Create a new Level and add it to the map
Clear Clear the internal maps of all levels
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
LookupWithDefault Lookup a named level from the map
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LevelMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.OutputDebugStringAppender.Append_overloads.html0000644000175000017500000000367410412737532031576 0ustar slomoslomo Append Method
log4net SDK Reference

OutputDebugStringAppender.Append Method

Write the logging event to the output debug string API

Overload List

Write the logging event to the output debug string API

protected override void Append(LoggingEvent);

Inherited from AppenderSkeleton.

protected virtual void Append(LoggingEvent[]);

See Also

OutputDebugStringAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity.html0000644000175000017500000000360310412737530031507 0ustar slomoslomo Severity Property
log4net SDK Reference

LocalSyslogAppender.LevelSeverity.Severity Property

The mapped syslog severity for the specified level

[Visual Basic]
Public Property Severity As SyslogSeverity
[C#]
public LocalSyslogAppender.SyslogSeverity Severity {get; set;}

Remarks

Required property. The mapped syslog severity for the specified level

See Also

LocalSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpAppenderMethods.html0000644000175000017500000002147610412737534025125 0ustar slomoslomo SmtpAppender Methods
log4net SDK Reference

SmtpAppender Methods

The methods of the SmtpAppender class are listed below. For a complete list of SmtpAppender class members, see the SmtpAppender Members topic.

Public Instance Methods

ActivateOptions (inherited from BufferingAppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose (inherited from BufferingAppenderSkeleton) Close this appender instance.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
SendBuffer Sends the contents of the cyclic buffer as an e-mail message.
SendEmail Send the email message
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

SmtpAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.PatternConverterMembers.html0000644000175000017500000001701710412737562025173 0ustar slomoslomo PatternConverter Members
log4net SDK Reference

PatternConverter Members

PatternConverter overview

Protected Static (Shared) Methods

SpacePad Fast space padding method.
WriteDictionary Write an dictionary to a TextWriter
WriteObject Write an object to a TextWriter

Public Instance Properties

FormattingInfo Gets or sets the formatting info for this converter
Next Get the next pattern converter in the chain
Option Gets or sets the option value for this converter

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Write the pattern converter to the writer with appropriate formatting
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
SetNext Set the next pattern converter in the chains
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

PatternConverter Constructor Protected constructor

Protected Instance Methods

Convert Evaluate this pattern converter and write the output to a writer.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternConverter Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Config.DOMConfiguratorAttributeConstructor.html0000644000175000017500000000326010412737536027773 0ustar slomoslomo DOMConfiguratorAttribute Constructor
log4net SDK Reference

DOMConfiguratorAttribute Constructor 

Initializes a new instance of the DOMConfiguratorAttribute class.

[Visual Basic]
Public Sub New()
[C#]
public DOMConfiguratorAttribute();

See Also

DOMConfiguratorAttribute Class | log4net.Config Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.ReadOnly.html0000644000175000017500000000470110412737554025657 0ustar slomoslomo PluginCollection.ReadOnly Method
log4net SDK Reference

PluginCollection.ReadOnly Method 

Creates a read-only wrapper for a PluginCollection instance.

[Visual Basic]
Public Shared Function ReadOnly( _
   ByVal list As PluginCollection _
) As PluginCollection
[C#]
public static PluginCollection ReadOnly(
   PluginCollection list
);

Parameters

list
list to create a readonly wrapper arround

Return Value

A PluginCollection wrapper that is read-only.

Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.ReadOnly(log4net.Plugin.PluginCollection)

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.html0000644000175000017500000000747410412737540024150 0ustar slomoslomo IAppenderAttachable Interface
log4net SDK Reference

IAppenderAttachable Interface

Interface for attaching appenders to objects.

For a list of all members of this type, see IAppenderAttachable Members.

[Visual Basic]
Public Interface IAppenderAttachable
[C#]
public interface IAppenderAttachable

Types that implement IAppenderAttachable

Type Description
BufferingForwardingAppender Buffers events and then forwards them to attached appenders.
ForwardingAppender This appender forwards logging events to attached appenders.
Logger Implementation of ILogger used by Hierarchy
RootLogger The RootLogger sits at the root of the logger hierarchy tree.
AppenderAttachedImpl A straightforward implementation of the IAppenderAttachable interface.

Remarks

Interface for attaching, removing and retrieving appenders.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

IAppenderAttachable Members | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.DenyAllFilterMethods.html0000644000175000017500000000777710412737546024723 0ustar slomoslomo DenyAllFilter Methods
log4net SDK Reference

DenyAllFilter Methods

The methods of the DenyAllFilter class are listed below. For a complete list of DenyAllFilter class members, see the DenyAllFilter Members topic.

Public Instance Methods

ActivateOptions (inherited from FilterSkeleton) Initialize the filter with the options set
Decide Always returns the integer constant Deny
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

DenyAllFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerRepositoryCreationEventArgsMembers.html0000644000175000017500000001323010412737544030455 0ustar slomoslomo LoggerRepositoryCreationEventArgs Members
log4net SDK Reference

LoggerRepositoryCreationEventArgs Members

LoggerRepositoryCreationEventArgs overview

Public Instance Constructors

LoggerRepositoryCreationEventArgs Constructor Construct instance using ILoggerRepository specified

Public Instance Properties

LoggerRepository The ILoggerRepository that has been created

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LoggerRepositoryCreationEventArgs Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TraceAppenderConstructor2.html0000644000175000017500000000451310412737536026237 0ustar slomoslomo TraceAppender Constructor (ILayout)
log4net SDK Reference

TraceAppender Constructor (ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property


Initializes a new instance of the TraceAppender with a specified layout.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout _
)
[C#]
public TraceAppender(
   ILayout layout
);

Parameters

layout
The layout to use with this appender.

Remarks

Obsolete constructor.

See Also

TraceAppender Class | log4net.Appender Namespace | TraceAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginCollection.Count.html0000644000175000017500000000474210412737554025237 0ustar slomoslomo Count Property
log4net SDK Reference

PluginCollection.Count Property

Gets the number of elements actually contained in the PluginCollection.

[Visual Basic]
Overridable Public ReadOnly Property Count As Integer _
    Implements ICollection.Count
[C#]
public virtual int Count {get;}

Implements

ICollection.Count

Remarks

Missing <remarks> documentation for P:log4net.Plugin.PluginCollection.Count

See Also

PluginCollection Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Warn_overload_2.html0000644000175000017500000000627610412737516023317 0ustar slomoslomo ILog.Warn Method (Object)
log4net SDK Reference

ILog.Warn Method (Object)

Log a message object with the Warn level.

[Visual Basic]
Sub Warn( _
   ByVal message As Object _
)
[C#]
void Warn(
   object message
);

Parameters

message
The message object to log.

Remarks

This method first checks if this logger is WARN enabled by comparing the level of this logger with the Warn level. If this logger is WARN enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Warn form instead.

See Also

ILog Interface | log4net Namespace | ILog.Warn Overload List | Warn | IsWarnEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.SmtpPickupDirAppender.SendBuffer.html0000644000175000017500000000421710412737534027430 0ustar slomoslomo SmtpPickupDirAppender.SendBuffer Method
log4net SDK Reference

SmtpPickupDirAppender.SendBuffer Method 

Sends the contents of the cyclic buffer as an e-mail message.

[Visual Basic]
Overrides Protected Sub SendBuffer( _
   ByVal events As LoggingEvent() _
)
[C#]
protected override void SendBuffer(
   LoggingEvent[] events
);

Parameters

events
The logging events to send.

Remarks

Sends the contents of the cyclic buffer as an e-mail message.

See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppenderProperties.html0000644000175000017500000000732610412737534026164 0ustar slomoslomo TelnetAppender Properties
log4net SDK Reference

TelnetAppender Properties

The properties of the TelnetAppender class are listed below. For a complete list of TelnetAppender class members, see the TelnetAppender Members topic.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Port Gets or sets the TCP port number on which this TelnetAppender will listen for connections.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

TelnetAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.ILog.Debug_overloads.html0000644000175000017500000000417510412737516023374 0ustar slomoslomo Debug Method
log4net SDK Reference

ILog.Debug Method

Log a message object with the Debug level.

Overload List

Log a message object with the Debug level.

void Debug(object);

Log a message object with the Debug level including the stack trace of the Exception passed as a parameter.

void Debug(object,Exception);

See Also

ILog Interface | log4net Namespace | Debug | IsDebugEnabled


log4net-1.2.10/doc/release/sdk/log4net.Appender.LocalSyslogAppender.Identity.html0000644000175000017500000000420410412737530026663 0ustar slomoslomo Identity Property
log4net SDK Reference

LocalSyslogAppender.Identity Property

Message identity

[Visual Basic]
Public Property Identity As String
[C#]
public string Identity {get; set;}

Remarks

An identifier is specified with each log message. This can be specified by setting the Identity property. The identity (also know as the tag) must not contain white space. The default value for the identity is the application name (from ApplicationFriendlyName).

See Also

LocalSyslogAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelEvaluator.IsTriggeringEvent.html0000644000175000017500000000572210412737542026654 0ustar slomoslomo LevelEvaluator.IsTriggeringEvent Method
log4net SDK Reference

LevelEvaluator.IsTriggeringEvent Method 

Is this loggingEvent the triggering event?

[Visual Basic]
NotOverridable Public Function IsTriggeringEvent( _
   ByVal loggingEvent As LoggingEvent _
) As Boolean _
    Implements ITriggeringEventEvaluator.IsTriggeringEvent
[C#]
public bool IsTriggeringEvent(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to check

Return Value

This method returns true, if the event level is equal or higher than the Threshold. Otherwise it returns false

Implements

ITriggeringEventEvaluator.IsTriggeringEvent

Remarks

This evaluator will trigger if the level of the event passed to IsTriggeringEvent is equal to or greater than the Threshold level.

See Also

LevelEvaluator Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.GetCurrentLoggers_overload_3.html0000644000175000017500000000511710412737516027171 0ustar slomoslomo LogManager.GetCurrentLoggers Method (Assembly)
log4net SDK Reference

LogManager.GetCurrentLoggers Method (Assembly)

Returns all the currently defined loggers in the specified assembly's repository.

[Visual Basic]
Overloads Public Shared Function GetCurrentLoggers( _
   ByVal repositoryAssembly As Assembly _
) As ILog()
[C#]
public static ILog[] GetCurrentLoggers(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Return Value

All the defined loggers.

Remarks

The root logger is not included in the returned array.

See Also

LogManager Class | log4net Namespace | LogManager.GetCurrentLoggers Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.AppenderAttachedImpl.RemoveAppender_overload_2.html0000644000175000017500000000545510412737556031426 0ustar slomoslomo AppenderAttachedImpl.RemoveAppender Method (IAppender)
log4net SDK Reference

AppenderAttachedImpl.RemoveAppender Method (IAppender)

Removes the specified appender from the list of attached appenders.

[Visual Basic]
NotOverridable Overloads Public Function RemoveAppender( _
   ByVal appender As IAppender _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public IAppender RemoveAppender(
   IAppender appender
);

Parameters

appender
The appender to remove.

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

See Also

AppenderAttachedImpl Class | log4net.Util Namespace | AppenderAttachedImpl.RemoveAppender Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.NativeError.Message.html0000644000175000017500000000364710412737560024200 0ustar slomoslomo Message Property
log4net SDK Reference

NativeError.Message Property

Gets the message of the native error.

[Visual Basic]
Public ReadOnly Property Message As String
[C#]
public string Message {get;}

Property Value

The message of the native error.

Remarks

Gets the message of the native error.

See Also

NativeError Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OptionConverter.html0000644000175000017500000000440610412737562023511 0ustar slomoslomo OptionConverter Class
log4net SDK Reference

OptionConverter Class

A convenience class to convert property values to specific types.

For a list of all members of this type, see OptionConverter Members.

System.Object
   log4net.Util.OptionConverter

[Visual Basic]
NotInheritable Public Class OptionConverter
[C#]
public sealed class OptionConverter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

Utility functions for converting types and parsing values.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

OptionConverter Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LogExceptionConstructor2.html0000644000175000017500000000433410412737544025254 0ustar slomoslomo LogException Constructor (String)
log4net SDK Reference

LogException Constructor (String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String _
)
[C#]
public LogException(
   string message
);

Parameters

message
A message to include with the exception.

Remarks

Initializes a new instance of the LogException class with the specified message.

See Also

LogException Class | log4net.Core Namespace | LogException Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Filter.LevelRangeFilter.LevelMin.html0000644000175000017500000000373110412737550025562 0ustar slomoslomo LevelMin Property
log4net SDK Reference

LevelRangeFilter.LevelMin Property

Set the minimum matched Level

[Visual Basic]
Public Property LevelMin As Level
[C#]
public log4net.Core.Level LevelMin {get; set;}

Remarks

The minimum level that this filter will attempt to match against the LoggingEvent level. If a match is found then the result depends on the value of AcceptOnMatch.

See Also

LevelRangeFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.AppenderCollectionConstructor2.html0000644000175000017500000000502710412737522027270 0ustar slomoslomo AppenderCollection Constructor (Int32)
log4net SDK Reference

AppenderCollection Constructor (Int32)

Initializes a new instance of the AppenderCollection class that has the specified initial capacity.

[Visual Basic]
Overloads Public Sub New( _
   ByVal capacity As Integer _
)
[C#]
public AppenderCollection(
   int capacity
);

Parameters

capacity
The number of elements that the new AppenderCollection is initially capable of storing.

Remarks

Missing <remarks> documentation for M:log4net.Appender.AppenderCollection.#ctor(System.Int32)

See Also

AppenderCollection Class | log4net.Appender Namespace | AppenderCollection Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Core.LogImpl.Warn_overload_1.html0000644000175000017500000000653710412737546024721 0ustar slomoslomo LogImpl.Warn Method (Object, Exception)
log4net SDK Reference

LogImpl.Warn Method (Object, Exception)

Logs a message object with the WARN level

[Visual Basic]
Overridable Overloads Public Sub Warn( _
   ByVal message As Object, _
   ByVal exception As Exception _
) _
    Implements ILog.Warn
[C#]
public virtual void Warn(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Implements

ILog.Warn

Remarks

Logs a message object with the WARN level including the stack trace of the Exception exception passed as a parameter.

See the Warn form for more detailed information.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Warn Overload List | Warn


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Lossy.html0000644000175000017500000000501310412737522027364 0ustar slomoslomo Lossy Property
log4net SDK Reference

BufferingAppenderSkeleton.Lossy Property

Gets or sets a value that indicates whether the appender is lossy.

[Visual Basic]
Public Property Lossy As Boolean
[C#]
public bool Lossy {get; set;}

Property Value

true if the appender is lossy, otherwise false. The default is false.

Remarks

This appender uses a buffer to store logging events before delivering them. A triggering event causes the whole buffer to be send to the remote sink. If the buffer overruns before a triggering event then logging events could be lost. Set Lossy to false to prevent logging events from being lost.

If Lossy is set to true then an Evaluator must be specified.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.OpenFile.html0000644000175000017500000000553310412737532026556 0ustar slomoslomo RollingFileAppender.OpenFile Method
log4net SDK Reference

RollingFileAppender.OpenFile Method 

Creates and opens the file for logging. If StaticLogFileName is false then the fully qualified name is determined and used.

[Visual Basic]
Overrides Protected Sub OpenFile( _
   ByVal fileName As String, _
   ByVal append As Boolean _
)
[C#]
protected override void OpenFile(
   string fileName,
   bool append
);

Parameters

fileName
the name of the file to open
append
true to append to existing file

Remarks

This method will ensure that the directory structure for the fileName specified exists.

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RollingFileAppender.ExistingInit.html0000644000175000017500000000422410412737532027467 0ustar slomoslomo RollingFileAppender.ExistingInit Method
log4net SDK Reference

RollingFileAppender.ExistingInit Method 

Initializes based on existing conditions at time of ActivateOptions.

[Visual Basic]
Protected Sub ExistingInit()
[C#]
protected void ExistingInit();

Remarks

Initializes based on existing conditions at time of ActivateOptions. The following is done

See Also

RollingFileAppender Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEventData.Message.html0000644000175000017500000000353410412737544025072 0ustar slomoslomo LoggingEventData.Message Field
log4net SDK Reference

LoggingEventData.Message Field

The application supplied message.

[Visual Basic]
Public Message As String
[C#]
public string Message;

Remarks

The application supplied message of logging event.

See Also

LoggingEventData Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMap.DefaultRenderer.html0000644000175000017500000000353010412737552027603 0ustar slomoslomo DefaultRenderer Property
log4net SDK Reference

RendererMap.DefaultRenderer Property

Get the default renderer instance

[Visual Basic]
Public ReadOnly Property DefaultRenderer As IObjectRenderer
[C#]
public IObjectRenderer DefaultRenderer {get;}

Property Value

the default renderer

Remarks

Get the default renderer

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.CountingQuietTextWriter.html0000644000175000017500000000603710412737560025211 0ustar slomoslomo CountingQuietTextWriter Class
log4net SDK Reference

CountingQuietTextWriter Class

Subclass of QuietTextWriter that maintains a count of the number of bytes written.

For a list of all members of this type, see CountingQuietTextWriter Members.

System.Object
   System.MarshalByRefObject
      System.IO.TextWriter
         log4net.Util.TextWriterAdapter
            log4net.Util.QuietTextWriter
               log4net.Util.CountingQuietTextWriter

[Visual Basic]
Public Class CountingQuietTextWriter
    Inherits QuietTextWriter
[C#]
public class CountingQuietTextWriter : QuietTextWriter

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This writer counts the number of bytes written.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

CountingQuietTextWriter Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.GetAppender.html0000644000175000017500000000473010412737540026335 0ustar slomoslomo IAppenderAttachable.GetAppender Method
log4net SDK Reference

IAppenderAttachable.GetAppender Method 

Gets an attached appender with the specified name.

[Visual Basic]
Function GetAppender( _
   ByVal name As String _
) As IAppender
[C#]
IAppender GetAppender(
   string name
);

Parameters

name
The name of the appender to get.

Return Value

The appender with the name specified, or null if no appender with the specified name is found.

Remarks

Returns an attached appender with the name specified. If no appender with the specified name is found null will be returned.

See Also

IAppenderAttachable Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLogProperties.html0000644000175000017500000000553110412737560023607 0ustar slomoslomo LogLog Properties
log4net SDK Reference

LogLog Properties

The properties of the LogLog class are listed below. For a complete list of LogLog class members, see the LogLog Members topic.

Public Static (Shared) Properties

InternalDebugging Gets or sets a value indicating whether log4net internal logging is enabled or disabled.
IsDebugEnabled Test if LogLog.Debug is enabled for output.
IsErrorEnabled Test if LogLog.Error is enabled for output.
IsWarnEnabled Test if LogLog.Warn is enabled for output.
QuietMode Gets or sets a value indicating whether log4net should generate no output from internal logging, not even for errors.

See Also

LogLog Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.IAppenderAttachable.RemoveAppender_overloads.html0000644000175000017500000000366110412737540031133 0ustar slomoslomo RemoveAppender Method
log4net SDK Reference

IAppenderAttachable.RemoveAppender Method

Removes the specified appender from the list of attached appenders.

Overload List

Removes the specified appender from the list of attached appenders.

IAppender RemoveAppender(IAppender);

Removes the appender with the specified name from the list of appenders.

IAppender RemoveAppender(string);

See Also

IAppenderAttachable Interface | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.ThreadContextStackProperties.html0000644000175000017500000000356010412737564026172 0ustar slomoslomo ThreadContextStack Properties
log4net SDK Reference

ThreadContextStack Properties

The properties of the ThreadContextStack class are listed below. For a complete list of ThreadContextStack class members, see the ThreadContextStack Members topic.

Public Instance Properties

Count The number of messages in the stack

See Also

ThreadContextStack Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderConstructor1.html0000644000175000017500000000400710412737524030105 0ustar slomoslomo ColoredConsoleAppender Constructor ()
log4net SDK Reference

ColoredConsoleAppender Constructor ()

Initializes a new instance of the ColoredConsoleAppender class.

[Visual Basic]
Overloads Public Sub New()
[C#]
public ColoredConsoleAppender();

Remarks

The instance of the ColoredConsoleAppender class is set up to write to the standard output stream.

See Also

ColoredConsoleAppender Class | log4net.Appender Namespace | ColoredConsoleAppender Constructor Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.LogLog.Debug_overload_2.html0000644000175000017500000000536010412737560024673 0ustar slomoslomo LogLog.Debug Method (String, Exception)
log4net SDK Reference

LogLog.Debug Method (String, Exception)

Writes log4net internal debug messages to the standard output stream.

[Visual Basic]
Overloads Public Shared Sub Debug( _
   ByVal message As String, _
   ByVal exception As Exception _
)
[C#]
public static void Debug(
   string message,
   Exception exception
);

Parameters

message
The message to log.
exception
An exception to log.

Remarks

All internal debug messages are prepended with the string "log4net: ".

See Also

LogLog Class | log4net.Util Namespace | LogLog.Debug Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.SystemInfo.EntryAssemblyLocation.html0000644000175000017500000000444510412737564026747 0ustar slomoslomo EntryAssemblyLocation Property
log4net SDK Reference

SystemInfo.EntryAssemblyLocation Property

Gets the path to the file that first executed in the current AppDomain.

[Visual Basic]
Public Shared ReadOnly Property EntryAssemblyLocation As String
[C#]
public static string EntryAssemblyLocation {get;}

Property Value

The path to the entry assembly.

Remarks

Gets the path to the file that first executed in the current AppDomain.

See Also

SystemInfo Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.SecurityContext.Impersonate.html0000644000175000017500000000622210412737546025765 0ustar slomoslomo SecurityContext.Impersonate Method
log4net SDK Reference

SecurityContext.Impersonate Method 

Impersonate this SecurityContext

[Visual Basic]
MustOverride Public Function Impersonate( _
   ByVal state As Object _
) As IDisposable
[C#]
public abstract IDisposable Impersonate(
   object state
);

Parameters

state
State supplied by the caller

Return Value

An IDisposable instance that will revoke the impersonation of this SecurityContext, or null

Remarks

Impersonate this security context. Further calls on the current thread should now be made in the security context provided by this object. When the IDisposable result Dispose method is called the security context of the thread should be reverted to the state it was in before Impersonate was called.

See Also

SecurityContext Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.TelnetAppender.html0000644000175000017500000000553110412737534024103 0ustar slomoslomo TelnetAppender Class
log4net SDK Reference

TelnetAppender Class

Appender that allows clients to connect via Telnet to receive log messages

For a list of all members of this type, see TelnetAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.TelnetAppender

[Visual Basic]
Public Class TelnetAppender
    Inherits AppenderSkeleton
[C#]
public class TelnetAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The TelnetAppender accepts socket connections and streams logging messages back to the client. The output is provided in a telnet-friendly way so that a log can be monitored over a TCP/IP socket. This allows simple remote monitoring of application logging.

The default Port is 23 (the telnet port).

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

TelnetAppender Members | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender.htmllog4net-1.2.10/doc/release/sdk/log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender.h0000644000175000017500000000472310412737556032532 0ustar slomoslomo XmlHierarchyConfigurator.ParseAppender Method
log4net SDK Reference

XmlHierarchyConfigurator.ParseAppender Method 

Parses an appender element.

[Visual Basic]
Protected Function ParseAppender( _
   ByVal appenderElement As XmlElement _
) As IAppender
[C#]
protected IAppender ParseAppender(
   XmlElement appenderElement
);

Parameters

appenderElement
The appender element.

Return Value

The appender instance or null when parsing failed.

Remarks

Parse an XML element that represents an appender and return the appender instance.

See Also

XmlHierarchyConfigurator Class | log4net.Repository.Hierarchy Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayout.Base64EncodeProperties.html0000644000175000017500000000441710412737552027066 0ustar slomoslomo Base64EncodeProperties Property
log4net SDK Reference

XmlLayout.Base64EncodeProperties Property

Set whether or not to base64 encode the property values.

[Visual Basic]
Public Property Base64EncodeProperties As Boolean
[C#]
public bool Base64EncodeProperties {get; set;}

Remarks

By default the properties will be written as text to the xml output. This can cause problems when one or more properties contain binary data. By setting this to true the values of the properties will be base64 encoded. If this is set then invalid character replacement (see InvalidCharReplacement) will not be performed on the property values.

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.RemoteSyslogAppender.LevelSeverityConstructor.html0000644000175000017500000000337610412737532032356 0ustar slomoslomo RemoteSyslogAppender.LevelSeverity Constructor
log4net SDK Reference

RemoteSyslogAppender.LevelSeverity Constructor 

Initializes a new instance of the RemoteSyslogAppender.LevelSeverity class.

[Visual Basic]
Public Sub New()
[C#]
public RemoteSyslogAppender.LevelSeverity();

See Also

RemoteSyslogAppender.LevelSeverity Class | log4net.Appender Namespace


././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootlog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructor.htmllog4net-1.2.10/doc/release/sdk/log4net.Util.TypeConverters.ConversionNotSupportedExceptionConstructo0000644000175000017500000000462310412737564033063 0ustar slomoslomo ConversionNotSupportedException Constructor
log4net SDK Reference

ConversionNotSupportedException Constructor

Constructor

Overload List

Constructor

public ConversionNotSupportedException();

Serialization constructor

protected ConversionNotSupportedException(SerializationInfo,StreamingContext);

Constructor

public ConversionNotSupportedException(string);

Constructor

public ConversionNotSupportedException(string,Exception);

See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.XmlLayoutProperties.html0000644000175000017500000001041110412737552024714 0ustar slomoslomo XmlLayout Properties
log4net SDK Reference

XmlLayout Properties

The properties of the XmlLayout class are listed below. For a complete list of XmlLayout class members, see the XmlLayout Members topic.

Public Instance Properties

Base64EncodeMessage Set whether or not to base64 encode the message.
Base64EncodeProperties Set whether or not to base64 encode the property values.
ContentType (inherited from XmlLayoutBase) Gets the content type output by this layout.
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions
InvalidCharReplacement (inherited from XmlLayoutBase) The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

LocationInfo (inherited from XmlLayoutBase) Gets a value indicating whether to include location information in the XML events.
Prefix The prefix to use for all element names

See Also

XmlLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.OnlyOnceErrorHandlerConstructor.html0000644000175000017500000000336710412737562026662 0ustar slomoslomo OnlyOnceErrorHandler Constructor
log4net SDK Reference

OnlyOnceErrorHandler Constructor

Default Constructor

Overload List

Default Constructor

public OnlyOnceErrorHandler();

Constructor

public OnlyOnceErrorHandler(string);

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.CreateRepository_overload_4.html0000644000175000017500000000720710412737516027072 0ustar slomoslomo LogManager.CreateRepository Method (Assembly, Type)
log4net SDK Reference

LogManager.CreateRepository Method (Assembly, Type)

Creates a repository for the specified assembly and repository type.

[Visual Basic]
Overloads Public Shared Function CreateRepository( _
   ByVal repositoryAssembly As Assembly, _
   ByVal repositoryType As Type _
) As ILoggerRepository
[C#]
public static ILoggerRepository CreateRepository(
   Assembly repositoryAssembly,
   Type repositoryType
);

Parameters

repositoryAssembly
The assembly to use to get the name of the repository.
repositoryType
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.

Return Value

The ILoggerRepository created for the repository.

Remarks

The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same assembly specified will return the same repository instance.

See Also

LogManager Class | log4net Namespace | LogManager.CreateRepository Overload List


log4net-1.2.10/doc/release/sdk/log4net.Appender.UdpAppender.Append_overload_2.html0000644000175000017500000000461310412737536026724 0ustar slomoslomo UdpAppender.Append Method (LoggingEvent)
log4net SDK Reference

UdpAppender.Append Method (LoggingEvent)

This method is called by the DoAppend method.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to log.

Remarks

Sends the event using an UDP datagram.

Exceptions are passed to the ErrorHandler.

See Also

UdpAppender Class | log4net.Appender Namespace | UdpAppender.Append Overload List


log4net-1.2.10/doc/release/sdk/log4net.ILogProperties.html0000644000175000017500000000565710412737516022354 0ustar slomoslomo ILog Properties
log4net SDK Reference

ILog Properties

The properties of the ILog interface are listed below. For a complete list of ILog interface members, see the ILog Members topic.

Public Instance Properties

IsDebugEnabled Checks if this logger is enabled for the Debug level.
IsErrorEnabled Checks if this logger is enabled for the Error level.
IsFatalEnabled Checks if this logger is enabled for the Fatal level.
IsInfoEnabled Checks if this logger is enabled for the Info level.
IsWarnEnabled Checks if this logger is enabled for the Warn level.

See Also

ILog Interface | log4net Namespace | LogManager | GetLogger


log4net-1.2.10/doc/release/sdk/log4net.ObjectRenderer.RendererMapMembers.html0000644000175000017500000001443110412737552026046 0ustar slomoslomo RendererMap Members
log4net SDK Reference

RendererMap Members

RendererMap overview

Public Instance Constructors

RendererMap Constructor Default Constructor

Public Instance Properties

DefaultRenderer Get the default renderer instance

Public Instance Methods

Clear Clear the map of renderers
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FindAndRenderOverloaded. Render obj using the appropriate renderer.
GetOverloaded. Gets the renderer for the specified object type
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Put Register an IObjectRenderer for typeToRender.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace


log4net-1.2.10/doc/release/sdk/log4net.LogManager.ResetConfiguration_overload_1.html0000644000175000017500000000431310412737520027364 0ustar slomoslomo LogManager.ResetConfiguration Method ()
log4net SDK Reference

LogManager.ResetConfiguration Method ()

Resets all values contained in this repository instance to their defaults.

[Visual Basic]
Overloads Public Shared Sub ResetConfiguration()
[C#]
public static void ResetConfiguration();

Remarks

Resets all values contained in the repository instance to their defaults. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set to its default "off" value.

See Also

LogManager Class | log4net Namespace | LogManager.ResetConfiguration Overload List


log4net-1.2.10/doc/release/sdk/log4net.Util.WindowsSecurityContext.html0000644000175000017500000000600310412737564025075 0ustar slomoslomo WindowsSecurityContext Class
log4net SDK Reference

WindowsSecurityContext Class

Impersonate a Windows Account

For a list of all members of this type, see WindowsSecurityContext Members.

System.Object
   log4net.Core.SecurityContext
      log4net.Util.WindowsSecurityContext

[Visual Basic]
Public Class WindowsSecurityContext
    Inherits SecurityContext
    Implements IOptionHandler
[C#]
public class WindowsSecurityContext : SecurityContext, IOptionHandler

Thread Safety

This type is not safe for multithreaded operations.

Remarks

This SecurityContext impersonates a Windows account.

How the impersonation is done depends on the value of Impersonate. This allows the context to either impersonate a set of user credentials specified using username, domain name and password or to revert to the process credentials.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

WindowsSecurityContext Members | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Filter.PropertyFilterConstructor.html0000644000175000017500000000331110412737550026110 0ustar slomoslomo PropertyFilter Constructor
log4net SDK Reference

PropertyFilter Constructor 

Default constructor

[Visual Basic]
Public Sub New()
[C#]
public PropertyFilter();

Remarks

Missing <remarks> documentation for M:log4net.Filter.PropertyFilter.#ctor

See Also

PropertyFilter Class | log4net.Filter Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.IPlugin.Shutdown.html0000644000175000017500000000335410412737552024053 0ustar slomoslomo IPlugin.Shutdown Method
log4net SDK Reference

IPlugin.Shutdown Method 

Is called when the plugin is to shutdown.

[Visual Basic]
Sub Shutdown()
[C#]
void Shutdown();

Remarks

This method is called to notify the plugin that it should stop operating and should detach from the repository.

See Also

IPlugin Interface | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.LayoutSkeleton.Header.html0000644000175000017500000000430110412737550025051 0ustar slomoslomo Header Property
log4net SDK Reference

LayoutSkeleton.Header Property

The header for the layout format.

[Visual Basic]
Overridable Public Property Header As String _
    Implements ILayout.Header
[C#]
public virtual string Header {get; set;}

Property Value

the layout header

Implements

ILayout.Header

Remarks

The Header text will be appended before any logging events are formatted and appended.

See Also

LayoutSkeleton Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LevelMethods.html0000644000175000017500000000651510412737542022720 0ustar slomoslomo Level Methods
log4net SDK Reference

Level Methods

The methods of the Level class are listed below. For a complete list of Level class members, see the Level Members topic.

Public Static (Shared) Methods

Compare Compares two specified Level instances.

Public Instance Methods

CompareTo Compares this instance to a specified object and returns an indication of their relative values.
Equals Compares levels.
GetHashCode Returns a hash code
GetType (inherited from Object) Gets the Type of the current instance.
ToString Returns the String representation of the current Level.

See Also

Level Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Util.LevelMappingEntryMembers.html0000644000175000017500000001311510412737560025264 0ustar slomoslomo LevelMappingEntry Members
log4net SDK Reference

LevelMappingEntry Members

LevelMappingEntry overview

Public Instance Properties

Level The level that is the key for this mapping

Public Instance Methods

ActivateOptions Initialize any options defined on this entry
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

LevelMappingEntry Constructor Default protected constructor

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LevelMappingEntry Class | log4net.Util Namespace


log4net-1.2.10/doc/release/sdk/log4net.Plugin.PluginMapConstructor.html0000644000175000017500000000403110412737554025027 0ustar slomoslomo PluginMap Constructor
log4net SDK Reference

PluginMap Constructor 

Constructor

[Visual Basic]
Public Sub New( _
   ByVal repository As ILoggerRepository _
)
[C#]
public PluginMap(
   ILoggerRepository repository
);

Parameters

repository
The repository that the plugins should be attached to.

Remarks

Initialize a new instance of the PluginMap class with a repository that the plugins should be attached to.

See Also

PluginMap Class | log4net.Plugin Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.ConsoleAppender.html0000644000175000017500000000633210412737524024251 0ustar slomoslomo ConsoleAppender Class
log4net SDK Reference

ConsoleAppender Class

Appends logging events to the console.

For a list of all members of this type, see ConsoleAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.ConsoleAppender

[Visual Basic]
Public Class ConsoleAppender
    Inherits AppenderSkeleton
[C#]
public class ConsoleAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

ConsoleAppender appends log events to the standard output stream or the error output stream using a layout specified by the user.

By default, all output is written to the console's standard output stream. The Target property can be set to direct the output to the error stream.

NOTE: This appender writes each message to the System.Console.Out or System.Console.Error that is set at the time the event is appended. Therefore it is possible to programmatically redirect the output of this appender (for example NUnit does this to capture program output). While this is the desired behavior of this appender it may have security implications in your application.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

ConsoleAppender Members | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.WrapperMapMembers.html0000644000175000017500000001406110412737546023715 0ustar slomoslomo WrapperMap Members
log4net SDK Reference

WrapperMap Members

WrapperMap overview

Public Instance Constructors

WrapperMap Constructor Initializes a new instance of the WrapperMap

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
GetWrapper Gets the wrapper object for the specified logger.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

Repositories Gets the map of logger repositories.

Protected Instance Methods

CreateNewWrapperObject Creates the wrapper object for the specified logger.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
RepositoryShutdown Called when a monitored repository shutdown event is received.

See Also

WrapperMap Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggingEvent.GetProperties.html0000644000175000017500000000424510412737544025510 0ustar slomoslomo LoggingEvent.GetProperties Method
log4net SDK Reference

LoggingEvent.GetProperties Method 

Get all the composite properties in this event

[Visual Basic]
Public Function GetProperties() As PropertiesDictionary
[C#]
public PropertiesDictionary GetProperties();

Return Value

the PropertiesDictionary containing all the properties

Remarks

See LookupProperty for details of the composite properties stored by the event.

This method returns a single PropertiesDictionary containing all the properties defined for this event.

See Also

LoggingEvent Class | log4net.Core Namespace


log4net-1.2.10/doc/release/sdk/log4net.Layout.RawUtcTimeStampLayoutMethods.html0000644000175000017500000001210510412737552026456 0ustar slomoslomo RawUtcTimeStampLayout Methods
log4net SDK Reference

RawUtcTimeStampLayout Methods

The methods of the RawUtcTimeStampLayout class are listed below. For a complete list of RawUtcTimeStampLayout class members, see the RawUtcTimeStampLayout Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Gets the TimeStamp as a DateTime.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RawUtcTimeStampLayout Class | log4net.Layout Namespace


log4net-1.2.10/doc/release/sdk/log4net.Appender.BufferingAppenderSkeleton.ActivateOptions.html0000644000175000017500000000474310412737524031402 0ustar slomoslomo BufferingAppenderSkeleton.ActivateOptions Method
log4net SDK Reference

BufferingAppenderSkeleton.ActivateOptions Method 

Initialize the appender based on the options set

[Visual Basic]
Overrides Public Sub ActivateOptions() _
    Implements IOptionHandler.ActivateOptions
[C#]
public override void ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace


log4net-1.2.10/doc/release/sdk/log4net.Core.LoggerManager.Exists_overload_2.html0000644000175000017500000000607210412737544026431 0ustar slomoslomo LoggerManager.Exists Method (Assembly, String)
log4net SDK Reference

LoggerManager.Exists Method (Assembly, String)

Returns the named logger if it exists.

[Visual Basic]
Overloads Public Shared Function Exists( _
   ByVal repositoryAssembly As Assembly, _
   ByVal name As String _
) As ILogger
[C#]
public static ILogger Exists(
   Assembly repositoryAssembly,
   string name
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.
name
The fully qualified logger name to look for.

Return Value

The logger found, or null if the named logger does not exist in the specified assembly's repository.

Remarks

If the named logger exists (in the specified assembly's repository) then it returns a reference to the logger, otherwise it returns null.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.Exists Overload List


log4net-1.2.10/doc/release/manual/0000755000175000017500000000000010772404056015662 5ustar slomoslomolog4net-1.2.10/doc/release/manual/internals.html0000644000175000017500000004172610412737254020561 0ustar slomoslomo log4net - log4net Manual - Internals

log4net Manual - Internals

Contents

Performance

One of the often-cited arguments against logging is its computational cost. This is a legitimate concern as even moderately sized applications can generate thousands of log requests. Much effort was spent measuring and tweaking logging performance. Log4net claims to be fast and flexible: speed first, flexibility second.

The user should be aware of the following performance issues.

  1. Logging performance when logging is turned off.

    When logging is turned off entirely or just for a set of levels, the cost of a log request consists of a method invocation plus an integer comparison.

    However, The method invocation involves the "hidden" cost of parameter construction.

    For example, for some logger log, writing,

    log.Debug("Entry number: " + i + " is " + entry[i].ToString());

    incurs the cost of constructing the message parameter, i.e. converting both integer i and entry[i] to strings, and concatenating intermediate strings, regardless of whether the message will be logged or not. This cost of parameter construction can be quite high and it depends on the number and type of the parameters involved.

    To avoid the parameter construction cost write:

    if(log.IsDebugEnabled)
    {
    	log.Debug("Entry number: " + i + " is " + entry[i].ToString());
    }

    This will not incur the cost of parameter construction if debugging is disabled. On the other hand, if the logger is debug-enabled, it will incur twice the cost of evaluating whether the logger is enabled or not: once in IsDebugEnabled and once in Debug. This is an insignificant overhead because evaluating a logger takes about 1% of the time it takes to actually log.

    Certain users resort to pre-processing or compile-time techniques to compile out all log statements. This leads to perfect performance efficiency with respect to logging. However, since the resulting application binary does not contain any log statements, logging cannot be turned on for that binary. In many people's opinion this is a disproportionate price to pay in exchange for a small performance gain.

  2. The performance of deciding whether to log or not to log when logging is turned on.

    This is essentially the performance of walking the logger hierarchy. When logging is turned on, log4net still needs to compare the level of the log request with the level of the request logger. However, loggers may not have an assigned level; they can inherit them from the logger hierarchy. Thus, before inheriting a level, the logger may need to search its ancestors.

    There has been a serious effort to make this hierarchy walk to be as fast as possible. For example, child loggers link only to their existing ancestors. In the BasicConfigurator example shown earlier, the logger named Com.Foo.Bar is linked directly to the root logger, thereby circumventing the nonexistent Com or Com.Foo loggers. This significantly improves the speed of the walk, especially in "sparse" hierarchies.

    The typical cost of walking the hierarchy is typically 3 times slower than when logging is turned off entirely.

  3. Actually outputting log messages

    This is the cost of formatting the log output and sending it to its target destination. Here again, a serious effort was made to make layouts (formatters) perform as quickly as possible. The same is true for appenders.

Although log4net has many features, its first design goal was speed. Some log4net components have been rewritten many times to improve performance. Nevertheless, contributors frequently come up with new optimizations. You should be pleased to know that when configured with the SimpleLayout performance tests have shown log4net to log within an order of magnitude of System.Console.WriteLine.

Logging Event Flow

The following is the series of steps and checks that a messages goes through while being logged. For the purposes of this example we will document an INFO level message being logged on logger ConsoleApp.LoggingExample. This logger is configured to use the log4net.Appender.ConsoleAppender. The repository used in this example is a log4net.Repository.Hierarchy object.

  1. The user logs a message using the ILog.Info method on the logger obtained using a call to log4net.LogManager.GetLogger("ConsoleApp.LoggingExample"). For example: log4net.LogManager.GetLogger("ConsoleApp.LoggingExample").Info("Application Start"); The ILog interface is actually an extension to log4net that provides level specific logging methods (i.e. Debug, Info, Warn, Error, and Fatal).

  2. The message is then logged through to the ILogger.Log method on the appropriate log4net.Repository.Hierarchy.Logger object. The ILogger.Log method takes the Level to log at as a parameter and therefore works for all levels.

  3. The repository threshold level is compared to the message level to determine if the message can be logged. If the message level is below the threshold level the message is not logged. In this case the repository is a log4net.Repository.Hierarchy object.

  4. The Logger level is compared to the message level to determine if the message can be logged. Note that the Logger level is inherited from a parent Logger if not specified explicitly for this Logger. If the message level is below the Logger level the message is not logged.

  5. A LoggingEvent instance is created to encapsulate the message being logged.

  6. The list of appenders for the Logger is built. This includes appenders attached to parent Loggers except where excluded by the Logger.Additivity property.

  7. The LoggingEvent object is passed to the IAppender.DoAppend method for each appender.

For Each Appender that the LoggingEvent is delivered to the following actions take place:

  1. The appender threshold level is compared to the message level to determine if the message can be logged. If the message level is below the threshold level the message is not logged.

  2. If the appender has a filter chain the LoggingEvent is passed down the filter chain which can decide if the message can be logged or not.

  3. Next an appender specific check is performed. Usually this check will verify that all the required properties are set for the appender (e.g. a Layout is set if required).

  4. The LoggingEvent is passed to the appender specific Append method. What happens now is specific to the appender.

The following actions take place in the ConsoleAppender.Append method:

  1. The ConsoleAppender uses a Layout to format the message as a string for display.

  2. The Layout uses the LoggingEvent.RenderedMessage property to get the string for the message object. This uses the registered IObjectRenderer for the type of the message object.

  3. The message text is displayed on the console using the Console.WriteLine method.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/manual/introduction.html0000644000175000017500000013742310412737254021303 0ustar slomoslomo log4net - log4net Manual - Introduction

log4net Manual - Introduction

Contents

Overview

This document is based on Short introduction to log4j by Ceki Gülcü.

The log4net framework is based on log4j, see http://logging.apache.org/log4j for more information on log4j. The log4net framework, source code, binaries, documentation, examples and related materials are published under the terms of the Apache License, Version 2.0, a copy of which has been included with this distribution in the LICENSE.txt file.

This document is an introduction to the log4net API, its unique features and design rationale. Log4net is an open source project based on the work of many authors. It allows the developer to control which log statements are output with arbitrary granularity. It is fully configurable at runtime using external configuration files.

Almost every large application includes its own logging or tracing API. Inserting log statements into code is a low-tech method for debugging it. It may also be the only way because debuggers are not always available or applicable. This is usually the case for multithreaded applications and distributed applications at large.

Once an application has been deployed it may not be possible to utilize development and debugging tools. An administrator can use effective logging systems to diagnose and fix many configuration issues.

Experience indicates that logging is an important component of the development cycle. It offers several advantages. It provides precise context about the execution of the application. Once inserted into the code, the generation of logging output requires no human intervention. Moreover, log output can be saved in persistent medium to be studied at a later time. In addition to its use in the development cycle, a sufficiently rich logging package can also be viewed as an auditing tool.

Logging does have its drawbacks. It can slow down an application. If too verbose, it can cause scrolling blindness. To alleviate these concerns, log4net is designed to be reliable, fast and extensible. Since logging is rarely the main focus of an application, the log4net API strives to be simple to understand and to use.

Frameworks

Log4net is available for several frameworks. For each supported framework an assembly targeting that framework is built:

  • Microsoft .NET Framework 1.0 (1.0.3705)
  • Microsoft .NET Framework 1.1 (1.1.4322)
  • Microsoft .NET Compact Framework 1.0 (1.0.5000)
  • Mono 1.0
  • Microsoft Shared Source CLI 1.0
  • CLI 1.0 Compatible

Not all frameworks are created equal and some features have been excluded from some of the builds. See the Framework Support document for more information.

Loggers and Appenders

Log4net has three main components: loggers, appenders and layouts. These three types of components work together to enable developers to log messages according to message type and level, and to control at runtime how these messages are formatted and where they are reported. These components are helped by filters that control the actions of the appender and object renderers that turn objects into strings.

Logger hierarchy

The first and foremost advantage of any logging API over plain System.Console.WriteLine resides in its ability to disable certain log statements while allowing others to print unhindered. This capability assumes that the logging space, that is, the space of all possible logging statements, is categorized according to some developer-chosen criteria.

Loggers are named entities. Logger names are case-sensitive and they follow the following hierarchical naming rule:

Named Hierarchy

A logger is said to be an ancestor of another logger if its name followed by a dot is a prefix of the descendant logger name. A logger is said to be a parent of a child logger if there are no ancestors between itself and the descendant logger.

The hierarchy works very much in the same way as the namespace and class hierarchy in .NET. This is very convenient as we shall soon see.

For example, the logger named "Foo.Bar" is a parent of the logger named "Foo.Bar.Baz". Similarly, "System" is a parent of "System.Text" and an ancestor of "System.Text.StringBuilder". This naming scheme should be familiar to most developers.

The root logger resides at the top of the logger hierarchy. It is exceptional in three ways:

  1. It always exists
  2. It cannot be retrieved by name
  3. It always has an assigned level

Loggers are retrieved using the static method from the log4net.LogManager class. The GetLogger methods take the name of the desired logger as a parameter. They are listed below:

namespace log4net
{
	public class LogManager
	{
		public static ILog GetLogger(string name);
		public static ILog GetLogger(Type type);
	}
}

The GetLogger methods that takes a Type parameter uses the fully qualified type name as the name of the logger to retrieve.

These GetLogger methods return an ILog interface. That is the representation of the Logger passed back to the developer. The ILog interface is defined below:

namespace log4net
{
	public interface ILog
	{
		/* Test if a level is enabled for logging */
		bool IsDebugEnabled { get; }
		bool IsInfoEnabled { get; }
		bool IsWarnEnabled { get; }
		bool IsErrorEnabled { get; }
		bool IsFatalEnabled { get; }
		
		/* Log a message object */
		void Debug(object message);
		void Info(object message);
		void Warn(object message);
		void Error(object message);
		void Fatal(object message);
		
		/* Log a message object and exception */
		void Debug(object message, Exception t);
		void Info(object message, Exception t);
		void Warn(object message, Exception t);
		void Error(object message, Exception t);
		void Fatal(object message, Exception t);
		
		/* Log a message string using the System.String.Format syntax */
		void DebugFormat(string format, params object[] args);
		void InfoFormat(string format, params object[] args);
		void WarnFormat(string format, params object[] args);
		void ErrorFormat(string format, params object[] args);
		void FatalFormat(string format, params object[] args);
		
		/* Log a message string using the System.String.Format syntax */
		void DebugFormat(IFormatProvider provider, string format, params object[] args);
		void InfoFormat(IFormatProvider provider, string format, params object[] args);
		void WarnFormat(IFormatProvider provider, string format, params object[] args);
		void ErrorFormat(IFormatProvider provider, string format, params object[] args);
		void FatalFormat(IFormatProvider provider, string format, params object[] args);
	}
}

Loggers may be assigned levels. Levels are instances of the log4net.Core.Level class. The following levels are defined in order of increasing priority:

  • ALL
  • DEBUG
  • INFO
  • WARN
  • ERROR
  • FATAL
  • OFF

If a given logger is not assigned a level, then it inherits one from its closest ancestor with an assigned level. More formally:

Level Inheritance

The inherited level for a given logger X, is equal to the first non-null level in the logger hierarchy, starting at X and proceeding upwards in the hierarchy towards the root logger.

To ensure that all loggers can eventually inherit a level, the root logger always has an assigned level. The default value for the root logger is DEBUG.

Below are four tables with various assigned level values and the resulting inherited levels according to the above rule.

Logger name Assigned level Inherited level
root Proot Proot
X none Proot
X.Y none Proot
X.Y.Z none Proot

In Example 1 above, only the root logger is assigned a level. This level value, Proot, is inherited by the other loggers X, X.Y and X.Y.Z.

Logger name Assigned level Inherited level
root Proot Proot
X Px Px
X.Y Pxy Pxy
X.Y.Z Pxyz Pxyz

In Example 2 above, all loggers have an assigned level value. There is no need for level inheritance.

Logger name Assigned level Inherited level
root Proot Proot
X Px Px
X.Y none Px
X.Y.Z Pxyz Pxyz

In Example 3 above, the loggers root, X and X.Y.Z are assigned the levels Proot, Px and Pxyz respectively. The logger X.Y inherits its level value from its parent X.

Logger name Assigned level Inherited level
root Proot Proot
X Px Px
X.Y none Px
X.Y.Z none Px

In Example 4 above, the loggers root and X and are assigned the levels Proot and Px respectively. The loggers X.Y and X.Y.Z inherits their level value from their nearest parent X having an assigned level.

Logging requests are made by invoking one of the printing methods of a logger instance (through the log4net.ILog). These printing methods are Debug, Info, Warn, Error, and Fatal.

By definition, the printing method determines the level of a logging request. For example, if log is a logger instance, then the statement log.Info("..") is a logging request of level INFO.

A logging request is said to be enabled if its level is higher than or equal to the level of its logger. Otherwise, the request is said to be disabled. A logger without an assigned level will inherit one from the hierarchy. This rule is summarized below.

Basic Selection Rule

A log request of level L in a logger with (either assigned or inherited, whichever is appropriate) level K, is enabled if L >= K.

This rule is at the heart of log4net. It assumes that levels are ordered. For the standard levels, we have DEBUG < INFO < WARN < ERROR < FATAL.

Calling the log4net.LogManager.GetLogger method with the same name will always return a reference to the exact same logger object.

For example, in:

ILog x = LogManager.GetLogger("wombat");
ILog y = LogManager.GetLogger("wombat");

x and y refer to exactly the same logger object.

Thus, it is possible to configure a logger and then to retrieve the same instance somewhere else in the code without passing around references. In fundamental contradiction to biological parenthood, where parents always precede their children, log4net loggers can be created and configured in any order. In particular, a "parent" logger will find and link to its descendants even if it is instantiated after them.

Configuration of the log4net environment is typically done at application initialization. The preferred way is by reading a configuration file. This approach will be discussed shortly.

Log4net makes it easy to name loggers by software component. This can be accomplished by statically instantiating a logger in each class, with the logger name equal to the fully qualified name of the class. This is a useful and straightforward method of defining loggers. As the log output bears the name of the generating logger, this naming strategy makes it easy to identify the origin of a log message. However, this is only one possible, albeit common, strategy for naming loggers. Log4net does not restrict the possible set of loggers. The developer is free to name the loggers as desired.

Nevertheless, naming loggers after the class where they are located seems to be the best strategy known so far. It is simple an obvious to the developers where each log message came from. Most importantly it leverages the design of the application to produce the design of the logger hierarchy. Hopefully some thought has gone into the design of the application.

Appenders

The ability to selectively enable or disable logging requests based on their logger is only part of the picture. Log4net allows logging requests to print to multiple destinations. In log4net speak, an output destination is called an appender. Appenders must implement the log4net.Appenders.IAppender interface.

The following appenders are defined in the log4net package:

Type Description
log4net.Appender.AdoNetAppender Writes logging events to a database using either prepared statements or stored procedures.
log4net.Appender.AnsiColorTerminalAppender Writes color highlighted logging events to a an ANSI terminal window.
log4net.Appender.AspNetTraceAppender Writes logging events to the ASP trace context. These can then be rendered at the end of the ASP page or on the ASP trace page.
log4net.Appender.BufferingForwardingAppender Buffers logging events before forwarding them to child appenders.
log4net.Appender.ColoredConsoleAppender Writes logging events to the application's Console. The events may go to either the standard our stream or the standard error stream. The events may have configurable text and background colors defined for each level.
log4net.Appender.ConsoleAppender Writes logging events to the application's Console. The events may go to either the standard our stream or the standard error stream.
log4net.Appender.EventLogAppender Writes logging events to the Windows Event Log.
log4net.Appender.FileAppender Writes logging events to a file in the file system.
log4net.Appender.ForwardingAppender Forwards logging events to child appenders.
log4net.LocalSyslogAppender Writes logging events to the local syslog service (UNIX only).
log4net.Appender.MemoryAppender Stores logging events in an in memory buffer.
log4net.Appender.NetSendAppender Writes logging events to the Windows Messenger service. These messages are displayed in a dialog on a users terminal.
log4net.Appender.OutputDebugStringAppender Writes logging events to the debugger. If the application has no debugger, the system debugger displays the string. If the application has no debugger and the system debugger is not active, the message is ignored.
log4net.Appender.RemoteSyslogAppender Writes logging events to a remote syslog service using UDP networking.
log4net.Appender.RemotingAppender Writes logging events to a remoting sink using .NET remoting.
log4net.Appender.RollingFileAppender Writes logging events to a file in the file system. The RollingFileAppender can be configured to log to multiple files based upon date or file size constraints.
log4net.Appender.SmtpAppender Sends logging events to an email address.
log4net.Appender.SmtpPickupDirAppender Writes SMTP messages as files into a pickup directory. These files can then be read and sent by an SMTP agent such as the IIS SMTP agent.
log4net.Appender.TelnetAppender Clients connect via Telnet to receive logging events.
log4net.Appender.TraceAppender Writes logging events to the .NET trace system.
log4net.Appender.UdpAppender Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using a UdpClient.

More than one appender can be attached to a logger.

Each enabled logging request for a given logger will be forwarded to all the appenders in that logger as well as the appenders higher in the hierarchy. In other words, appenders are inherited additively from the logger hierarchy. For example, if a console appender is added to the root logger, then all enabled logging requests will at least print on the console. If in addition a file appender is added to a logger, say X, then enabled logging requests for X and X's children will print on a file and on the console. It is possible to override this default behavior so that appender accumulation is no longer additive by setting the additivity flag on the logger to false.

The rules governing appender additivity are summarized below.

Appender Additivity

The output of a log statement of logger X will go to all the appenders in X and its ancestors. This is the meaning of the term "appender additivity".

However, if an ancestor of logger X, say Y, has the additivity flag set to false, then X's output will be directed to all the appenders in X and it's ancestors up to and including Y but not the appenders in any of the ancestors of Y.

Loggers have their additivity flag set to true by default.

The table below shows an example:

Logger Name Added Appenders Additivity Flag Output Targets Comment
root A1 not applicable A1 There is no default appender attached to root.
x A-x1, A-x2 true A1, A-x1, A-x2 Appenders of "x" and root.
x.y none true A1, A-x1, A-x2 Appenders of "x" and root.
x.y.z A-xyz1 true A1, A-x1, A-x2, A-xyz1 Appenders in "x.y.z", "x" and root.
security A-sec false A-sec No appender accumulation since the additivity flag is set to false.
security.access none true A-sec Only appenders of "security" because the additivity flag in "security" is set to false.

Filters

Appenders can filter the events that are delivered to them. The filters can be specified in the configuration to allow fine control of the events that are logged through different appenders.

The simplest form of control is to specify a Threshold on the appender. This works by logging only the events that have a level that is greater than or equal to the threshold.

More complex and custom event filtering can be done using the filter chain defined on each appender. Filters must implement the log4net.Filter.IFilter interface.

The following filters are defined in the log4net package:

Type Description
log4net.Filter.DenyAllFilter Drops all logging events.
log4net.Filter.LevelMatchFilter An exact match to the event's level.
log4net.Filter.LevelRangeFilter Matches against a range of levels.
log4net.Filter.LoggerMatchFilter Matches against a the start of the logger name.
log4net.Filter.PropertyFilter Matches a substring from a specific property value.
log4net.Filter.StringMatchFilter Matches a substring from the event's message.

The filters can be configured to either accept or reject the event based upon the match.

Layouts

More often than not, users wish to customize not only the output destination but also the output format. This is accomplished by associating a layout with an appender. The layout is responsible for formatting the logging request according to the user's wishes, whereas an appender takes care of sending the formatted output to its destination. The PatternLayout, part of the standard log4net distribution, lets the user specify the output format according to conversion patterns similar to the C language printf function.

For example, the PatternLayout with the conversion pattern "%timestamp [%thread] %-5level %logger - %message%newline" will output something akin to:

176 [main] INFO  Com.Foo.Bar - Located nearest gas station.

The first field is the number of milliseconds elapsed since the start of the program. The second field is the thread making the log request. The third field is the level of the log statement. The fourth field is the name of the logger associated with the log request. The text after the '-' is the message of the statement.

The following layouts are included in the log4net package:

Type Description
log4net.Layout.ExceptionLayout Renders the exception text from the logging event.
log4net.Layout.PatternLayout Formats the logging event according to a flexible set of formatting flags.
log4net.Layout.RawTimeStampLayout Extracts the timestamp from the logging event.
log4net.Layout.RawUtcTimeStampLayout Extracts the timestamp from the logging event in Universal Time.
log4net.Layout.SimpleLayout Formats the logging event very simply: [level] - [message]
log4net.Layout.XmlLayout Formats the logging event as an XML element.
log4net.Layout.XmlLayoutSchemaLog4j Formats the logging event as an XML element that complies with the log4j event dtd.

Object Renderers

Just as importantly, log4net will render the content of the log message according to user specified criteria. For example, if you frequently need to log Oranges, an object type used in your current project, then you can register an OrangeRenderer that will be invoked whenever an orange needs to be logged.

Object rendering follows the class hierarchy. For example, assuming oranges are fruits, if you register an FruitRenderer, all fruits including oranges will be rendered by the FruitRenderer, unless of course you registered an orange specific OrangeRenderer.

Object renderers have to implement the log4net.ObjectRenderer.IObjectRenderer interface.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/manual/contexts.html0000644000175000017500000004460310412737254020426 0ustar slomoslomo log4net - log4net Manual - Contexts

log4net Manual - Contexts

Contents

Most real-world systems have to deal with multiple clients simultaneously. In a typical multithreaded implementation of such a system, different threads will handle different clients. Logging is especially well suited to trace and debug complex distributed applications. An approach to differentiate the logging output of one client from another is to instantiate a new separate logger for each client. However this promotes the proliferation of loggers and increases the management overhead of logging.

A lighter technique is to uniquely stamp each log request initiated from the same client interaction.

Log4net supports different types of contextual logging and contexts with different scopes.

Scopes

Contextual data can be set in different scopes. These contexts have progressively narrower visibility. In the logging event itself the values from all of the contexts are combined together such that values specified in a lower scoped context hide values from a higher context.

Scope Type Description
Global log4net.GlobalContext The global context is shared by all threads in the current AppDomain. This context is thread safe for use by multiple threads concurrently.
Thread log4net.ThreadContext The thread context is visible only to the current managed thread.
Logical Thread log4net.ThreadLogicalContext The logical thread context is visible to a logical thread. Logical threads can jump from one managed thread to another. For more details see the .NET API System.Runtime.Remoting.Messaging.CallContext.
Event log4net.Core.LoggingEvent Each event captures the current contextual state at the time the event is generated. Contextual data can be set on the event itself. This context is only visible to the code generating the event itself.

Context Properties

The log4net contexts store properties, i.e. name value pairs. The name is a string the value is any object. A property can be set as follows:

log4net.GlobalContext.Properties["name"] = value;

If properties with the same name are set in more than one context scope then the value in the narrowest scope (lower down in the list above) will hide the other values.

The property values are stored as objects within the LoggingEvent. The PatternLayout supports rendering the value of a named property using the %property{name} syntax. The value is converted to a string by passing it to the log4net.ObjectRenderer.RendererMap which will locate any custom renderer for the value type. The default behavior for custom types is to call the object's ToString() method.

Active Property Values

An active property value is one who's value changes over time.

For example, imagine a custom type that implemented the ToString() method to return the number of bytes allocated by the runtime garbage collector.

public class GCAllocatedBytesHelper
{
    public override string ToString()
    {
        return GC.GetTotalMemory(true).ToString();
    }
}

An instance of this type can be added to the log4net.GlobalContext during application startup:

log4net.GlobalContext.Properties["GCAllocatedBytes"] = new GCAllocatedBytesHelper();

Once this property is set in the context all subsequent logging events will have a property called GCAllocatedBytes. The value of the property will be an instance of the GCAllocatedBytesHelper type. When this value is rendered to a string by calling the ToString method the current number of bytes allocated by the garbage collector will be returned and included in the output.

Context Stacks

Sometimes simple key value pairs are not the most convenient way of capturing contextual information. A stack of information is a very convenient way of storing data especially as our applications tend to be stack based.

The ThreadContext and LogicalThreadContext also support storing contextual data in a stack. The stack is stored in context property, therefore stacks have names and more than one stack can exist in the same context. A property value set in a narrower context would override a stack with the same property name set in a wider scoped context.

The stack supports Push and Pop methods. As more contextual data is pushed onto the stack the stack grows. When the stack is rendered all the data pushed onto the stack is output with the most recent data to the right hand end of the string.

As the stack is just an object stored in the context properties it is also rendered using the same PatternLayout syntax: %property{name}. Where name is the name of the stack.

Calls the the stack's Push and Pop methods must be matched up so that each push has a corresponding pop. The Push method also returns an IDisposable object that will perform the required pop operation when it is disposed. This allows the C# using syntax to be used to automate the stack management.

using(log4net.ThreadContext.Stacks["NDC"].Push("context"))
{
    log.Info("Message");
}

The INFO level log has a stack stored in its NDC property. The top item in the stack is the string context. The using syntax ensures that the value context is popped off the stack at the end of the block.

The using syntax is recommended because it removes some work load from the developer and reduces errors in matching up the Push and Pop calls, especially when exceptions can occur.

Nested Diagnostic Contexts

The NDC (Nested Diagnostic Context) exists for compatibility with older versions of log4net. This helper class implements a stack which is stored in the thread context property named NDC.

Mapped Diagnostic Contexts

The MDC (MappedDiagnostic Context) exists for compatibility with older versions of log4net. This helper class implements a properties map which is mapped directly through to the thread context properties.

To illustrate this point, let us take the example of a web service delivering content to numerous clients. The web service can build the NDC at the very beginning of the request before executing other code. The contextual information can be the client's host name and other information inherent to the request, typically information contained in cookies. Hence, even if the web service is serving multiple clients simultaneously, the logs initiated by the same code, i.e. belonging to the same logger, can still be distinguished because each client request will have a different NDC stack. Contrast this with the complexity of passing a freshly instantiated logger to all code exercised during the client's request.

Nevertheless, some sophisticated applications, such as virtual hosting web servers, must log differently depending on the virtual host context and also depending on the software component issuing the request. Log4net supports multiple logger repositories. This would allow each virtual host to possess its own copy of the logger hierarchy. Configuring multiple logger hierarchies is beyond the scope of this document.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/manual/plugins.html0000644000175000017500000002220110412737254020226 0ustar slomoslomo log4net - log4net Manual - Plugins

log4net Manual - Plugins

Contents

Plugins

Plugins are additional modular components that are attached to a logger repository.

Plugins are stored in the PluginMap of an ILoggerRepository. Plugins are attached to the repository by using the PluginMap.Add method.

The following plugins are included in the log4net package:

Type Description
log4net.Plugin.RemoteLoggingServerPlugin Creates a remote logging sink that can receive logging events from a RemotingAppender.
  • RemoteLoggingServerPlugin

    Creates a remote logging sink that can receive logging events from a RemotingAppender.

    Creates a remoting logging sink. A single parameter must be passed to the constructor that specifies the sink URI. This is a name used to identify the logging sink object published via remoting and must be agreed with the client before communication can take place.

    Example usage:

Plugin Attributes

Plugins can be configured using the following assembly-level attributes:

  • PluginAttribute

    Specifies a plugin type to create and attach to the default repository. This attribute does not allow plugins to be parameterized. The plugin class must have a public default constructor.

    This attribute may be used as many times as necessary to attach plugins to the repository.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/manual/configuration.html0000644000175000017500000017401010412737254021422 0ustar slomoslomo log4net - log4net Manual - Configuration

log4net Manual - Configuration

Contents

Configuration

Inserting log requests into the application code requires a fair amount of planning and effort. Observation shows that approximately 4 percent of code is dedicated to logging. Consequently, even moderately sized applications will have thousands of logging statements embedded within their code. Given their number, it becomes imperative to manage these log statements without the need to modify them manually.

The log4net environment is fully configurable programmatically. However, it is far more flexible to configure log4net using configuration files. Currently, configuration files are written in XML.

Let us give a taste of how this is done with the help of an imaginary application MyApp that uses log4net.

using Com.Foo;

// Import log4net classes.
using log4net;
using log4net.Config;

public class MyApp 
{
	// Define a static logger variable so that it references the
	// Logger instance named "MyApp".
	private static readonly ILog log = LogManager.GetLogger(typeof(MyApp));

	static void Main(string[] args) 
	{
		// Set up a simple configuration that logs on the console.
		BasicConfigurator.Configure();

		log.Info("Entering application.");
		Bar bar = new Bar();
		bar.DoIt();
		log.Info("Exiting application.");
	}
}

MyApp begins by importing log4net related classes. It then defines a static logger variable with the name MyApp which happens to be the fully qualified name of the class.

MyApp uses the following Bar class:

// Import log4net classes.
using log4net;

namespace Com.Foo
{
	public class Bar 
	{
		private static readonly ILog log = LogManager.GetLogger(typeof(Bar));

		public void DoIt()
		{
			log.Debug("Did it again!");
		}
	}
}

The invocation of the BasicConfigurator.Configure() method creates a rather simple log4net setup. This method is hardwired to add to the root logger a ConsoleAppender. The output will be formatted using a PatternLayout set to the pattern "%-4timestamp [%thread] %-5level %logger %ndc - %message%newline".

Note that by default, the root logger is assigned to Level.DEBUG.

The output of MyApp is:

0    [main] INFO  MyApp  - Entering application.
36   [main] DEBUG Com.Foo.Bar  - Did it again!
51   [main] INFO  MyApp  - Exiting application.

As a side note, let me mention that in log4net child loggers link only to their existing ancestors. In particular, the logger named Com.Foo.Bar is linked directly to the root logger, thereby circumventing the unused Com or Com.Foo loggers. This significantly increases performance and reduces log4net's memory footprint.

The MyApp class configures log4net by invoking BasicConfigurator.Configure() method. Other classes only need to import the log4net namespace, retrieve the loggers they wish to use, and log away.

The previous example always outputs the same log information. Fortunately, it is easy to modify MyApp so that the log output can be controlled at run-time. Here is a slightly modified version.

using Com.Foo;

// Import log4net classes.
using log4net;
using log4net.Config;

public class MyApp 
{
	private static readonly ILog log = LogManager.GetLogger(typeof(MyApp));

	static void Main(string[] args) 
	{
		// BasicConfigurator replaced with XmlConfigurator.
		XmlConfigurator.Configure(new System.IO.FileInfo(args[0]));

		log.Info("Entering application.");
		Bar bar = new Bar();
		bar.DoIt();
		log.Info("Exiting application.");
	}
}

This version of MyApp instructs the XmlConfigurator to parse a configuration file and set up logging accordingly. The path to the configuration file is specified on the command line.

Here is a sample configuration file that results in exactly same output as the previous BasicConfigurator based example.

<log4net>
	<!-- A1 is set to be a ConsoleAppender -->
	<appender name="A1" type="log4net.Appender.ConsoleAppender">

		<!-- A1 uses PatternLayout -->
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%-4timestamp [%thread] %-5level %logger %ndc - %message%newline" />
		</layout>
	</appender>
	
	<!-- Set root logger level to DEBUG and its only appender to A1 -->
	<root>
		<level value="DEBUG" />
		<appender-ref ref="A1" />
	</root>
</log4net>

Suppose we are no longer interested in seeing the output of any component belonging to the Com.Foo package. The following configuration file shows one possible way of achieving this.

<log4net>
	<!-- A1 is set to be a ConsoleAppender -->
	<appender name="A1" type="log4net.Appender.ConsoleAppender">

		<!-- A1 uses PatternLayout -->
		<layout type="log4net.Layout.PatternLayout">
			<!-- Print the date in ISO 8601 format -->
			<conversionPattern value="%date [%thread] %-5level %logger %ndc - %message%newline" />
		</layout>
	</appender>
	
	<!-- Set root logger level to DEBUG and its only appender to A1 -->
	<root>
		<level value="DEBUG" />
		<appender-ref ref="A1" />
	</root>
	
	<!-- Print only messages of level WARN or above in the package Com.Foo -->
	<logger name="Com.Foo">
		<level value="WARN" />
	</logger>
</log4net>

The output of MyApp configured with this file is shown below.

2000-09-07 14:07:41,508 [main] INFO  MyApp - Entering application.
2000-09-07 14:07:41,529 [main] INFO  MyApp - Exiting application.

As the logger Com.Foo.Bar does not have an assigned level, it inherits its level from Com.Foo, which was set to WARN in the configuration file. The log statement from the Bar.DoIt method has the level DEBUG, lower than the logger level WARN. Consequently, DoIt() method's log request is suppressed.

Here is another configuration file that uses multiple appenders.

<log4net>
	<appender name="Console" type="log4net.Appender.ConsoleAppender">
		<layout type="log4net.Layout.PatternLayout">
			<!-- Pattern to output the caller's file name and line number -->
			<conversionPattern value="%5level [%thread] (%file:%line) - %message%newline" />
		</layout>
	</appender>
	
	<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
		<file value="example.log" />
		<appendToFile value="true" />
		<maximumFileSize value="100KB" />
		<maxSizeRollBackups value="2" />

		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%level %thread %logger - %message%newline" />
		</layout>
	</appender>
	
	<root>
		<level value="DEBUG" />
		<appender-ref ref="Console" />
		<appender-ref ref="RollingFile" />
	</root>
</log4net>

Calling the enhanced MyApp with the this configuration file will output the following on the console.

 INFO [main] (MyApp.cs:16) - Entering application.
DEBUG [main] (Bar.cs:12) - Doing it again!
 INFO [main] (MyApp.cs:19) - Exiting application.

In addition, as the root logger has been allocated a second appender, output will also be directed to the example.log file. This file will be rolled over when it reaches 100KB. When roll-over occurs, the old version of example.log is automatically moved to example.log.1.

Note that to obtain these different logging behaviors we did not need to recompile code. We could just as easily have logged to an email address, redirected all Com.Foo output to an NT Event logger, or forwarded logging events to a remote log4net server, which would log according to local server policy.

For more examples of configuring appenders using the XmlConfigurator see the Example Appender Configuration document.

Configuration Attributes

The log4net configuration can be configured using assembly-level attributes rather than specified programmatically.

  • XmlConfiguratorAttribute

    The log4net.Config.XmlConfiguratorAttribute Allows the XmlConfigurator to be configured using the following properties:

    • ConfigFile

      If specified, this is the filename of the configuration file to use with the XmlConfigurator. This file path is relative to the application base directory (AppDomain.CurrentDomain.BaseDirectory).

      This property cannot be used in conjunction with the ConfigFileExtension property.

    • ConfigFileExtension

      If specified, this is the extension for the configuration file. The assembly file name is used as the base name with the this extension appended. For example if the assembly is loaded from the a file TestApp.exe and the ConfigFileExtension property is set to log4net then the configuration file name is TestApp.exe.log4net. This is equivalent to setting the ConfigFile property to TestApp.exe.log4net.

      The path to the configuration file is build by using the application base directory (AppDomain.CurrentDomain.BaseDirectory), the assembly file name and the configuration file extension.

      This property cannot be used in conjunction with the ConfigFile property.

    • Watch

      If this flag is specified and set to true then the framework will watch the configuration file and will reload the config each time the file is modified.

    If neither of the ConfigFile or ConfigFileExtension properties are specified, the application configuration file (e.g. TestApp.exe.config) will be used as the log4net configuration file.

    Example usage:

    // Configure log4net using the .config file
    [assembly: log4net.Config.XmlConfigurator(Watch=true)]
    // This will cause log4net to look for a configuration file
    // called TestApp.exe.config in the application base
    // directory (i.e. the directory containing TestApp.exe)
    // The config file will be watched for changes.
    							
    // Configure log4net using the .log4net file
    [assembly: log4net.Config.XmlConfigurator(ConfigFileExtension="log4net",Watch=true)]
    // This will cause log4net to look for a configuration file
    // called TestApp.exe.log4net in the application base
    // directory (i.e. the directory containing TestApp.exe)
    // The config file will be watched for changes.
    							

    This attribute may only be used once per assembly.

Using attributes can be a clearer method for defining where the application's configuration will be loaded from. However it is worth noting that attributes are purely passive. They are information only. Therefore if you use configuration attributes you must invoke log4net to allow it to read the attributes. A simple call to LogManager.GetLogger will cause the attributes on the calling assembly to be read and processed. Therefore it is imperative to make a logging call as early as possible during the application start-up, and certainly before any external assemblies have been loaded and invoked.

Configuration Files

Typically the log4net configuration is specified using a file. This file can be read in one of two ways:

  • Using the .NET System.Configuration API
  • Reading the file contents directly

.config Files

The System.Configuration API is only available if the configuration data is in the application's config file; the file named MyApp.exe.config or Web.config. Because the System.Configuration API does not support reloading of the config file the configuration settings cannot be watched using the log4net.Config.XmlConfigurator.ConfigureAndWatch methods. The main advantage of using the System.Configuration APIs to read the configuration data is that it requires less permissions than accessing the configuration file directly.

The only way to configure an application using the System.Configuration APIs is to call the log4net.Config.XmlConfigurator.Configure() method or the log4net.Config.XmlConfigurator.Configure(ILoggerRepository) method.

In order to embed the configuration data in the .config file the section name must be identified to the .NET config file parser using a configSections element. The section must specify the log4net.Config.Log4NetConfigurationSectionHandler that will be used to parse the config section. This type must be fully assembly qualified because it is being loaded by the .NET config file parser not by log4net. The correct assembly name for the log4net assembly must be specified. The following is a simple example configuration file that specifies the correct section handler to use for the log4net section.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<configSections>
		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
	</configSections>
	<log4net>
		<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
			<layout type="log4net.Layout.PatternLayout">
				<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
			</layout>
		</appender>
		<root>
			<level value="INFO" />
			<appender-ref ref="ConsoleAppender" />
		</root>
	</log4net>
</configuration>

In the above example the log4net assembly is specified. This assembly must be located where the .NET runtime can find it. For example it could be located in the same directory as the application. If the log4net assembly is stored in the GAC then the fully qualified assembly name must be specified including the culture, version and public key.

When using the .config file to specify the configuration the section name and XML element name must be log4net.

Reading Files Directly

The XmlConfigurator can directly read any XML file and use it to configure log4net. This includes the application's .config file; the file named MyApp.exe.config or Web.config. The only reason not to read the configuration file directly is if the application does not have sufficient permissions to read the file, then the configuration must be loaded using the .NET configuration APIs (see above).

The file to read the configuration from can be specified using any of the log4net.Config.XmlConfigurator methods that accept a System.IO.FileInfo object. Because the file system can be monitored for file change notifications the ConfigureAndWatch methods can be used to monitor the configuration file for modifications and automatically reconfigure log4net.

Additionally the log4net.Config.XmlConfiguratorAttribute can be used to specify the file to read the configuration from.

The configuration is read from the log4net element in the file. Only one log4net element can be specified in the file but it may be located anywhere in the XML hierarchy. For example it may be the root element:

<?xml version="1.0" encoding="utf-8" ?>
<log4net>
	<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
		</layout>
	</appender>
	<root>
		<level value="INFO" />
		<appender-ref ref="ConsoleAppender" />
	</root>
</log4net>

Or it may be nested within other elements:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<configSections>
		<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
	</configSections>
	<log4net>
		<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
			<layout type="log4net.Layout.PatternLayout">
				<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
			</layout>
		</appender>
		<root>
			<level value="INFO" />
			<appender-ref ref="ConsoleAppender" />
		</root>
	</log4net>
</configuration>

The above example shows how the configuration data can be embedded inside a .config file even though the file is being read directly by log4net. An important note is that the .NET config file parser will throw an exception if it finds an element that has not been registered using the configSections element. Therefore in the above example the log4net section name is registered, but the type specified to handle the section is System.Configuration.IgnoreSectionHandler. This is a built-in class that indicates that another method for reading the config section will be employed.

Configuration Syntax

log4net includes a configuration reader that parses an XML DOM, the log4net.Config.XmlConfigurator. This section defines the syntax accepted by the configurator.

This is an example of a valid XML configuration. The root element must be <log4net>. Note that this does not mean that this element cannot be embedded in another XML document. See the section above on Configuration Files for more information on how to embed the XmlConfigurator XML in a configuration file.

<log4net>
	<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
		</layout>
	</appender>
	<root>
		<level value="INFO" />
		<appender-ref ref="ConsoleAppender" />
	</root>
</log4net>

The <log4net> element supports the following attributes:

Attribute Description
debug Optional attribute. Value must be either true or false. The default value is false. Set this attribute to true to enable internal log4net debugging for this configuration.
update Optional attribute. Value must be either Merge or Overwrite. The default value is Merge. Set this attribute to Overwrite to reset the configuration of the repository being configured before applying this configuration.
threshold Optional attribute. Value must be the name of a level registered on the repository. The default value is ALL. Set this attribute to limit the messages that are logged across the whole repository, regardless of the logger that the message is logged to.

The <log4net> element supports the following child elements:

Element Description
appender Zero or more elements allowed. Defines an appender.
logger Zero or more elements allowed. Defines the configuration of a logger.
renderer Zero or more elements allowed. Defines an object renderer.
root Optional element, maximum of one allowed. Defines the configuration of the root logger.
param Zero or more elements allowed. Repository specific parameters

Appenders

Appenders may only be defined as child elements of the <log4net> element. Each appender must be uniquely named. The implementing type for the appender must be specified.

This example shows an appender of type log4net.Appender.ConsoleAppender being defined. The appender will be known as ConsoleAppender.

<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
	</layout>
</appender>

The <appender> element supports the following attributes:

Attribute Description
name Required attribute. Value must be a string name for this appender. The name must be unique among all the appenders defined in this configuration file. This name is used by the <appender-ref> element of a Logger to reference an appender.
type Required attribute. Value must be the type name for this appender. If the appender is not defined in the log4net assembly this type name must be fully assembly qualified.

The <appender> element supports the following child elements:

Element Description
appender-ref Zero or more elements allowed. Allows the appender to reference other appenders. Not supported by all appenders.
filter Zero or more elements allowed. Defines the filters used by this appender.
layout Optional element, maximum of one allowed. Defines the layout used by this appender.
param Zero or more elements allowed. Appender specific parameters.

For examples of configuring appenders see the Example Appender Configuration document.

Filters

Filters elements may only be defined as children of <appender> elements.

The <filter> element supports the following attributes:

Attribute Description
type Required attribute. Value must be the type name for this filter. If the filter is not defined in the log4net assembly this type name must be fully assembly qualified.

The <filter> element supports the following child elements:

Element Description
param Zero or more elements allowed. Filter specific parameters.

Filters form a chain that the event has to pass through. Any filter along the way can accept the event and stop processing, deny the event and stop processing, or allow the event on to the next filter. If the event gets to the end of the filter chain without being denied it is implicitly accepted and will be logged.

<filter type="log4net.Filter.LevelRangeFilter">
	<levelMin value="INFO" />
	<levelMax value="FATAL" />
</filter>

This filter will deny events that have a level that is lower than INFO or higher than FATAL. All events between INFO and FATAL will be logged.

If we want to only allow messages through that have a specific substring (e.g. 'database') then we need to specify the following filters:

<filter type="log4net.Filter.StringMatchFilter">
	<stringToMatch value="database" />
</filter>
<filter type="log4net.Filter.DenyAllFilter" />

The first filter will look for the substring 'database' in the message text of the event. If the text is found the filter will accept the message and filter processing will stop, the message will be logged. If the substring is not found the event will be passed to the next filter to process. If there is no next filter the event would be implicitly accepted and would be logged. But because we don't want the non matching events to be logged we need to use a log4net.Filter.DenyAllFilter that will just deny all events that reach it. This filter is only useful at the end of the filter chain.

If we want to allow events that have either 'database' or 'ldap' in the message text we can use the following filters:

<filter type="log4net.Filter.StringMatchFilter">
	<stringToMatch value="database"/>
</filter>
<filter type="log4net.Filter.StringMatchFilter">
	<stringToMatch value="ldap"/>
</filter>
<filter type="log4net.Filter.DenyAllFilter" />
Layouts

Layout elements may only be defined as children of <appender> elements.

The <layout> element supports the following attributes:

Attribute Description
type Required attribute. Value must be the type name for this layout. If the layout is not defined in the log4net assembly this type name must be fully assembly qualified.

The <layout> element supports the following child elements:

Element Description
param Zero or more elements allowed. Layout specific parameters.

This example shows how to configure a layout that uses the log4net.Layout.PatternLayout.

<layout type="log4net.Layout.PatternLayout">
	<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>

Root Logger

Only one root logger element may only be defined and it must be a child of <log4net> element. The root logger is the root of the logger hierarchy. All loggers ultimately inherit from this logger.

An example root logger:

<root>
	<level value="INFO" />
	<appender-ref ref="ConsoleAppender" />
</root>

The <root> element supports no attributes.

The <root> element supports the following child elements:

Element Description
appender-ref Zero or more elements allowed. Allows the logger to reference appenders by name.
level Optional element, maximum of one allowed. Defines the logging level for this logger. This logger will only accept event that are at this level or above.
param Zero or more elements allowed. Logger specific parameters.

Loggers

Logger elements may only be defined as children of the <log4net> element.

An example logger:

<logger name="LoggerName">
	<level value="DEBUG" />
	<appender-ref ref="ConsoleAppender" />
</logger>

The <logger> element supports the following attributes.

Attribute Description
name Required attribute. Value must be the name of the logger.
additivity Optional attribute. Value may be either true or false. The default value is true. Set this attribute to false to prevent this logger from inheriting the appenders defined on parent loggers.

The <logger> element supports the following child elements:

Element Description
appender-ref Zero or more elements allowed. Allows the logger to reference appenders by name.
level Optional element, maximum of one allowed. Defines the logging level for this logger. This logger will only accept event that are at this level or above.
param Zero or more elements allowed. Logger specific parameters.

Renderers

Renderer elements may only be defined as children of the <log4net> element.

An example renderer:

<renderer renderingClass="MyClass.MyRenderer" renderedClass="MyClass.MyFunkyObject" />

The <renderer> element supports the following attributes.

Attribute Description
renderingClass Required attribute. Value must be the type name for this renderer. If the type is not defined in the log4net assembly this type name must be fully assembly qualified. This is the type of the object that will take responsibility for rendering the renderedClass.
renderedClass Required attribute. Value must be the type name for the target type for this renderer. If the type is not defined in the log4net assembly this type name must be fully assembly qualified. This is the name of the type that this renderer will render.

The <renderer> element supports no child elements.

Parameters

Parameter elements may be children of many elements. See the specific elements above for details.

An example param:

<param name="ConversionPattern" value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />

The <param> element supports the following attributes.

Attribute Description
name Required attribute. Value must be the name of the parameter to set on the parent object.
value Optional attribute. One of value or type attributes must be specified. The value of this attribute is a string that can be converted to the value of the parameter.
type Optional attribute. One of value or type attributes must be specified. The value of this attribute is a type name to create and set as the value of the parameter. If the type is not defined in the log4net assembly this type name must be fully assembly qualified.

The <param> element supports the following child elements:

Element Description
param Zero or more elements allowed. Parameter specific parameters.

An example param that uses nested param elements:

<param name="evaluator" type="log4net.spi.LevelEvaluator">
	<param name="Threshold" value="WARN"/>
<param>
Extension Parameters

Configuration parameters map directly to writable properties on an object. The properties available depend on the actual type of the object being configured. The log4net SDK documentation contains the API reference for all the components included in the log4net assembly.

For 3rd party components please see their relevant API reference for details of the properties available.

Compact Parameter Syntax

All parameters may alternately be specified using the parameter name as the element name rather than using the param element and name attribute.

For example a param:

<param name="evaluator" type="log4net.spi.LevelEvaluator">
	<param name="Threshold" value="WARN"/>
<param>

may be written as:

<evaluator type="log4net.spi.LevelEvaluator">
	<threshold value="WARN"/>
<evaluator>

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/manual/repositories.html0000644000175000017500000002471110412737254021304 0ustar slomoslomo log4net - log4net Manual - Repositories

log4net Manual - Repositories

Contents

Logging Repositories

Logging repositories are considered advanced functionality. The default behavior should be sufficient for most users.

Log4net supports logging repositories. A repository is uniquely named. Each repository is a (ILoggerRepository). Multiple assemblies can link to the same repository.

By default there is a single logging repository per process (more precisely per AppDomain). This extends across all assemblies loaded into the process and allows them to all share a single configuration. The configuration of the repository only needs to be done once, typically in the entry point to the application, either programmatically or using a configuration attribute.

Named logging repositories can be created using the LogManager.CreateRepository method. The repository for can be retrieved using the LogManager.GetRepository method. A repository created in this way will need to be configured programmatically.

Attributes

An assembly may choose to utilize a named logging repository rather than the default repository. This completely separates the logging for the assembly from the rest of the application. This can be very useful to component developers that wish to use log4net for their components but do not want to require that all the applications that use their component are aware of log4net. It also means that their debugging configuration is separated from the applications configuration. The assembly should specify the RepositoryAttribute to set its logging repository.

The log4net logging repositories can be configured using the following assembly-level attributes:

  • AliasRepositoryAttribute

    Specifies a named repository to use as this assembly's repository.

    An assembly's logger repository is defined by its RepositoryAttribute, however this can be overridden by an assembly loaded before the target assembly.

    An assembly can alias another assembly's repository by specifying this attribute with the name of the target repository.

    This attribute may be used as many times as necessary to alias all the required repositories.

  • RepositoryAttribute

    Specifies the logging repository for the assembly.

    Assemblies are mapped to logging repositories. This attribute controls the configuration of the repository. The Name property specifies the name of the repository for this assembly. The RepositoryType property specifies the type of the repository object to create for the assembly. If this attribute is not specified and a Name is not specified then the assembly will be part of the default shared logging repository.

    This attribute may only be used once per assembly.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/release-notes.html0000644000175000017500000016051110412737254020045 0ustar slomoslomo log4net - log4net Release Notes

log4net Release Notes

Contents

1.2.10

Bug Fixes

  • [LOG4NET-21] - RemotingAppender fails once NDC becomes empty
  • [LOG4NET-22] - XmlLayout allows output of invalid control characters
  • [LOG4NET-23] - example-apps.html links are off by one folder level
  • [LOG4NET-25] - RollingFileAppender can fail if RollOverIfDateBoundaryCrossing required
  • [LOG4NET-28] - AdoNetAppender does not support inserting NULL into columns
  • [LOG4NET-29] - LevelMatchFilter should return Neutral when no match is found
  • [LOG4NET-32] - AdoNetAppender losing first entry
  • [LOG4NET-35] - Exception rendering ThreadContextStack if null value pushed into stack
  • [LOG4NET-36] - System.Diagnostics.Trace may throw exception if AppDomain does not have config file
  • [LOG4NET-40] - RollingFileAppender does not limit files to MaxSizeRollBackups when CountDirection is 1
  • [LOG4NET-41] - RollingFileAppender roll over date fail
  • [LOG4NET-42] - Serialised LoggingEvent does not preserve the Fix flags
  • [LOG4NET-43] - Specifying an empty string as a property in the config file results in an error
  • [LOG4NET-44] - XmlLayout emits all properties under a node named global-properties, rather than just properties.
  • [LOG4NET-49] - CountingQuietTextWriter does not count strings written with WriteLine
  • [LOG4NET-50] - Process.StartTime hangs on some systems
  • [LOG4NET-60] - Bug in RollingFileAppender.cs causing failure to timely roll files on monthly interval
  • [LOG4NET-63] - 1.2.9.0 Documentation typos
  • [LOG4NET-65] - Unhandled SecurityException exception for FileIOPermission while loading configuration file
  • [LOG4NET-67] - CVE-2006-0743 Security vulnerability in LocalSyslogAppender
  • [LOG4NET-69] - Exception thrown when *Format methods are given a malformed format string
  • [LOG4NET-70] - CoreDll.dll referenced with different capitalisation
  • [LOG4NET-73] - ADONetAppender.ActivateOptions() leaks database connection when called multiple times

New Features

  • [LOG4NET-11] - Add Flush command to API
  • [LOG4NET-24] - Programmatic flush of BufferingAppenderSkeleton buffer
  • [LOG4NET-37] - Allow the RepositorySelector type to be specified using the AppSettings config
  • [LOG4NET-46] - Support appenders that can output multiple events efficiently
  • [LOG4NET-51] - WmiAppender

Improvements

  • [LOG4NET-3] - Support per event patterns in FileAppender File name
  • [LOG4NET-13] - Allow SMTPAppender to have replaceable parameters in Subject
  • [LOG4NET-15] - Email high "importance" priority setting with SmtpAppender
  • [LOG4NET-17] - Line-wrapping Appender Layouts
  • [LOG4NET-33] - Ability to use global property to point to log4net configuration file
  • [LOG4NET-34] - Allow xml config values to be set via XmlNodeType.CDATA or XmlNodeType.Text rather than just value="foo"
  • [LOG4NET-45] - PluginAttribute does not allow plugin type to be specified as a Type, only as a string
  • [LOG4NET-52] - Allow XML configurator to set properties of type Object
  • [LOG4NET-53] - Allow repository properties to be set in the config file
  • [LOG4NET-56] - Support rendering IEnumerator objects as well as ICollections
  • [LOG4NET-58] - Support clean build on .NET 2.0
  • [LOG4NET-72] - Performance of ILog.xxxFormat methods
  • [LOG4NET-74] - Change MemoryAppender member variables to protected

1.2.9 Beta

Breaking Changes

  • Renamed namespaces

    Renamed namespace log4net.spi to log4net.Core. Renamed namespace log4net.helpers to log4net.Util.

  • Renamed config classes and attributes

    In the log4net.Config namespace the DOMConfigurator, DOMConfiguratorAttribute, DomainAttribute, and AliasDomainAttribute have been marked as obsolete. These types are still available and functional in this release.

    The XmlConfigurator and XmlConfiguratorAttribute types replace DOMConfigurator and DOMConfiguratorAttribute. The RepositoryAttribute and AliasRepositoryAttribute types replace DomainAttribute and AliasDomainAttribute.

  • Fixed pascal casing of type names

    Renamed AdoNetAppender, AspNetTraceAppender, SmtpAppender, Iso8601DateFormatter, MdcFilter, and NdcFilter. Note that the config file type resolver is case insensitive so this is only a breaking change for code that programmatically creates a type that has been renamed.

  • Layouts changed to stream their output to a TextWriter

    Layouts have been changed to format their output to a TextWriter rather than return a string. This increases performance and reduces temporary object creation.

  • C style string escapes no longer supported by config parser

    The XML config parser no longer supports decoding C style escape sequences in strings. Previously sequences like \n and \\ where decoded. Instead use the appropriate XML encodings as required.

New Features

  • New CLI build

    A new log4net assembly is built that targets all CLI 1.0 compatible runtimes. This build is essentially a common subset of the Mono 1.0 and .NET 1.0 builds. It is built using the MS .NET 1.0 compiler and libraries but does not use any platform specific APIs.

    This build is only available in release configuration and can be found at bin\cli\1.0\release.

  • Logging contexts

    Logging contexts can be used to record contextual data that is relevant to the current process. Logging contexts are both an extension of the concepts embodied in the MDC and NDC and a replacement for them. The MDC and NDC have been reimplemented to use the ThreadContext as storage.

    The logging contexts provide a single unified view that cuts across different scopes within an application. The contexts are layered in the following order of narrowing scope: GlobalContext, ThreadContext, LogicalThreadContext, and LoggingEvent. Context values specified in a narrower scope hide the matching value in a wider scope.

  • PatternLayout customization and long pattern names

    The PatternLayout now supports long pattern names. These pattern names are significantly more readable than the single character patterns.

    The PatternLayout now supports custom patterns. New patterns can be defined in the config file:

    <layout type="log4net.Layout.PatternLayout">
    
      <converter>
        <name value="myConverter" />
        <type value="TestApp.MyPatternConverter, TestApp" />
      </converter>
    
      <conversionPattern value="%-5level %logger - %myConverter - %message%newline" />
    </layout>

    The above config defines a custom pattern called myConverter which is bound to the TestApp.MyPatternConverter, TestApp type. This type must extend the log4net.Util.PatternConverter base class. The custom pattern can then be used in the pattern string.

    For full details see the SDK Reference entry: log4net.Layout.PatternLayout.

  • PatternString for pattern based configuration

    A new pattern based type, PatternString, can be used in the config file to set string properties using a pattern syntax. For example the File property of the FileAppender could be set as follows:

    <file type="log4net.Util.PatternString">
    
      <converter>
        <name value="folder" />
        <type value="TestApp.SpecialFolderPatternConverter,TestApp" />
      </converter>
    
      <conversionPattern value="%folder{LocalApplicationData}\log-file.txt" />
    </file>

    The code for the SpecialFolderPatternConverter is as follows:

    public class SpecialFolderPatternConverter : log4net.Util.PatternConverter 
    {
      override protected void Convert(System.IO.TextWriter writer, object state) 
      {
        Environment.SpecialFolder specialFolder = 
          (Environment.SpecialFolder)Enum.Parse(typeof(Environment.SpecialFolder), base.Option, true);
          
        writer.Write(Environment.GetFolderPath(specialFolder));
      }
    }

    For full details see the SDK Reference entry: log4net.Util.PatternString.

  • Loading configuration from a URI

    The XmlConfigurator methods now support loading the configuration data from a URI. Config can be loaded from any URI supported by the System.Net.WebRequest class.

  • Support for No-Touch deployment

    Log4net supports configuring No-Touch deployment applications using the XmlConfiguratorAttribute. If a relative config file or extension is specified then this is resolved relative to the deployment URI.

  • Config file parser enhancements

    The config file parser has been enhanced to support specifying the property subtype, or intermediate type, directly on the property element, for example:

    <layout type="log4net.Layout.PatternLayout" value="%message%newline" />

    Implicit conversion will be attempted between the value string and the type specified, and then again between the type and the target property type.

  • .NET string formatting syntax

    Added .NET String.Format style formatting syntax methods to the ILog interface. The new methods are: DebugFormat, InfoFormat, WarnFormat, ErrorFormat and FatalFormat.

  • Customizable levels

    Levels are defined by the repository LevelMap. The defined levels, the relative ordering of levels and level display names can be configured on a per-repository basis.

  • Per-appender security contexts

    Appenders that interact with controlled platform resources, e.g. files, can be configured to use a separate security context when accessing these resources. The calling thread may not have appropriate privileges to access the resource a custom SecurityContext can be used to elevate the privileges of the appender. The WindowsSecurityContext is used to specify alternative credentials on the Windows platform.

  • Added new appenders

    AnsiColorTerminalAppender

    The AnsiColorTerminalAppender writes events to the application's ANSI terminal window. It can be configured to specify the text and background colors for different level events. Note that Console applications running on Windows do not have an ANSI terminal window and should use the ColoredConsoleAppender instead.

    LocalSyslogAppender

    Logs events to a local syslog service. This appender uses the POSIX libc syslog library functions. If these functions are not available on the local system then this appender will not work!

    RemoteSyslogAppender

    The RemoteSyslogAppender uses the BSD syslog protocol to log to a syslog daemon. The syslogd listens for for messages on UDP port 514.

    TelnetAppender

    The TelnetAppender accepts socket connections and streams logging messages back to the client. The output is provided in a telnet-friendly way so that a log can be monitored over a TCP/IP socket. This allows simple remote monitoring of application logging.

  • Added new LoggerMatchFilter filter

    Added LoggerMatchFilter which matches a string against the event's logger name.

  • Pluggable file locking models for the FileAppender

    The FileAppender (and by extension the RollingFileAppender) now support pluggable file locking models. The default model, ExclusiveLock, maintains the current exclusive file locking behavior. An alternative model, MinimalLock, can be used to support writing to a single output file from multiple processes.

    For full details see the SDK Reference entry: log4net.Appender.FileAppender.LockingModel.

  • RollingFileAppender roll once

    The RollingFileAppender now supports a new rolling style, Once. In this mode the appender will roll the file once per run.

  • SmtpAppender authentication

    On the .NET 1.1 platform only, the SmtpAppender supports authenticating against the mail server using either username and password or integrated NTLM authentication.

  • AdoNetAppender ReconnectOnError

    Added new configuration property to AdoNetAppender. Setting ReconnectOnError to true will force the appender to attempt to reconnect to the database if the connection is lost.

  • UdpAppender hostname support

    The UdpAppender config property RemoteAddress can now be specified as a DNS hostname string. The hostname is resolved to an IP address.

Other Changes

  • FxCop compliance

    Updates to bring the internal code in line with the current FxCop rules.

  • Separate NUnit tests

    Moved the NUnit tests into a separate project, log4net.Tests.

  • Bug Fixes

    RemotingAppender

    Sends events from a ThreadPool thread rather than the calling thread to prevent transfer, and potential loss, of the CallContext.

    RollingFileAppender

    Fixed date rolling period detection for non UTC timezones.

    ColoredConsoleAppender

    Updated to support writing more than 30,000 chars in a single message. Fixed background color overspill if the console window needs to scroll the contents.

1.2.0 Beta 8

  • Changed assembly name to log4net

    The build output is now log4net.dll for all frameworks. This is a breaking change.

    To resolve cross platform and cross version issues we have changed the log4net assembly to use a common name for all frameworks. The assembly friendly name is now log4net. The builds for each framework can now be differentiated by the assembly title. This includes the name of the framework that the assembly was built on.

  • Combined Release and ReleaseStrong builds

    The Release and ReleaseStrong builds have been consolidated into a single build called Release. This Release build is strongly named.

  • New Appender: ColoredConsoleAppender

    The ColoredConsoleAppender writes events to the application's console. It can be configured to specify the text and background colors for different level events.

  • New Appender: SmtpPickupDirAppender

    The SmtpPickupDirAppender generates SMTP compliant messages and writes them to a local directory. These files can then be read by an SMTP agent (e.g. the IIS SMTP Agent) and delivered.

  • New Layout: XmlLayoutSchemaLog4j

    This new layout formats the logging events as XML which complies with the log4j event dtd. This can be used to transfer log event from log4net to log4j. Currently the only appender that can communicate directly with log4j is the UdpAppender.

  • New PatternLayout conversion characters

    Added support for capturing the current thread principal name and the app domain friendly name for each logging event.

    %a
    Used to output the friendly name of the AppDomain where the logging event was generated.
    %u
    Used to output the user name for the currently active user (Principal.Identity.Name).
  • Types specified in the config file are now loaded ignoring case

    All types specified in the configuration files are now loaded using a case insensitive method.

  • Fine grained fixing for buffered events

    The LoggingEvent now supports fine grained fixing of data that needs to be accessed outside the append context, e.g. when an event is buffered. The new Fix property takes a combination of the FixFlags enumeration values.

  • Code updated inline with FxCop 1.21

    In line with the FxCop 1.21 guidelines: Sealed utility classes. Added serialization security demand to GetObjectData. Renamed parameters.

  • EventLogAppender 32K Limit

    There is a limit of 32K characters in an EventLog message. Added a check that only logs the first 32000 characters from the rendered message.

1.2.0 Beta 7

  • Updated to support the Microsoft .NET Framework 1.1 Final

    Updated to support the Microsoft .NET Framework 1.1 Final Beta (1.1.4322).

  • Features document

    Added a new document that covers the main features of log4net. See the features document for more information.

  • Hierarchy disabled until it is configured

    The Hierarchy is now disabled until it has been configured. All messages logged to the Hierarchy before it has been configured will be ignored without an error message being written to the console.

    If you are configuring log4net programmatically (i.e. not using one of the built-in configurators) you must set the ILoggerRepository.Configured property to true once you have configured the repository.

    The no appenders defined for a logger message will no longer be displayed on the console by default. This message will only be displayed if internal debugging is enabled.

  • New examples in VisualBasic.NET, JScript and Managed C++

    New examples in VisualBasic.NET, JScript and Managed C++. TODO Link to document about examples.

  • Code and Documentation Updates

    Code fixes. Documentation and manual updates. See the ChangeLog for more information.

  • Added document with example appender configurations

    See the Example Appender Configuration document for more information.

1.2.0 Beta 6

  • Added support for multiple frameworks

    log4net 1.2.0 beta 6 adds support for the the following frameworks:

    Framework Website
    Microsoft .NET Framework 1.1 Final Beta (1.1.4322) http://msdn.microsoft.com/net
    Microsoft .NET Compact Framework 1.0 (1.0.5000) http://msdn.microsoft.com/vstudio/device/compactfx.asp
    Mono 0.23 http://www.go-mono.org
    Microsoft Shared Source CLI 1.0 http://msdn.microsoft.com/library/en-us/dndotnet/html/mssharsourcecli.asp

    Not all frameworks are created equal and some features have been excluded from some of the builds. See the Framework Support document for more information.

  • New build system using NAnt

    The new build system allows log4net to be built for all supported frameworks and in all build configurations in one go.

  • New source code & distribution layout

    The source code & distribution layout has been updated to support the new build environment and multiple target frameworks.

  • Removed DomainAttribute.UseDefaultDomain property

    Updated default behavior of DefaultRepositorySelector. Assemblies are now by default placed into the default domain. To specify another domain, the DomainAttribute must be used. This is the opposite behavior to what was previously available. If you were previously specifying the DomainAttribute.UseDefaultDomain property then you should remove it, and if the default behavior is now sufficient, you do not need to specify the DomainAttribute at all.

  • Updated configuration file parser

    Updated config file parser to use the element name as the property to set. Also removed <object> tag, the type attribute can now be specified on the property element directly.

    For example:

    <appender>
      <param name="Evaluator">
        <object type="log4net.spi.LevelEvaluator">
          <constructor>
            <param type="log4net.spi.Level" value="DEBUG"/>
          </constructor>
        </object>
      </param>
    </appender>

    becomes:

    <appender>
      <evaluator type="log4net.spi.LevelEvaluator">
        <threshold value="DEBUG"/>
      </evaluator>
    </appender>
  • Support for event ID

    The EventLogAppender now supports setting the event ID in the event log, this is taken from the EventID property from the per event Properties map on the LoggingEvent.

  • Updated ADONetAppender

    • Added support for prepared statements and stored procedures
    • Added RawTimeStampLayoutto correctly convert the timestamps into database date time format
    • Added ExceptionLayout to render the exception data

  • Support for front-end extension

    This allows the logging API to be wrapped or adapted for specific purposes. Two extension samples are included in the distribution:

    Extension Description
    log4net.Ext.Trace Adds trace logging methods
    log4net.Ext.EventID Adds additional eventId parameter to all methods

  • Added ForwardingAppender

    Forwards events to multiple sub appenders after applying filter rules.

  • Added BufferingForwardingAppender

    Forward events to sub appenders after buffering them.

  • Added ASPNetTraceAppender

    Logs events to the ASP.NET trace system.

  • Added NetSendAppender

    Delivers logging events using the Windows Messenger service.

  • Added UdpAppender

    Sends logging events as connectionless UDP datagrams to a remote host or a multicast group.

  • Removed obsolete methods

  • Lots of updates to improve our compliance with FxCop

  • Improved SDK documentation

1.2.0 Beta 5

  • Fixed Exception thrown when DOM Configurator called with a null XML Element.

    This occurred if the configuration file did not have a log4net section defined.

  • Made level lookup case insensitive

  • Prevented the Hierarchy's Threshold level from being set to a null reference

1.2.0 Beta 4

  • Added event specific properties to the logging event object

    Appenders can add additional information to the events they are logging. The RemotingAppender and the SMTPAppender both add a 'hostname' property to the events. These properties can be accessed using the PatternLayout with the %P{name} syntax.

  • Added a plugin framework

    An IPlugin interface can be attached to any repository.

  • A new RemoteLoggingServerPlugin plugin acts as the server for the RemotingAppender

  • Updated the core log4net framework to work in an environment with no permissions

    Specific appenders still require additional permissions to log correctly

  • Added support for domain aliasing using the AliasDomainAttribute

    This allows a parent assembly to take control of the logging domain for child assemblies.

  • Added events for repository creation, configuration change, configuration reset and repository shutdown

  • Added LevelMap to the ILoggerRepository interface

    The mapping from level name to level object is now repository specific, therefore each repository can have independent mappings.

  • Moved hierarchy specific config file parser to new DOMHierarchyConfigurator class

    This is controlled by the Hierarchy object and allows for better encapsulation.

  • Added OnlyFixPartialEventData property to the buffered appenders

    This setting causes slow settings to be ignored. This significantly improves the performance of the buffered appenders.

  • XML entity references are supported in the XML config file.

  • Added support for expanding environment variables in <param> values

    The environment variables must be specified as ${FOO} where FOO is the name of the variable to expand.

  • Upgraded to use NUnit 2.0

  • File appenders can specify the encoding to use for the file

  • Added strong named configuration

1.2.0 Beta 3

  • Added log4net.Ext.Trace extension

    This is a separate assembly that adds a trace level to log4net.

  • The default log file output directory is now the application base directory not the current directory

  • Added MemoryAppender

    Stores all the logging events in an in-memory buffer.

  • Moved the Hierarchy implementation into a separate namespace

    The log4net.Repository.Hierarchy namespace now contains all the code that is specific to the Hierarchy implementation.

  • Refactored the DOMConfigurator and BasicConfigurator

    The Hierarchy specific data schema and implementation could be has now been moved to the log4net.Repository.Hierarchy namespace. The bootstrap code for these configurators remains in the log4net.Config namespace.

  • Replaced the DOMConfiguratorAttribute UseExecutableDomain property with UseDefaultDomain

    This change to the implementation of the DOMConfiguratorAttribute should allow the configuration of multiple assemblies to be accomplished more easily, especially when developing web applications (ASP.NET).

  • A few good bug fixes!

1.2.0 Beta 2

  • Added ADONetAppender

    Thanks to TechnologyOneCorp.com.

  • Added TraceLogAssembly extensibility example

  • Lots of bug fixes

1.2.0 Beta 1

  • Added 6 new examples

  • Split Category class into Logger and LogManager classes

    The instance methods from Category have moved to the Logger class. The static methods from Category have moved to the LogManager class. The Category class still exists but for backward compatibility only. Changed interface ICategoryFactory to ILoggerFactory and the implementation class DefaultCategoryFactory to DefaultLoggerFactory.

  • Replaced Priority class with Level class

    The Priority class has been replaced by the Level class. The Priority class still exists for backward compatibility only. The Level class implements a static pool of Level objects. The Level class is sealed and serializable.

  • Added ILoggerRepository interface implemented by Hierarchy

    The Hierarchy class implements the ILoggerRepository interface. This interface is used by the LogManager class and therefore allows different implementations of ILoggerRepository to be used.

  • Enhanced NUnit tests

    All the NUnit tests can be run using a single TestSuite: NUnitGUI log4net.LogManager+AllTests,log4net.dll.

  • Added support for serializing LoggingEvents

    The LoggingEvent class is serializable. All local state is captured before serialization occurs. This now allows LoggingEvent objects to be serialized between applications or machines.

  • Added RemotingAppender

    Delivers LoggingEvents to a remote interface. This can be used to collect distributed logging into a single log file. There is an example remoting sink that receives the logging events, see examples\net\remoting\RemotingServer for details.

  • Added support for rendering composite objects

    The IObjectRenderer interface method DoRender now takes a RendererMap argument. This allows the renderer to use the appropriate renderer from the RendererMap to render any nested objects.

  • Added support for rendering exceptions

    The DefaultRenderer now has support for rendering exceptions to a string. This includes nested exceptions. The RendererMap is now used to render exceptions in the LoggingEvent. This allows the rendering of specific exceptions to be enhanced by specific renderers.

  • Added ITriggeringEventEvaluator interface

    This interface is used by SMTPAppender and RemotingAppender to determine if a LoggingEvent meets a set of user defined criteria. These appenders use the interface to determine whether or not to deliver the current buffer of events to their listener. The interface is implemented by the LevelEvaluator class, which triggers above a set level.

  • Added regex matching to the MDCFilter, NDCFilter and StringMatchFilter

    The MDCFilter, NDCFilter and StringMatchFilter can now be configured to use regex matches in addition to substring matches. Set the RegexToMatch property to use this feature.

  • Added XMLLayout

    emits an XML element for each LoggingEvent. This allows logging events to be stored and manipulated as XML. The DTD for the XML emitted is in the log4net-events.dtd

  • Added support for <logger> and <level> elements in the DOMConfigurator

    As the Category and Priority classes have been replaced by the Logger and Level classes. The DOMConfigurator has been updated to allow the <logger> and <level> elements to be used in place of the <category> and <priority> elements. The old elements are still accepted for backward compatibility.

  • Added Threshold property to Hierarchy

    Changed DisableXXX() methods on Hierarchy to a Threshold property.

  • Added support for logging domains

    The LogManager supports multiple logging domains. The LogManager uses an instance of the IRepositorySelector class to map from domains to ILoggerRepository instances. The default implementation is to have a separate ILoggerRepository for each domain. When a call is made to the static methods on LogManager the domain can be specified (as a string) or the domain can be inferred automatically from the calling assembly. The default behavior is for each assembly loaded into the process to have its own domain and ILoggerRepository. These can each be configured separately. This allows standalone assemblies to use log4net without conflicting with other modules in the process. The domain for the assembly is configured using metadata attributes defined on the assembly.

  • DOMConfigurator can set params to arbitrary objects

    Using a new <object> element, params can now be set to any creatable object.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/config-examples.html0000644000175000017500000020005110412737254020352 0ustar slomoslomo log4net - log4net Config Examples

log4net Config Examples

Contents

Overview

This document presents example configurations for the built-in appenders. These configurations are designed to work with the log4net.Config.DOMConfigurator and the log4net.Repository.Hierarchy.Hierarchy.

These examples are by no means exhaustive configurations for the appenders. For a full list of the parameters that can be specified to each appender and more details on each options see the SDK documentation for the appender.

AdoNetAppender

For full details see the SDK Reference entry: log4net.Appender.AdoNetAppender.

The configuration of the AdoNetAppender depends on the provider selected for the target database. Here are some examples.

MS SQL Server

The following example shows how to configure the AdoNetAppender to log messages to a SQL Server database. The events are written in batches of 100 (BufferSize). The ConnectionType specifies the fully qualified type name for the System.Data.IDbConnection to use to connect to the database. The ConnectionString is database provider specific. The CommandText is either a prepared statement or a stored procedure, in this case it is a prepared statement. Each parameter to the prepared statement or stored procedure is specified with its name, database type and a layout that renders the value for the parameter.

The database table definition is:

CREATE TABLE [dbo].[Log] (
	[Id] [int] IDENTITY (1, 1) NOT NULL,
	[Date] [datetime] NOT NULL,
	[Thread] [varchar] (255) NOT NULL,
	[Level] [varchar] (50) NOT NULL,
	[Logger] [varchar] (255) NOT NULL,
	[Message] [varchar] (4000) NOT NULL,
	[Exception] [varchar] (2000) NULL
)
					

The appender configuration is:

<appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender">
	<bufferSize value="100" />
	<connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
	<connectionString value="data source=[database server];initial catalog=[database name];integrated security=false;persist security info=True;User ID=[user];Password=[password]" />
	<commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception)" />
	<parameter>
		<parameterName value="@log_date" />
		<dbType value="DateTime" />
		<layout type="log4net.Layout.RawTimeStampLayout" />
	</parameter>
	<parameter>
		<parameterName value="@thread" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%thread" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@log_level" />
		<dbType value="String" />
		<size value="50" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%level" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@logger" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%logger" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@message" />
		<dbType value="String" />
		<size value="4000" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%message" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@exception" />
		<dbType value="String" />
		<size value="2000" />
		<layout type="log4net.Layout.ExceptionLayout" />
	</parameter>
</appender>
					

MS Access

This example shows how to write events to an Access Database.

<appender name="AdoNetAppender_Access" type="log4net.Appender.AdoNetAppender">
	<connectionString value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\log\access.mdb;User Id=;Password=;" />
	<commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)" />
	<parameter>
		<parameterName value="@log_date" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%date" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@thread" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%thread" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@log_level" />
		<dbType value="String" />
		<size value="50" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%level" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@logger" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%logger" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@message" />
		<dbType value="String" />
		<size value="1024" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%message" />
		</layout>
	</parameter>
</appender>
					

Oracle9i

This example shows how to write events to an Oracle9i Database.

The database table definition is:

create table log (
   Datetime timestamp(3),
   Thread varchar2(255),
   Log_Level varchar2(255),
   Logger varchar2(255),
   Message varchar2(4000)
   );
					

The appender configuration is:

<appender name="AdoNetAppender_Oracle" type="log4net.Appender.AdoNetAppender">
    <connectionType value="System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <connectionString value="data source=[mydatabase];User ID=[user];Password=[password]" />
    <commandText value="INSERT INTO Log (Datetime,Thread,Log_Level,Logger,Message) VALUES (:log_date, :thread, :log_level, :logger, :message)" />
    <bufferSize value="128" />
    <parameter>
		<parameterName value=":log_date" />
		<dbType value="DateTime" />
		<layout type="log4net.Layout.RawTimeStampLayout" />
    </parameter>
    <parameter>
		<parameterName value=":thread" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%thread" />
		</layout>
    </parameter>
    <parameter>
		<pParameterName value=":log_level" />
		<dbType value="String" />
		<size value="50" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%level" />
		</layout>
    </parameter>
    <parameter>
		<parameterName value=":logger" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%logger" />
		</layout>
    </parameter>
    <parameter>
		<parameterName value=":message" />
		<dbType value="String" />
		<size value="4000" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%message" />
		</layout>
    </parameter>
</appender>
					

Oracle8i

This example shows how to write events to an Oracle8i Database.

The database table definition is:

CREATE TABLE CSAX30.LOG
(
      THREAD      VARCHAR2(255),
      LOG_LEVEL   VARCHAR2(255),
      LOGGER      VARCHAR2(255),
      MESSAGE     VARCHAR2(4000)
)
TABLESPACE CSAX30D LOGGING
					

The appender configuration is:

<appender name="AdoNetAppender_Oracle" type="log4net.Appender.AdoNetAppender">
	<connectionType value ="System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
	<connectionString value="data source=<dsname>;User ID=<userid>;Password=<password>" />
	<commandText value="INSERT INTO Log (Log_Level,Logger,Message) VALUES (:log_level, :logger, :message)" />
	<bufferSize value="250" />
	<parameter>
		<parameterName value=":log_level" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%level" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value=":logger" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%logger" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value=":message" />
		<dbType value="String" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%message" />
		</layout>
	</parameter>
</appender>
					

IBM DB2

This example shows how to write events to an IBM DB2 8.2 Database. The following syntax should also work with older DB2 database servers.

The database table definition is:

CREATE TABLE "myschema.LOG" (
	"ID" INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY (
		START WITH +1
		INCREMENT BY +1
		MINVALUE +1
		MAXVALUE +2147483647
		NO CYCLE
		NO CACHE
		NO ORDER
	),
	"DATE" TIMESTAMP NOT NULL,
	"THREAD" VARCHAR(255) NOT NULL,
	"LEVEL" VARCHAR(500) NOT NULL,
	"LOGGER" VARCHAR(255) NOT NULL,
	"MESSAGE" VARCHAR(4000) NOT NULL,
	"EXCEPTION" VARCHAR(2000)
)
IN "LRGTABLES";
					

The appender configuration is:

<appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender">
	<bufferSize value="100" />
	<connectionType value="IBM.Data.DB2.DB2Connection,IBM.Data.DB2, Version=8.1.2.1" />
	<connectionString value="server=192.168.0.0;database=dbuser;user Id=username;password=password;persist security info=true" />
	<commandText value="INSERT INTO myschema.Log (Date,Thread,Level,Logger,Message,Exception) VALUES (@log_date,@thread,@log_level,@logger,@message,@exception)" />
	<parameter>
		<parameterName value="@log_date" />
		<dbType value="DateTime" />
		<layout type="log4net.Layout.RawTimeStampLayout" />
	</parameter>
	<parameter>
		<parameterName value="@thread" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%thread" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@log_level" />
		<dbType value="String" />
		<size value="500" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%level" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@logger" />
		<dbType value="String" />
		<size value="255" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%logger" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@message" />
		<dbType value="String" />
		<size value="4000" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%message" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@exception" />
		<dbType value="String" />
		<size value="2000" />
		<layout type="log4net.Layout.ExceptionLayout" />
	</parameter>
</appender>
					

SQLite

This example shows how to write events to a SQLite Database. This was tested against v0.21 of the SQLite .NET provider.

SQLite doesn't have strongly-typed columns or field lengths but its recommended you still include this information for readability. The database table definition is:

CREATE TABLE Log (
	LogId		INTEGER PRIMARY KEY,
	Date		DATETIME NOT NULL,
	Level		VARCHAR(50) NOT NULL,
	Logger		VARCHAR(255) NOT NULL,
	Message		TEXT DEFAULT NULL	
);
					

The appender configuration is:

<appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender">
	<bufferSize value="100" />
	<connectionType value="Finisar.SQLite.SQLiteConnection, SQLite.NET, Version=0.21.1869.3794, Culture=neutral, PublicKeyToken=c273bd375e695f9c" />
	<connectionString value="Data Source=c:\\inetpub\\wwwroot\\logs\\log4net.db;Version=3;" />
	<commandText value="INSERT INTO Log (Date, Level, Logger, Message) VALUES (@Date, @Level, @Logger, @Message)" />
	<parameter>
		<parameterName value="@Date" />
		<dbType value="DateTime" />
		<layout type="log4net.Layout.RawTimeStampLayout" />
	</parameter>
	<parameter>
		<parameterName value="@Level" />
		<dbType value="String" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%level" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@Logger" />
		<dbType value="String" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%logger" />
		</layout>
	</parameter>
	<parameter>
		<parameterName value="@Message" />
		<dbType value="String" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%message" />
		</layout>
	</parameter>
</appender>
					

AspNetTraceAppender

For full details see the SDK Reference entry: log4net.Appender.AspNetTraceAppender.

The following example shows how to configure the AspNetTraceAppender to log messages to the ASP.NET TraceContext. The messages are written to the System.Web.TraceContext.Write method if they are below level WARN. If they are WARN or above they are written to the System.Web.TraceContext.Warn method.

<appender name="AspNetTraceAppender" type="log4net.Appender.AspNetTraceAppender" >
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

BufferingForwardingAppender

For full details see the SDK Reference entry: log4net.Appender.BufferingForwardingAppender.

The following example shows how to configure the BufferingForwardingAppender to buffer 100 messages before delivering them to the ConsoleAppender.

<appender name="BufferingForwardingAppender" type="log4net.Appender.BufferingForwardingAppender" >
	<bufferSize value="100"/>			
	<appender-ref ref="ConsoleAppender" />		
</appender>
				

This example shows how to deliver only significant events. A LevelEvaluator is specified with a threshold of WARN. This means that the events will only be delivered when a message with level of WARN or higher level is logged. Up to 512 (BufferSize) previous messages of any level will also be delivered to provide context information. Messages not sent will be discarded.

<appender name="BufferingForwardingAppender" type="log4net.Appender.BufferingForwardingAppender" >
	<bufferSize value="512" />
	<lossy value="true" />
	<evaluator type="log4net.Core.LevelEvaluator">
		<threshold value="WARN"/>
	</evaluator>
	<appender-ref ref="ConsoleAppender" />		
</appender>
				

ColoredConsoleAppender

For full details see the SDK Reference entry: log4net.Appender.ColoredConsoleAppender.

The following example shows how to configure the ColoredConsoleAppender to log messages to the console. By default the messages are sent to the console standard output stream. This example shows how to highlight error messages.

<appender name="ColoredConsoleAppender" type="log4net.Appender.ColoredConsoleAppender">
	<mapping>
		<level value="ERROR" />
		<foreColor value="White" />
		<backColor value="Red, HighIntensity" />
	</mapping>
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example shows how to colorize multiple levels.

<appender name="ColoredConsoleAppender" type="log4net.Appender.ColoredConsoleAppender">
	<mapping>
		<level value="ERROR" />
		<foreColor value="White" />
		<backColor value="Red, HighIntensity" />
	</mapping>
	<mapping>
		<level value="DEBUG" />
		<backColor value="Green" />
	</mapping>
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

ConsoleAppender

For full details see the SDK Reference entry: log4net.Appender.ConsoleAppender.

The following example shows how to configure the ConsoleAppender to log messages to the console. By default the messages are sent to the console standard output stream.

<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example shows how to direct the log messages to the console error stream.

<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
	<target value="Console.Error" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

EventLogAppender

For full details see the SDK Reference entry: log4net.Appender.EventLogAppender.

The following example shows how to configure the EventLogAppender to log to the Application event log on the local machine using the event Source of the AppDomain.FriendlyName.

<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" >
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example shows how to configure the EventLogAppender to use a specific event Source.

<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" >
	<applicationName value="MyApp" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

For more information on how to setup the event log to allow the EventLogAppender to write to it, see the FAQ: Why doesn't the EventLogAppender work?.

FileAppender

For full details see the SDK Reference entry: log4net.Appender.FileAppender.

The following example shows how to configure the FileAppender to write messages to a file. The file specified is log-file.txt. The file will be appended to rather than overwritten each time the logging process starts.

<appender name="FileAppender" type="log4net.Appender.FileAppender">
	<file value="log-file.txt" />
	<appendToFile value="true" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example shows how to configure the file name to write to using an environment variable TMP. The encoding to use to write to the file is also specified.

<appender name="FileAppender" type="log4net.Appender.FileAppender">
	<file value="${TMP}\log-file.txt" />
	<appendToFile value="true" />
	<encoding value="unicodeFFFE" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example shows how to configure the appender to use the minimal locking model that allows multiple processes to write to the same file.

<appender name="FileAppender" type="log4net.Appender.FileAppender">
	<file value="${TMP}\log-file.txt" />
	<appendToFile value="true" />
	<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

ForwardingAppender

For full details see the SDK Reference entry: log4net.Appender.ForwardingAppender.

The following example shows how to configure the ForwardingAppender. The forwarding appender allows a set of constraints to be used to decorate an appender. In this example the ConsoleAppender is decorated with a Threshold of level WARN. This means that an event directed to the ConsoleAppender directly will be logged regardless of its level, but an event directed to the ForwardingAppender will only be passed on to the ConsoleAppender if its level is WARN or higher. This appender is used only in special circumstances.

<appender name="ForwardingAppender" type="log4net.Appender.ForwardingAppender" >
	<threshold value="WARN"/>			
	<appender-ref ref="ConsoleAppender" />		
</appender>
				

MemoryAppender

For full details see the SDK Reference entry: log4net.Appender.MemoryAppender.

It is unlikely that the MemoryAppender will be configured using a config file, but if you want to do it here's how.

<appender name="MemoryAppender" type="log4net.Appender.MemoryAppender">
	<onlyFixPartialEventData value="true" />
</appender>
				

NetSendAppender

For full details see the SDK Reference entry: log4net.Appender.NetSendAppender.

The following example shows how to configure the NetSendAppender to deliver messages to a specific user's screen. As this appender is typically only used for important notifications a Threshold of level Error is specified. This example delivers the messages to the user nicko on the machine SQUARE. However things are not always straight forward using the Windows Messenger Service, one possible outcome using this configuration is that the Server will broadcast looking for a WINS server which it will then ask to deliver the message to the Recipient, the WINS server will deliver it to the first terminal that the user logged in from.

<appender name="NetSendAppender" type="log4net.Appender.NetSendAppender">
	<threshold value="ERROR" />
	<server value="SQUARE" />
	<recipient value="nicko" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

OutputDebugStringAppender

For full details see the SDK Reference entry: log4net.Appender.OutputDebugStringAppender.

The following example shows how to configure the OutputDebugStringAppender to write logging messages to the OutputDebugString API.

<appender name="OutputDebugStringAppender" type="log4net.Appender.OutputDebugStringAppender" >
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

RemotingAppender

For full details see the SDK Reference entry: log4net.Appender.RemotingAppender.

The following example shows how to configure the RemotingAppender to deliver logging events to a specified Sink (in this example the sink is tcp://localhost:8085/LoggingSink). In this example the events are delivered in blocks of 95 events because of the BufferSize. No events are discarded. The OnlyFixPartialEventData option allows the appender to ignore certain logging event properties that can be very slow to generate (e.g. the calling location information).

<appender name="RemotingAppender" type="log4net.Appender.RemotingAppender" >
	<sink value="tcp://localhost:8085/LoggingSink" />
	<lossy value="false" />
	<bufferSize value="95" />
	<onlyFixPartialEventData value="true" />
</appender>
				

This example configures the RemotingAppender to deliver the events only when an event with level ERROR or above is logged. When the events are delivered, up to 200 (BufferSize) previous events (regardless of level) will be delivered to provide context. Events not delivered will be discarded.

<appender name="RemotingAppender" type="log4net.Appender.RemotingAppender" >
	<sink value="tcp://localhost:8085/LoggingSink" />
	<lossy value="true" />
	<bufferSize value="200" />
	<onlyFixPartialEventData value="true" />
	<evaluator type="log4net.Core.LevelEvaluator">
		<threshold value="ERROR"/>
	</evaluator>
</appender>
				

RollingFileAppender

For full details see the SDK Reference entry: log4net.Appender.RollingFileAppender.

The RollingFileAppender builds on the FileAppender and has the same options as that appender.

The following example shows how to configure the RollingFileAppender to write to the file log.txt. The file written to will always be called log.txt because the StaticLogFileName param is specified. The file will be rolled based on a size constraint (RollingStyle). Up to 10 (MaxSizeRollBackups) old files of 100 KB each (MaximumFileSize) will be kept. These rolled files will be named: log.txt.1, log.txt.2, log.txt.3, etc...

<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
	<file value="log.txt" />
	<appendToFile value="true" />
	<rollingStyle value="Size" />
	<maxSizeRollBackups value="10" />
	<maximumFileSize value="100KB" />
	<staticLogFileName value="true" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example show how to configure the RollingFileAppender to roll log files on a date period. This example will roll the log file every minute! To change the rolling period adjust the DatePattern value. For example, a date pattern of "yyyyMMdd" will roll every day. See System.Globalization.DateTimeFormatInfo for a list of available patterns.

<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
	<file value="logfile" />
	<appendToFile value="true" />
	<rollingStyle value="Date" />
	<datePattern value="yyyyMMdd-HHmm" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example show how to configure the RollingFileAppender to roll log files on a date period and within a date period on file size. For each day only the last 10 files of 1MB will be kept.

<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
	<file value="logfile" />
	<appendToFile value="true" />
	<rollingStyle value="Composite" />
	<datePattern value="yyyyMMdd" />
	<maxSizeRollBackups value="10" />
	<maximumFileSize value="1MB" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

This example show how to configure the RollingFileAppender to roll log files once per program execution. The appendToFile property is set to false to prevent the appender from overwriting the existing files. The maxSizeRollBackups is set to negative 1 to allow an infinite number of backup files. The file size does have to be limited but here it is set to 50 Gigabytes which, if a log file exceeds this size limit during a single run then it will also be rolled.

<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
	<file value="logfile.txt" />
	<appendToFile value="false" />
	<rollingStyle value="Size" />
	<maxSizeRollBackups value="-1" />
	<maximumFileSize value="50GB" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

SmtpAppender

For full details see the SDK Reference entry: log4net.Appender.SmtpAppender.

The following example shows how to configure the SmtpAppender to deliver log events via SMTP email. The To, From, Subject and SmtpHost are required parameters. This example shows how to deliver only significant events. A LevelEvaluator is specified with a threshold of WARN. This means that an email will be sent for each WARN or higher level message that is logged. Each email will also contain up to 512 (BufferSize) previous messages of any level to provide context. Messages not sent will be discarded.

<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender">
	<to value="to@domain.com" />
	<from value="from@domain.com" />
	<subject value="test logging message" />
	<smtpHost value="SMTPServer.domain.com" />
	<bufferSize value="512" />
	<lossy value="true" />
	<evaluator type="log4net.Core.LevelEvaluator">
		<threshold value="WARN"/>
	</evaluator>
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%newline%date [%thread] %-5level %logger [%property{NDC}] - %message%newline%newline%newline" />
	</layout>
</appender>
				

This example shows how to configure the SmtpAppender to deliver all messages in emails with 512 (BufferSize) messages per email.

<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender">
	<to value="to@domain.com" />
	<from value="from@domain.com" />
	<subject value="test logging message" />
	<smtpHost value="SMTPServer.domain.com" />
	<bufferSize value="512" />
	<lossy value="false" />
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%newline%date [%thread] %-5level %logger [%property{NDC}] - %message%newline%newline%newline" />
	</layout>
</appender>
				

This example shows a more verbose formatting layout for the mail messages.

<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender,log4net">
	<to value="to@domain.com" />
	<from value="from@domain.com" />
	<subject value="test logging message" />
	<smtpHost value="SMTPServer.domain.com" />
	<bufferSize value="512" />
	<lossy value="false" />
	<evaluator type="log4net.Core.LevelEvaluator,log4net">
		<threshold value="WARN" />
	</evaluator>
	<layout type="log4net.Layout.PatternLayout,log4net">
		<conversionPattern value="%property{log4net:HostName} :: %level :: %message %newlineLogger: %logger%newlineThread: %thread%newlineDate: %date%newlineNDC: %property{NDC}%newline%newline" />
	</layout>
</appender>				
				

SmtpPickupDirAppender

For full details see the SDK Reference entry: log4net.Appender.SmtpPickupDirAppender.

The SmtpPickupDirAppender is configured similarly to the SmtpAppender. The only difference is that rather than specify a SmtpHost parameter a PickupDir must be specified.

The PickupDir parameter is a path that must exist and the code executing the appender must have permission to create new files and write to them in this directory. The path is relative to the application's base directory (AppDomain.BaseDirectory).

The following example shows how to configure the SmtpPickupDirAppender to deliver log events via SMTP email. The To, From, Subject and PickupDir are required parameters. This example shows how to deliver only significant events. A LevelEvaluator is specified with a threshold of WARN. This means that an email will be sent for each WARN or higher level message that is logged. Each email will also contain up to 512 (BufferSize) previous messages of any level to provide context. Messages not sent will be discarded.

<appender name="SmtpPickupDirAppender" type="log4net.Appender.SmtpPickupDirAppender">
	<to value="to@domain.com" />
	<from value="from@domain.com" />
	<subject value="test logging message" />
	<pickupDir value="C:\SmtpPickup" />
	<bufferSize value="512" />
	<lossy value="true" />
	<evaluator type="log4net.Core.LevelEvaluator">
		<threshold value="WARN"/>
	</evaluator>
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%newline%date [%thread] %-5level %logger [%property{NDC}] - %message%newline%newline%newline" />
	</layout>
</appender>
				

TraceAppender

For full details see the SDK Reference entry: log4net.Appender.TraceAppender.

The following example shows how to configure the TraceAppender to log messages to the System.Diagnostics.Trace system. This is the tracing system supplied with the .net base class libraries. See the MSDN documentation for the System.Diagnostics.Trace class for more details on how to configure the trace system.

<appender name="TraceAppender" type="log4net.Appender.TraceAppender">
	<layout type="log4net.Layout.PatternLayout">
		<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

UdpAppender

For full details see the SDK Reference entry: log4net.Appender.UdpAppender.

The following example shows how to configure the UdpAppender to send events to a RemoteAddress on the specified RemotePort.

<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
	<localPort value="8080" />
	<remoteAddress value="224.0.0.1" />
	<remotePort value="8080" />
	<layout type="log4net.Layout.PatternLayout, log4net">
		<conversionPattern value="%-5level %logger [%property{NDC}] - %message%newline" />
	</layout>
</appender>
				

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/example-apps.html0000644000175000017500000007521210412737254017676 0ustar slomoslomo log4net - log4net Examples

log4net Examples

Contents

Overview

The following examples are only available in the log4net release download, not on-line. To obtain the examples download one of the log4net releases.

Building Examples

Building An Example

A single example can be build by running nant from the example directory.

For example running nant in the examples\net\1.0\Tutorials\ConsoleApp\cs directory will build the C# version of the .NET 1.0 ConsoleApp example.

nant can be run in any directory containing a nant.build file. The typical behavior of the build file is to build all projects under the current directory.

For example running nant in the examples\net\1.1 directory will build all the examples for the .NET 1.1 platform.

Building All Examples

To build all the examples either run nant in the examples directory or you can specify the compile-examples target to the main log4net nant build.

Visual Studio .NET

There are Visual Studio .NET 2002 project files for the .NET 1.0 framework. The solution files for C# and VB are in the examples\net\1.0 folder.

For the Managed C++ project there is a Visual Studio .NET 2003 project file in the examples\net\1.1 folder.

Examples

Tutorial - ConsoleApp

ConsoleApp shows how to write a simple console application that initializes logging and logs various events.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

To run this example execute ConsoleApp.exe from the build output directory.

Tutorial - WebApp

ConsoleApp shows how to write a simple ASP.NET web application that initializes logging and logs various events.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

To run this example you need to have an ASP.NET container application to host the web application, for example IIS. In IIS create a new virtual directory pointing to the WebApp src directory. Configure IIS to recognize this virtual directory as an application. Open up a web browser, navigate to the virtual directory and to the WebForm1.aspx page within it.

Remoting - RemotingClient

The RemotingClient application is a simple console application that configures log4net with the RemotingAppender. This appender will attempt to deliver the logging events to a remoting listener. This example should be run in conjunction with the RemotingServer.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • .NET 1.0: C#

To run this example execute RemotingClient.exe from the build output directory.

Remoting - RemotingServer

The RemotingServer application is a simple console application that listens for logging events from a remote RemotingAppender and then logs them through the local log4net instance. This example should be run in conjunction with the RemotingClient.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • .NET 1.0: C#

To run this example execute RemotingServer.exe from the build output directory. While this process is running execute the RemotingClient.exe program on the same machine. The logging events from the client are transferred to the server.

Repository - SimpleModule

The SimpleModule is a class library that is intended to be used as part of the SimpleApp example, This class library uses the log4net.Config.Repository attribute to create a separate configuration space from other assemblies.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

This library is intended to be used as part of the SimpleApp example.

Repository - SharedModule

The SharedModule is a class library that is intended to be used as part of the SimpleApp example, This class library uses log4net but does not attempt to configure logging.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

This library is intended to be used as part of the SimpleApp example.

Repository - SimpleApp

The SimpleApp example uses the SimpleModule and SharedModule to demonstrate the ways in which multiple assemblies within the same process may be separately configured.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

To run this example execute SimpleApp.exe from the build output directory.

Extensibility - EventIDLogApp

The EventIDLogApp example demonstrates using the log4net.Ext.EventID extension. The extension needs to be built separately from the extensions\net\1.0\log4net.Ext.EventID directory.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • .NET 1.0: C#

To run this example execute EventIDLogApp.exe from the build output directory.

Extensibility - TraceLogApp

The TraceLogApp example demonstrates using the log4net.Ext.Trace extension. The extension needs to be built separately from the extensions\net\1.0\log4net.Ext.Trace directory.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • .NET 1.0: C#

To run this example execute TraceLogApp.exe from the build output directory.

SampleAppenders

This project includes the following example appenders.

  • AsyncAppender
  • FastDbAppender
  • FireEventAppender
  • MessageBoxAppender
  • MessageObjectExpanderAppender
  • MsmqAppender
  • PatternFileAppender
  • SimpleSmtpAppender

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • .NET 1.0: C#

To run this example execute SampleAppendersApp.exe from the build output directory.

SampleLayouts

This project includes the following example layouts.

  • ForwardingLayout
  • LineWrappingLayout

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • .NET 1.0: C#

To run this example execute SampleLayoutsApp.exe from the build output directory.

Performance - NotLogging

The NotLogging example benchmarks the performance of log4net logging statements in user code in various scenarios including when logging is disabled.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • MONO 1.0: C#
  • .NET 1.0: C#, VB

WmiAppender

The WmiAppender sample shows an example appender that fires events through Windows Management Instrumentation.

This example is available for the following platforms and languages. If a version is not available for your chosen platform and language combination then select the nearest platform for the appropriate language.

  • .NET 1.0: C#

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/building.html0000644000175000017500000003547510412737254017106 0ustar slomoslomo log4net - Building log4net

Building log4net

Contents

The log4net release builds are built using NAnt. Log4net can also be built using Visual Studio .NET 2002, 2003, or 2005.

To build a release build of log4net you will need to create a strong name key file. See the Strong Name section below.

Visual Studio

Visual Studio .NET 2002, 2003 and 2005 are supported build platforms for log4net.

Visual Studio .NET 2002

The log4net distribution includes a solution and project file for Visual Studio .NET 2002. Open the log4net.sln from the src directory in the distribution.

The log4net project requires only the following references:

  • System
  • System.Data
  • System.Web
  • System.XML

Visual Studio .NET 2003

Open the Visual Studio .NET 2002 solution file as above. Visual Studio will convert the solution and project files to Visual Studio .NET 2003 format.

After converting the log4net project you must change the Conditional Compilation Constants specified for the log4net project. Open the project properties dialog and select the Configuration Properties/Build sheet. Replace the NET_1_0 constant with NET_1_1. Remember to do this for both Debug and Release configurations.

The log4net project file is not suitable for building log4net for the .NET Compact Framework. To build for the Compact Framework you must create a new C# project for Smart Devices. Configure the project as a library project. Add all the C# files from the src directory in the distribution.

Visual Studio 2005

Open the Visual Studio .NET 2002 solution file as above. Visual Studio will convert the solution and project files to Visual Studio .NET 2003 format.

After converting the log4net project you must change the Conditional compilation symbols specified for the log4net project. Open the project properties page and select the Build sheet. Replace the NET_1_0 symbol with NET_2_0. Remember to do this for both Debug and Release configurations.

In addition the log4net project requires the following new references:

  • System.Configuration

The log4net project file is not suitable for building log4net for the .NET Compact Framework. To build for the Compact Framework you must create a new C# project for Smart Devices. Configure the project as a library project. Add all the C# files from the src directory in the distribution.

NAnt

The log4net distribution is built using the NAnt tool. A recent NAnt version 0.85 nightly build is required to build log4net, this is available from nant.sourceforge.net.

To support building log4net for the SSCLI framework the NAnt configuration files need to be updated to specify the SSCLI framework directory.

To build log4net from the command line, change directory to the root of the log4net distribution, ensure that the nant executable is in the PATH, and then run the following command:

nant -buildfile:log4net.build compile-all

This command will build log4net for all the supported frameworks that are available on the current machine. To list all the build targets that are available run the following command:

nant -buildfile:log4net.build -projecthelp

Under windows the build.cmd can be used to script the nant build. This can be called from a different directory and will locate the correct log4net.build file to use. For example:

build.cmd compile-all

Strong Name

In order to build the Release builds of log4net a Strong Name key is required.

Use the sn.exe tool in the .NET Framework SDK to generate a strong name key pair.

sn -k log4net.snk

The log4net.snk file should be placed in the root of the log4net distribution, in the same folder as the log4net.build file.

SDK Reference

NDoc 1.3 is used to build the log4net SDK documentation. NDoc is available from ndoc.sourceforge.net.

HTML Documentation

The log4net HTML documentation is built using Velocity. The source are XML files in the xdocs/src directory. Building the documentation requires Java, Ant, and Velocity. Run ant from within the xdocs directory.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/faq.html0000644000175000017500000021006210412737254016043 0ustar slomoslomo log4net - log4net Manual - Frequently Asked Questions

log4net Manual - Frequently Asked Questions

Contents

Information
Configuration
Implementing Logging
Customization
Troubleshooting
Miscellaneous

Information

What is log4net?

log4net is a tool to help the programmer output log statements to a variety of output targets.

In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in production code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial.

At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net (and common to all of the log4x libraries) is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity.

log4net is designed with two distinct goals in mind: speed and flexibility. There is a tight balance between these two requirements.

Back to Top

Is log4net a reliable logging system?

No. log4net is not reliable. It is a best-effort and fail-stop logging system.

By fail-stop, we mean that log4net will not throw unexpected exceptions at run-time potentially causing your application to crash. If for any reason, log4net throws an uncaught exception (except for ArgumentException and ArgumentNullException which may be thrown), please send an email to the log4net-user@logging.apache.org mailing list. Uncaught exceptions are handled as serious bugs requiring immediate attention.

Moreover, log4net will not revert to System.Console.Out or System.Console.Error when its designated output stream is not opened, is not writable or becomes full. This avoids corrupting an otherwise working program by flooding the user's terminal because logging fails. However, log4net will output a single message to System.Console.Error and System.Diagnostics.Trace indicating that logging can not be performed.

Back to Top

What are the prerequisites for log4net?

log4net runs on many different frameworks and each framework has its own requirements. As a rule of thumb you will need an ECMA-335 compliant CLI runtime, for example, the Microsoft .NET runtime 1.0 (1.0.3705) or 1.1 (1.1.4322).

Not all frameworks are created equal and some features have been excluded from some of the builds. See the Framework Support document for more information.

Back to Top

Is there example code for using log4net?

There is a directory containing examples in log4net\examples. The examples are broken down by framework.

Back to Top

What are the features of log4net?

  • log4net is optimized for speed.
  • log4net is based on a named logger hierarchy.
  • log4net is fail-stop but not reliable.
  • log4net is thread-safe.
  • log4net is not restricted to a predefined set of facilities.
  • Logging behavior can be set at runtime using a configuration file. Configuration files are in XML format.
  • log4net is designed to handle exceptions from the start.
  • log4net can direct its output to many sinks including: a file, the console, the NT EventLog or even e-mail.
  • log4net categorizes logging into levels: DEBUG, INFO, WARN, ERROR and FATAL.
  • The format of the log output can be easily changed by implementing a new layout class.
  • The target of the log output as well as the writing strategy can be altered by writing a new appender class.
  • log4net supports multiple output appenders per logger.

See the features overview document for more information on the features of log4net.

Back to Top

Is log4net thread-safe?

Yes, log4net is thread-safe.

Back to Top

What does log output look like?

The log output can be customized in many ways. Moreover, one can completely override the output format by implementing one's own ILayout

Here is an example output using PatternLayout with the conversion pattern %timestamp [%thread] %-5level %logger{2} %ndc - %message%newline

176 [main] INFO  examples.Sort - Populating an array of 2 elements in reverse order.
225 [main] INFO  examples.SortAlgo - Entered the sort method.
262 [main] DEBUG SortAlgo.OUTER i=1 - Outer loop.
276 [main] DEBUG SortAlgo.SWAP i=1 j=0 - Swapping intArray[0] = 1 and intArray[1] = 0
290 [main] DEBUG SortAlgo.OUTER i=0 - Outer loop.
304 [main] INFO  SortAlgo.DUMP - Dump of integer array:
317 [main] INFO  SortAlgo.DUMP - Element [0] = 0
331 [main] INFO  SortAlgo.DUMP - Element [1] = 1
343 [main] INFO  examples.Sort - The next log statement should be an error message.
346 [main] ERROR SortAlgo.DUMP - Tried to dump an uninitialized array.
467 [main] INFO  examples.Sort - Exiting main method.

The first field is the number of milliseconds elapsed since the start of the program. The second field is the thread outputting the log statement. The third field is the level of the log statement. The fourth field is the rightmost two components of the name of the logger making the log request. The fifth field (just before the '-') is the nested diagnostic context (NDC). Note the nested diagnostic context may be empty as in the first two statements. The text after the '-' is the message of the statement.

Back to Top

What are Loggers?

The logger concept lies at the heart of log4net's configuration. Loggers are organized into a hierarchy and give the programmer run-time control on which logging statements are printed or not.

Loggers are assigned levels through the configuration of log4net. A log statement is routed through to the appender depending on its level and its logger.

Back to Top

Why should I donate my extensions to log4net back to the project?

Contrary to the GNU Public License (GPL) the Apache Software License does not make any claims over your extensions. By extensions, we mean totally new code that invokes existing log4net code. You are free to do whatever you wish with your proprietary log4net extensions. In particular, you may choose to never release your extensions to the wider public. For details see the Apache License, Version 2.0.

We are very careful not to unnecessarily change the log4net client API so that newer log4net releases are backward compatible with previous versions. We are a lot less scrupulous with the internal log4net API. Thus, if your extension is designed to work with the internals of a specific log4net version, then when the next release of log4net comes out, you will probably need to adapt your proprietary extensions to the new release. Thus, you will be forced to spend precious resources in order to keep up with log4net changes. This is commonly referred to as the "stupid-tax". By donating the code and making it part of the standard distribution, you save yourself the unnecessary maintenance work.

If your extensions are useful then someone will eventually write an extension providing the same or very similar functionality. Your development effort will be wasted.

Unless the proprietary log4net extension is business critical, there is little reason for not donating your extensions back to the project.

Back to Top

What should I keep in mind when contributing code?

  1. Stick to the existing indentation style even if you hate it.

    Alternating between indentation styles makes it hard to understand the source code. Make it hard on yourself but easier on others.

  2. Thoroughly test your code.

    There is nothing more irritating than finding the bugs in debugging (i.e. logging) code.

  3. Keep it simple, small and fast.

    It's all about the application not about logging.

  4. Did I mention sticking with the indentation style?

Back to Top

How fast do bugs in log4net get fixed?

As fast as they get reported ;-)

Back to Top

What is the history of log4net?

log4net is a port of the popular log4j logging library. The initial port was done in June 2001, since then we have tried to remain in the spirit of the original log4j. See the log4net history page for more details.

Back to Top

Where can I find the latest distribution of log4net?

The log4net home page is a good place to start.

Back to Top

Configuration

How can I change log behavior at runtime?

Logging behavior can be set using configuration files which are parsed at runtime. Using configuration files the programmer can define loggers and set their levels.

Configuration files are specified in XML. See log4net.Config.XmlConfigurator for more details.

See the various log4net.Layout and log4net.Appender components for specific configuration options.

Back to Top

How do I completely disable all logging at runtime?

Setting the Threshold on the Hierarchy to Level OFF will disable all logging from that Hierarchy. This can be done in the log4net configuration file by setting the "threshold" attribute on the log4net configuration element to "OFF". For example:

<log4net threshold="OFF" />

Back to Top

What are the configurable options for an appender?

log4net uses public properties to configure components such as Appenders, Layouts, Loggers etc.

Thus, any writable public property in on the appender corresponds to a configurable option. For example, in RollingFileAppender the public int MaxSizeRollBackups { set; } property corresponds to the MaxSizeRollBackups option.

Layouts options are also defined by their writable properties. Same goes for most other log4net components.

Back to Top

Is it possible to direct log output to different appenders by level?

Yes it is. Setting the Threshold option of any appender extending AppenderSkeleton, (most log4net appenders extend AppenderSkeleton) will filter out all log events with a lower level than the value of the threshold option.

For example, setting the threshold of an appender to DEBUG will also allow INFO, WARN, ERROR and FATAL messages to log along with DEBUG messages. (DEBUG is the lowest level). This is usually acceptable as there is little use for DEBUG messages without the surrounding INFO, WARN, ERROR and FATAL messages. Similarly, setting the threshold of an appender to ERROR will filter out DEBUG, INFO and WARN messages but not ERROR or FATAL messages.

This policy usually best encapsulates what the user actually wants to do, as opposed to her mind-projected solution.

If you must filter events by exact level match, then you can attach a LevelMatchFilter to any appender to filter out logging events by exact level match.

Back to Top

Is there a way to get log4net to automatically reload a configuration file if it changes?

Yes. The XmlConfigurator supports automatic reloading through the ConfigureAndWatch APIs. See the API documentation for more details.

Back to Top

Can I load an appender from another assembly?

Yes. When specifying the type in the configuration file you can give the assembly qualified name of the type. For example:

<appender name="..." type="MyNamespace.MyAppender, MyAssembly">

The .NET runtime will try to locate the assembly called MyAssembly. How .NET locates assemblies is beyond the scope of this FAQ.

When loading an assembly from the GAC the fully qualified assembly name, including the version, culture and public key must be specified. This is in the standard syntax supported by System.Type.GetType. See the next FAQ on how to get the version and public key for an assembly.

Back to Top

How do I get the Public Key for an assembly?

The fully qualified name for an assembly includes the version, culture and public key. The public key is derived from the strong name used to identify the publisher. When referencing an assembly from the GAC the fully qualified name must be used. To get the version, culture and public key you can use a tool like the excellent .NET Reflector from Lutz Roeder available from http://www.aisto.com/roeder/dotnet.

Back to Top

How do I insert newlines into the layout header?

Newlines in the config file need to be escaped using an XML numeric character reference. The sequence that represents a CR LF is &#13; &#10;. The following example adds a header and footer to the output each followed by a newline.

<layout type="log4net.Layout.PatternLayout">
	<header value="[Header]&#13;&#10;" />
	<footer value="[Footer]&#13;&#10;" />
	<conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
</layout>

Back to Top

How do I use a pattern to set the value of a string property?

Log4net supports a pattern syntax for setting string properties similar to the PatternLayout used to format the output messages. This pattern syntax can be used by specifying type="log4net.Util.PatternString" on the string property in the config file. This tells the config parser to pass the value to the PatternString type before converting the result to a string. For details on the patterns supported see the PatternString SDK Reference.

The following example sets the file name for a FileAppender to include the current process id by specifying the %processid pattern in the File property.

<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
	<file type="log4net.Util.PatternString" value="log-file-[%processid].txt" />
	<layout type="log4net.Layout.PatternLayout" value="%date [%thread] %-5level %logger - %message%newline" />
</appender>

Back to Top

Implementing Logging

Are there any suggested ways for naming loggers?

Yes, there are.

You can name logging loggers by locality. It turns out that instantiating a logger in each class, with the logger name equal to the fully-qualified name of the class, is a useful and straightforward approach of defining loggers. This approach has many benefits:

  • It is very simple to implement.
  • It is very simple to explain to new developers.
  • It automatically mirrors your application's own modular design.
  • It can be further refined at will.
  • Printing the logger automatically gives information on the locality of the log statement.

However, this is not the only way for naming loggers. A common alternative is to name loggers by functional areas. For example, the "database" logger, "remoting" logger, "security" logger, or the "XML" logger.

You may choose to name loggers by functionality and subcategorize by locality, as in "DATABASE.MyApp.MyClass" or "DATABASE.MyApp.MyModule.MyOtherClass".

You are totally free in choosing the names of your loggers. The log4net package merely allows you to manage your names in a hierarchy. However, it is your responsibility to define this hierarchy.

Note: by naming loggers by locality one tends to name things by functionality, since in most cases the locality relates closely to functionality.

Back to Top

How do I get the fully-qualified name of a class in a static block?

You can easily retrieve the fully-qualified name of a class in a static block for class X, with the statement typeof(X).Name. Note that X is the class name and span an instance. However because the LogManager.GetLogger method is overloaded to take an instance of Type as well as string usually only the type of the class is required.

Here is the suggested usage template:

public class Foo
{
	private static readonly ILog log = LogManager.GetLogger(typeof(Foo));
	... other code
}

An equivalent and more portable solution, though slightly longer, is to use the declaring type of the static constructor.

public class Foo
{
	private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
	... other code
}

Note: the .NET Compact Framework 1.0 does not support System.Reflection.MethodBase.GetCurrentMethod().

Back to Top

What is the fastest way of (not) logging?

For some logger log, writing,

log.Debug("Entry number: " + i + " is " + entry[i]);

incurs the cost of constructing the message parameter, that is converting both integer i and entry[i] to a string, and concatenating intermediate strings. This, regardless of whether the message will be logged or not.

If you are worried about speed, then write

if(log.IsDebugEnabled) 
{
	log.Debug("Entry number: " + i + " is " + entry[i]);
}

This way you will not incur the cost of parameter construction if debugging is disabled for logger log. On the other hand, if the logger is debug enabled, you will incur the cost of evaluating whether the logger is enabled or not, twice: once in IsDebugEnabled and once in Debug. This is an insignificant overhead since evaluating a logger takes less than 1% of the time it takes to actually log a statement.

Back to Top

What is REALLY the FASTEST way of (not) logging?

So you don't think that the previous FAQ is really the fastest way of not logging? Well there is a faster way but it does have some drawbacks. Starting from:

if(log.IsDebugEnabled) 
{
	log.Debug("Entry number: " + i + " is " + entry[i]);
}

It is possible to further eliminate the calls to IsDebugEnabled so that the call is only made once per logger. If you are using one logger for each class then you can store the enabled state for the logger in a static variable in the class and then test against this variable:

public class FastLogger
{
	private static readonly ILog log = LogManager.GetLogger(typeof(FastLogger));
	private static readonly bool isDebugEnabled = log.IsDebugEnabled;

	public void MyMethod()
	{
		if(isDebugEnabled) 
		{
			log.Debug("Entry number: " + i + " is " + entry[i]);
		}
	}
}

So why exactly is this faster? Well to start with the IsDebugEnabled is not called for each log statement, it is called once per logger. Furthermore as the isDebugEnabled variable is private static readonly the JIT compiler can at run-time optimize out the if test altogether. This means that at runtime the JIT compiler won't even compile the logging statements into native code, i.e. all the logging just disappears.

So what is the downside to using this? Well one of the clever features of log4net is that you can change the logging configuration while your program is running. If you need to investigate an issue in your application, you don't have to stop the application, setup the logging and restart the application, you can change the logging configuration and the log4net will reload it (see XmlConfigurator.ConfigureAndWatch APIs for more information). However if the JIT has compiled out all of the logging statements then they are gone and you can't get them back by reloading the configuration file. Effectively this means that the logging configuration can only be set when the application loads and it cannot be changed at runtime. It is up to you to decide if you need ultimate speed or need to be able to reload the logging configuration while the application is running.

Back to Top

Can the outputs of multiple client request go to different log files?

Many developers are confronted with the problem of distinguishing the log output originating from the same class but different client requests. They come up with ingenious mechanisms to fan out the log output to different files. In most cases, this is not the right approach.

It is simpler to use a context property or stack (ThreadContext). Typically, one would ThreadContext.Properties["ID"] = "XXX" client specific information, such as the client's hostname, ID or any other distinguishing information when starting to handle the client's request. Thereafter, log output will automatically include the context data so that you can distinguish logs from different client requests even if they are output to the same file.

See the ThreadContext and the PatternLayout classes for more information.

Back to Top

Logger instances seem to be create only. Why isn't there a method to remove logger instances?

It is quite nontrivial to define the semantics of a "removed" logger which is still referenced by the user.

Back to Top

How do I get multiple process to log to the same file?

By default the FileAppender holds an exclusive write lock on the log file while it is logging. This prevents other processes from writing to the file. The FileAppender can be configured to use a different locking model, MinimalLock, that only acquires the write lock while a log is being written. This allows multiple processes to interleave writes to the same file, albeit with a loss in performance. See the FileAppender config examples for an example MinimalLock configuration.

While the MinimalLock model may be used to interleave writes to a single file it may not be the optimal solution, especially when logging from multiple machines. Alternatively you may have one or more processes log to RemotingAppenders. Using the RemoteLoggingServerPlugin (or IRemoteLoggingSink) a process can receive all the events and log them to a single log file.

Back to Top

If I have many processes across multiple hosts (possibly across multiple time zones) logging to the same file using the RemotingAppender, what happens to timestamps?

The timestamp is created when the logging event is created. That is so say, when the Debug, Info, Warn, Error or Fatal method is invoked. This is unaffected by the time at which they may arrive at a remote server. Since the timestamps are transmitted in UTC format by the RemotingAppender, they all appear in the same time zone as the host creating the logfile. Since the clocks of various machines may not be synchronized, this may account for time interval inconsistencies between events generated on different hosts.

Back to Top

When should I log my first message?

The simple answer is as soon as possible. The long answer is more complex.

If you are configuring log4net programmatically, i.e. by calling the XmlConfigurator.Configure method then you should do so before you begin logging and it is reasonable to do this very soon after application start.

If you are configuring log4net by specifying assembly level attributes on your assembly then the configuration will be loaded once the first call to the LogManager.GetLogger is made. It is necessary that the first call to LogManager.GetLogger made during the process (or AppDomain) is made from the assembly that has the configuration attributes. Log4net will look only once and only on the first calling assembly for the configuration attributes.

Back to Top

Customization

Can the log output format be customized?

Yes. You can implement the log4net.Layout.ILayout interface to create you own customized log format, or you can extend the LayoutSkeleton class which provides a default implementation of the ILayout interface. Appenders can be parameterized to use the layout of your choice.

Back to Top

Can I write a custom appender?

Yes. You can implement the log4net.Appender.IAppender interface to create you own customized appender. We recommend that you extend the log4net.Appender.AppenderSkeleton class rather than starting from scratch. You should implement your custom code in a assembly separate from the log4net assembly. To get started it is worth looking at the source of the log4net.Appender.TraceAppender as an example of the minimum amount of code required to get an appender working.

To configure log4net to use your custom appender you need to specify the assembly qualified name of the appender type in the config file. For example:

<appender name="..." type="MyNamespace.MyAppender, MyAssembly">

The .NET runtime will try to locate the assembly called MyAssembly. How .NET locates assemblies is beyond the scope of this FAQ.

Back to Top

Troubleshooting

How do I enable log4net internal debugging?

There are 2 different ways to enable internal debugging in log4net. These are listed below. The preferred method is to specify the log4net.Internal.Debug option in the application's config file.

  • Internal debugging can also be enabled by setting a value in the application's configuration file (not the log4net configuration file, unless the log4net config data is embedded in the application's config file). The log4net.Internal.Debug application setting must be set to the value true. For example:

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    	<appSettings>
    		<add key="log4net.Internal.Debug" value="true"/>
    	</appSettings>
    </configuration>

    This setting is read immediately on startup an will cause all internal debugging messages to be emitted.

  • To enable log4net's internal debug programmatically you need to set the log4net.Util.LogLog.InternalDebugging property to true. Obviously the sooner this is set the more debug will be produced.

Internal debugging messages are written to the console and to the System.Diagnostics.Trace system. If the application does not have a console the messages logged there will be lost. Note that an application can redirect the console stream by setting the System.Console.Out. The Trace system will by default send the message to an attached debugger (where the messages will appear in the output window). If the process does not have a debugger attached then the messages are sent to the system debugger. A utility like DebugView from http://www.sysinternals.com may be used to capture these messages.

As log4net internal debug messages are written to the System.Diagnostics.Trace system it is possible to redirect those messages to a local file. You can define a trace listener by adding the following to your application's .config file:

<configuration>
	...
	
	<system.diagnostics>
		<trace autoflush="true">
			<listeners>
				<add 
					name="textWriterTraceListener" 
					type="System.Diagnostics.TextWriterTraceListener" 
					initializeData="C:\tmp\log4net.txt" />
			</listeners>
		</trace>
	</system.diagnostics>

	...
</configuration>

Make sure that the process running your application has permission to write to this file.

Back to Top

Why doesn't the EventLogAppender work?

If you are not getting events delivered to the event log this usually indicates a permissions problem. Basically if the event log does not exist the EventLogAppender tries to create it, but you need local administrator permissions to create event logs (just to write into the right bit of the registry). You don't need administrator permissions to log to an existing event log, but it must exist. If you are using the event log from a web application or service using the event log can be a little tricky.

A web application will run as the user account ASPNET. This account deliberately has few permissions to reduce the chances of someone hacking into the web server. While the account has permission to write to the event log it does not have permission to create event sources (registry create and write access), which are needed to write to the event log.

There are a couple of solutions:

  1. Make the ASPNET user a member of the Administrators group. This will work because the user will then have the required permissions. This is not recommended for production use.

  2. As the event source only needs to be created once for the machine, create an installer and configure it to create the event source. The installer will need to be run as Administrator (don't they all). See System.Diagnostics.EventLogInstaller in the Microsoft .NET Framework SDK for an example of how to create a simple event log installer.

There is a Microsoft Knowledge Base article that covers this issue and how to resolve it. PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the EventLog.

Back to Top

Why can't I log to a FileAppender from a web application?

The web application runs as a special user account on the web server called ASPNET. This account has restricted permissions to protect the web server from attacks. By default this account may not have permission to write to the file system. Make sure that the ASPNET account has permission to create and write to files in the directory chosen for logging.

Back to Top

Why doesn't the logging in my service work?

A windows service runs as a user account specified in the services control panel. This account may have restricted permissions, make sure that the account has permission to create and write to files in the directory chosen for logging.

A windows service is launched by windows. The current directory in a service is set to the windows system directory (e.g. C:\Windows\System32). If you are loading the configuration file from the current directory then be aware that this path will not be the location of your assemblies. The best way to get the path to your assemblies is to use AppDomain.BaseDirectory. Note that the log4net internals never use the current directory.

Back to Top

I am having trouble using the AdoNetAppender to connect to my database?

For details on the different ways in which ADO.NET can connect to a database see: Connecting to a Data Source Using ADO.NET.

If you need to use ODBC to connect to your database then please note that the ADO.NET ODBC drivers are not included in the standard .NET framework redistributable. You can download the drivers from microsoft download at: ODBC .NET Data Provider.

Back to Top

How do I report bugs?

See the support page for details.

Back to Top

Miscellaneous

How do I make log4net appear in the Visual Studio Add References dialog?

There is a good discussion of this topic on Robert McLaws blog: Building a Better Server Control Experience, Part 2.

Back to Top

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/howto/0000755000175000017500000000000010772404056015545 5ustar slomoslomolog4net-1.2.10/doc/release/howto/chainsaw.html0000644000175000017500000002527610412737252020242 0ustar slomoslomo log4net - How To view logging events using Apache log4j Chainsaw

How To view logging events using Apache log4j Chainsaw

Contents

Apache log4j includes Chainsaw a graphical log viewer.

Chainsaw can either receive and display log events in realtime over the network, or it can load a previously created log file.

Before Chainsaw can display data, one or more receivers must be setup. This is usually done by specifying an xml config file when the program first starts up.
Save one or more of the sample xml config files to your local system and load them when Chainsaw starts.

Logging via UDP

log4net can be configured to log messages via UDP in such a way that Chainsaw can receive and display them.

log4net UDP Configuration

Configure log4net to use a UdpAppender with the following config snippet:

<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
	<remoteAddress value="127.0.0.1" />
	<remotePort value="8080" />
	<layout type="log4net.Layout.XmlLayoutSchemaLog4j">
		<locationInfo value="true" />
	</layout>
</appender>

Chainsaw UDP receiver Configuration

Chainsaw should be configured to start a UDPReceiver using the following configuration document:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> 
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">    
	<plugin name="UDPReceiver" class="org.apache.log4j.net.UDPReceiver">
		<param name="Port" value="8080" />
	</plugin>    
</log4j:configuration>

Logging to XML file

Chainsaw can also load an XML log file if it is formatted according to the log4j schema. Use the following log4net config to output to file using the log4j schema:

<appender name="FileAppender" type="log4net.Appender.FileAppender">
	<file value="log-file.txt" />
	<appendToFile value="true" />
	<layout type="log4net.Layout.XmlLayoutSchemaLog4j">
		<locationInfo value="true" />
	</layout>
</appender>

To load the file into Chainsaw drag the file into the Chainsaw app and drop it on the tab labeled Drag & Drop log files here.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/howto/index.html0000644000175000017500000001520110412737252017537 0ustar slomoslomo log4net - log4net How Tos

log4net How Tos

Below are presented, in no particular order, a series of documents on how to get stuff done.

New documents can be contributed via the issue tracking system. See the Contributing page for details.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/release/framework-support.html0000644000175000017500000006467710412737254021026 0ustar slomoslomo log4net - log4net Supported Frameworks

log4net Supported Frameworks

Contents

Summary of .NET frameworks supported by log4net

log4net is built on a number of different frameworks. Each new version of the frameworks add new features. To take advantage of these new features we must build log4net using the appropriate framework. We also maintain builds compatible with older versions of the frameworks.

It is important to remember that the .NET frameworks support backward compatibility, that is a new version of the framework will run binary assemblies that were targeted to previous versions of the framework.

While the number of different builds available may seem confusing, you only need to select the nearest build for your platform that is equal to or earlier than your chosen deployment framework. If you intend to deploy your application on the Microsoft .NET Framework 1.0 don't pick the log4net build that is built against the Microsoft .NET Framework 1.1 because the .NET framework does not guarantee forward compatibility only backward compatibility.

The lowest common denominator build is the CLI 1.0 Compatible build. This build is compatible with the ECMA/ISO CLI 1.0 standard APIs and will run on all frameworks that support the standard. (Note that the Microsoft .NET Compact Framework does not support this standard). Use this build if you intend to deploy you application on both the Microsoft .NET Frameworks and the Mono frameworks.

log4net now builds on 6 frameworks:

Framework Website
Microsoft .NET Framework 1.0 (1.0.3705) http://msdn.microsoft.com/net
Microsoft .NET Framework 1.1 (1.1.4322) http://msdn.microsoft.com/net
Microsoft .NET Framework 2.0 (2.0.50727) http://msdn.microsoft.com/net
Microsoft .NET Compact Framework 1.0 (1.0.5000) http://msdn.microsoft.com/vstudio/device/compactfx.asp
Mono 1.1.13 http://www.mono-project.com
Microsoft Shared Source CLI 1.0 http://msdn.microsoft.com/library/en-us/dndotnet/html/mssharsourcecli.asp
CLI 1.0 Compatible http://msdn.microsoft.com/net/ecma/

For each of these frameworks a log4net assembly targeting the framework is supplied. Although it's perfectly possible to use the .NET Framework 1.0 version of log4net on the .NET Framework 1.1, having an assembly that really targets a specific framework allows us to use features in that framework that are not available in other frameworks or remove features from log4net that are not supported in a specific framework.

Appenders

The appenders available to each framework depend on the functionality of the framework and the platform it runs on:

Appender .NET Framework 1.0 .NET Framework 1.1 .NET Framework 2.0 .NET Compact Framework 1.0 Mono 1.1 Shared Source CLI 1.0 CLI 1.0 Compatible
AdoNetAppender x x x x x x
AnsiColorTerminalAppender x x x x x x x
AspNetTraceAppender x x x x x
BufferingForwardingAppender x x x x x x x
ColoredConsoleAppender x x x
ConsoleAppender x x x x x x x
DebugAppender x x x x x x x
EventLogAppender x x x x x
FileAppender x x x x x x x
ForwardingAppender x x x x x x x
LocalSyslogAppender x x x x x
MemoryAppender x x x x x x x
NetSendAppender x x x
OutputDebugStringAppender x x x x
RemoteSyslogAppender x x x x x x x
RemotingAppender x x x x x x
RollingFileAppender x x x x x x x
SmtpAppender x x x x x
SmtpPickupDirAppender x x x x x x x
TelnetAppender x x x x x x x
TraceAppender x x x x x x x
UdpAppender x x x x x x x

Framework Specific Notes

Microsoft .NET Framework 1.0 (1.0.3705)

none

Microsoft .NET Framework 1.1 (1.1.4322)

none

Microsoft .NET Framework 2.0 (2.0.50727)

none

Microsoft .NET Compact Framework 1.0 (1.0.5000)

  • Assembly attributes

    The .NET Compact Framework 1.0 does not support retrieving assembly level attributes, therefore all log4net configuration attributes were removed from the .NET Compact Framework 1.0 version of log4net.

    For Smart-device applications, the log4net system can be configured by passing the location of the log4net configuration file to the log4net.Config.XmlConfigurator.Configure(FileInfo) method in the entry point of the application.

    For example:

    namespace TestApp
    {
    	using System.IO;
    
    	public class EntryPoint
    	{
    		/// <summary>
    		/// Application entry point.
    		/// </summary>
    		public static void Main() 
    		{
    			// Uncomment the next line to enable log4net internal debugging
    			// log4net.Util.LogLog.InternalDebugging = true;
    
    			// This will instruct log4net to look for a configuration file
    			// called config.log4net in the root directory of the device
    			log4net.Config.XmlConfigurator.Configure(new FileInfo(@"\config.log4net"));
    
    			...
    			
    			// This will shutdown the log4net system
    			log4net.LogManager.Shutdown();
    		}
    	}
    }						
    							
  • Notification events

    The .NET Compact Framework 1.0 does not support notification events during the application shutdown, therefore log4net cannot automatically hook the application shutdown notification.

    Applications will need to programmatically shutdown the log4net system during the application's shutdown using the log4net.LogManager.Shutdown() method in order to prevent losing logging events. See the code above for an example.

  • FileSystemWatcher

    The .NET Compact Framework 1.0 does not support the System.IO.FileSystemWatcher class. As a result, the XmlConfiguratorAttribute.Watch property and the XmlConfigurator.ConfigureAndWatch methods are not available. Watching changes to the log4net configuration file is not supported on the .NET Compact Framework 1.0.

  • UserName

    The .NET Compact Framework 1.0 does not support the System.Security.Principal.WindowsIdentity class. This is used to capture the current thread's user identity. Therefore the LoggingEvent.UserName property will return the value "NOT AVAILABLE".

  • Identity

    The .NET Compact Framework 1.0 does not support the System.Security.Principal.IPrincipal interface. This is used to capture the current thread's user identity. Therefore the LoggingEvent.Identity property will return the value "NOT AVAILABLE".

  • Environment variables

    The .NET Compact Framework 1.0 does not support retrieving environment variables, therefore it's not possible to substitute environment variables in parameter values when using the .NET Compact Framework 1.0 version of log4net.

  • Serialization

    The .NET Compact Framework 1.0 does not support serialization, therefore none of the log4net classes in the .NET Compact Framework 1.0 version are serializable.

  • LoggingEvent.Domain

    The .NET Compact Framework 1.0 does not support AppDomain functionality. The friendly name for the current AppDomain is stored in the LoggingEvent.Domain property and is accessed using the %a pattern of the PatternLayout. On the .NET Compact Framework 1.0 this value is generated by taking the file name for the application's primary module.

Mono

There are 2 separate builds of log4net for mono; Mono 1.0, built using the C# compiler in a mode which is compatible with the CLI 1.0 language specification, and; Mono 2.0, built using the .NET 2.0 extensions to the C# language.

Mono 1.0

none

Mono 2.0

none

Microsoft Shared Source CLI 1.0

  • FileSystemWatcher

    SSCLI 1.0 does not support the System.IO.FileSystemWatcher class. As a result, the XmlConfiguratorAttribute.Watch property and the XmlConfigurator.ConfigureAndWatch methods are not available. Watching changes to the log4net configuration file is not supported on SSCLI 1.0.

  • UserName

    SSCLI 1.0 does not support the System.Security.Principal.WindowsIdentity class. This is used to capture the current thread's user identity. Therefore the LoggingEvent.UserName property will return the value "NOT AVAILABLE".

  • Identity

    SSCLI 1.0 does not support the System.Security.Principal.IPrincipal interface. This is used to capture the current thread's user identity. Therefore the LoggingEvent.Identity property will return the value "NOT AVAILABLE".

CLI 1.0 Compatible

This build of log4net is designed to run on any ECMA CLI 1.0 compatible runtime. The assembly does not support any platform specific features. The build includes the common subset of functionality found in the .NET 1.0 and Mono 1.0 builds. The output assembly is built using the Microsoft .NET 1.0 compiler and library.

The log4net CLI 1.0 assembly is runtime compatible with the following frameworks:

  • Microsoft .NET Framework 1.0 (and higher)
  • Mono 1.0 (and higher)

Only a Release build is generated for this configuration because the assembly debugging information has not been standardized.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/roadmap.html0000644000175000017500000001467110412737254015307 0ustar slomoslomo log4net - log4net Development Roadmap

log4net Development Roadmap

The log4net development roadmap is managed by our JIRA issue tracking system.

For a list of upcoming fixes and in-progress tasks see:

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/css/0000755000175000017500000000000010772404056013555 5ustar slomoslomolog4net-1.2.10/doc/css/style.css0000644000175000017500000000607510412737254015437 0ustar slomoslomobody { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; background: white; color: black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; width: 100%; } h1, h2, h3, h4, h5 { margin-bottom: .8em; margin-top: 1em; } h1 { /*font-size: 120%;*/ font-size: 20px; margin-top: 0em; } h2 { /*font-size: 115%;*/ font-size: 15px; } h3 { /*font-size: 105%;*/ font-size: 13px; } h4 { /*font-size: 95%;*/ font-size: 11px; } h5 { /*font-size: 85%;*/ font-size: 9px; } div.table { text-align: center; } .table table { font-size: 100%; border-collapse: collapse; width: 90%; } .table th { background-color: #cccccc; color: black; font-weight: bolder; padding: 5px; border: 1px solid #999999; } .table tr { background-color: inherit; color: black; padding: 5px; text-align: left; border: 1px solid #999999; } .table td { border: 1px solid #999999; padding: 5px; } p { margin: .5em 0em .5em 0em; } pre { margin-top: .5em; margin-bottom: .5em; font-size: 11px; } pre.code { font-family: Monospace, Courier New, Courier; background-color: inherit; color: black; font-size: 100%; margin-left: 20px; } span.code { font-family: Monospace, Courier New, Courier; background-color: inherit; /* color: #0000EE; */ color: #101080; font-size: 100%; } .syntax { font-family: Monospace, Courier New, Courier; letter-spacing: .1em; background-color: #f5f5ff; color: white; font-size: 100%; font-weight: inherit; padding: 5px; border: 1px solid #999999; margin-left: 20px; padding: 4px 8px; margin-top: 1em; margin-bottom: 1em; width: 95%; } .rule dt { font-weight: bolder; } .rule { background-color: #f5f5f5; color: black; font-size: 100%; padding: 5px; border: 1px solid #999999; margin-left: 30px; padding: 4px 8px; margin-top: 1em; margin-bottom: 1em; width: 90%; } .i1 { margin-left: 20px; } .i2 { margin-left: 40px; } .i3 { margin-left: 60px; } div#header { width: 100%; margin: 0px 0px 0px 0px; border-width: 0px; border-bottom: 1px solid #999999; padding: 0px 0px 0px 0px; background-color: #99ccff; color: black; } div#header h1 { margin: 0px 0px 0px 0px; border-width: 0px; padding: 0 .4em .3em .4em; background-color: #99ccff; color: black; } div#footer { font-size: 100%; font-style:italic; border-top: 1px solid #999999; margin-left: 20px; margin-top: 1em; margin-bottom: 1em; width: 96%; } div#content { margin: 0px 0px 0px 0px; padding: 4px 4px 4px 4px; } a:link { color: #0000ff; background-color: inherit; } a:visited { color: #0000ff; background-color: inherit; } a:hover { color: #3366ff; background-color: inherit; } /* Override site.css */ .centercol { margin-left: 190px; margin-right:20px; max-width: 100%; } .leftcol { width: 160px; } .menu_header, .menu_item { font-size: inherit; } .menu_item:hover { background: #EEEEEE; } log4net-1.2.10/doc/css/site.css0000644000175000017500000000447210412737254015242 0ustar slomoslomo H1, H2, H3 { color: #101099; } A:link, A:visited { text-decoration: none; color: #006699; } A:link:hover { text-decoration: underline; } .centercol { margin-top: 120px; margin-left: 210px; margin-right:210px; max-width: 800px; } .leftcol { position: absolute; left: 10px; top: 130px; width: 190px; } .banner { position: absolute; left: 10px; top: 10px; height: 130px; width: 1000px; } .menu_header, .menu_item { /* width: 190px; */ font-family: "trebuchet MS", Arial, Helvetica, sans-serif; font-size: smaller; } .menu_header { border:1px solid #AAAAAA; background: #CCCCCC; padding-left: 1ex; } .menu_item:hover { background: #DDD; } .menu_item { background: #EEEEEE; padding-left: 2ex; border-top: 0px solid #AAAAAA; border-right: 1px solid #AAAAAA; border-bottom:1px solid #AAAAAA; border-left: 1px solid #AAAAAA; } .source { border-top: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; background:#eee; font-family: Courier, "MS Courier New", Prestige, Everson Monocourrier, monospace; font-size: smaller; padding-bottom: 0.5ex; padding-top: 0.5ex; padding-left: 2ex; } table.ls { background: #FFFFFF; } table.ls td { background: #f4f4f4; vertical-align: top; padding-bottom: 1ex; } table.ls th { background: #E4E4E4; } .index-faqSection { font-size: larger; padding-left: 0em; font-weight: bolder; } .index-question { padding-left: 1em; } .faqSection { font-size: larger; font-weight: bolder; } .question { font-weight: bolder; } /* this class is used for screen output placed in
 tags */
.screen_output {
  padding-left:  1em;
  padding-right: 1em;
  border-top:   1px solid #AAAAAA;
  border-right: 1px solid #AAAAAA;
  border-bottom:1px solid #AAAAAA;
  border-left:  1px solid #AAAAAA;
}


.big {
  font-size: larger;
  font-weight: bold;
}

.small {
  font-size: smaller;
}

.red {
  color: #AA0000;
}

.msg_title {
  padding-left:  1ex;
  padding-right: 1ex;
  font-family: Courier, "MS Courier New", Prestige, Everson Monocourrier, monospace;
  border:   1px solid #AAAAAA;
  background: #DDDDFF;

}

.msg_meaning {
  padding-left:  1em;
  padding-right: 1em;
}
log4net-1.2.10/doc/index.html0000644000175000017500000002306310412737254014766 0ustar  slomoslomo




    
    

        

    
    
    
    
    
        
            

                                                    
            
            
           
                                     
 
                         
            
            
							
			
            log4net - log4net Project
            
                    

               
            
                             
               


	   

About log4net

Introduction

log4net is a tool to help the programmer output log statements to a variety of output targets. log4net is a port of the excellent log4j framework to the .NET runtime. We have kept the framework similar in spirit to the original log4j while taking advantage of new features in the .NET runtime. For more information on log4net see the features document.

log4net is part of the Apache Logging Services project. The Logging Services project is intended to provide cross-language logging services for purposes of application debugging and auditing.

Project Status

log4net is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Logging Services project. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Contributors

Active Committers

  • Nicko Cadell

  • Niall Daley

  • Gert Driesen

  • Ron Grabowski

Community Contributors

  • Julian Biddle

  • Daniel Cazzulino

  • Aspi Havewala

  • Rick Hobbs

  • Lance Nehring

  • Angelika Schnagl

  • Edward Smit

  • Douglas de la Torre

  • Thomas Voss

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/contributing.html0000644000175000017500000005507210412737254016373 0ustar slomoslomo log4net - Contributing to log4net Development

Contributing to log4net Development

Contents

Developer Mailing List

All discussion relating to log4net development takes place on this list. All SVN checkin notifications are also copied to this list.

Mailing List Archives

You can browse the mailing list archives at the following locations:

Subscribe

Subscribe to either the list or to the digest list:

Unsubscribe

To unsubscribe send an email to the relevant email address:

Posting

Most of the guidelines for the log4net-user list also apply to the dev list. Please have a quick read through the guidelines, thanks.

To prevent spam, we require you to be subscribed to the list before posting to it.

This is the log4net developer list, it holds discussions relating to the development of log4net not the use of log4net. If you have a question that begins with the word "How" or you are unsure as the the appropriate list to post to then you probably want to start with the log4net-user list.

Post to the list by sending mail to log4net-dev@logging.apache.org.

Source Access

The source for log4net is held in the Apache Subversion source code control repository.

Browsing SVN

Browse log4net SVN repository using ViewCVS.

Anonymous SVN Access

Anyone can checkout source code from our anonymous SVN server. To do so, simply use the following command (if you are using a GUI SVN client, configure it appropriately).

Checkout the logging/log4net module.

svn checkout http://svn.apache.org/repos/asf/logging/log4net/trunk log4net

If you are not familiar with SVN, the Apache Source Code Repositories page has links to more information on SVN.

Issue Tracking

Many bugs reported end up not being a bug in the log4net code, but are due to incorrect configuration, problems caused by installed applications, the operating system, etc.

Before reporting a bug please make every effort to investigate and resolve the problem yourself. Just reporting a bug will not fix it. A good bug report includes a detailed description of the problem and a succinct test case which can reproduce the problem.

Before reporting an issue please investigate the following information sources for a potential resolution.

Before reporting a bug, you are advised to discuss it on the relevant mailing list first.

Search the bug database to see if the bug you are seeing has already been reported. If it has been reported then you can vote for the issue.

Reporting an Issue

If after you have exhausted all other resources to resolve a problem you may want to file a bug report. Please make sure the problem is a bug in Logging and not a bug in your application.

Please make sure you provide as much information as possible. Its very hard to fix a bug if the person looking into the problem can't reproduce it. Here is a listing of information which should be included:

  • Version - log4net version, or if from a nightly build, version and date of build.
  • Application Type - Assembly type, i.e. exe or dll, and how your code is launched, e.g. console application, windows application, ASP.NET project, COM+ hosted object, etc...
  • Framework - The .NET framework running the application, name (e.g. MS .NET, Mono, SSCLI) and version.
  • Platform - Computer operating system, version, and hardware platform in use.
  • Configuration - Attach configuration files if they would help track down the bug.
  • Log Files - Review your logs files, produced with internal log4net debug enabled. Submit any relevant sections of the log which help document the bug.
  • Stack Traces - Any stack traces generated by the bug, if any.
  • Example - Example configuration files or web applications which demonstrate the bug. When submitting an example which reproduces the bug, please try to make it as simple as possible.
  • Bug Fix Patch - A patch created using diff -u which fixes the bug. (If you have found a bug fix which can be applied to the code).
  • Description of the Bug - A description of the bug, include observed as well as expected behavior.
  • Miscellaneous - Any other information you feel will help track down the problem.

Just reporting a bug will not fix it. A good bug report includes a detailed description of the problem and a succinct test case which can reproduce the problem. The very best sort of report includes an NUnit testcase which reproduces the issue, this means that we can fix it and that we can be sure that it stays fixed in future!

Report a log4net issue here. You will need to login to JIRA before you can submit an issue.

Contributing Patches

Before starting to work on a patch it is probably a good idea to join the log4net-dev mailing list to check that equivalent or complementary work is not already underway.

Currently the only supported way of submitting patches to log4net is via the JIRA issue tracking system.

The preferred method of generating a patch is a unified context diff against the latest development version in SVN. To do this you should do the following:

  • Get the latest version of the code from SVN, see the section above on Anonymous SVN Access for details on how to obtain the SVN version.

  • Make your code changes to the log4net source. Please follow existing code styles where possible. If adding new API methods or classes then these should be appropriately documented with code comments. Contributions intended for inclusion in ASF products must be licensed to ASF under the terms of the Apache Software License.

  • Generate a unified context diff for the files you have changed. Run the svn diff > patch-file command from the root of the log4net codebase to generate a diff file.

  • If you have added new files these will not be included in the diff. You will need to attach these files separately.

If you are not using SVN then you can still generate a unified context diff using the diff GNU tool with the -u command line options. The GNU tools are available for Windows as part of the Cygwin package.

If you are unable to generate a diff please submit each file separately and place block comments around each code change to highlight the differences.

In order to submit your patch please follow the following steps:

  • Create a new issue for your patch. On the log4net issues home page select the Create New Issue from the menu bar. You will need to be logged into JIRA in order to create an issue.

  • Select the issue type as appropriate.

  • Prefix the summary with [PATCH]. Enter a description of the changes made, new features, or bug fixes in your patch.

  • Once the issue has been created you can attach your patch file to the issue by selecting the Attach file to this issue operation from the left hand menu. When attaching your patch you must select the Grant license to ASF for inclusion in ASF works option. When attaching a patch please include in the description the baseline version of log4net you used to build your patch, if against an SVN version please include the version number and if from a tag or branch include the repository path.

  • If you have other files to attach, e.g. you have added new files to log4net, then attach each file separately. Please include in the description the name of the file attached and the path it should live in the project.

A notification will be sent to the log4net-dev list once you have created your issue, however it may also be worth mailing the log4net-dev list to encourage the project committers to apply your patch, or at least find out when they may do so.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/support.html0000644000175000017500000003401510412737254015372 0ustar slomoslomo log4net - log4net Support

log4net Support

log4net user support is provided via a mailing list. Discussion on log4net is held on the log4net-user mailing list. Please search the archives before posting because it is likely that your question has been answered before.

Mailing List Archives

You can browse the mailing list archives at the following locations:

Subscribe

Subscribe to either the list or to the digest list:

Unsubscribe

To unsubscribe send an email to the relevant email address:

Posting

Before posting please read the following guidelines:

  • Ask smart questions
    Every volunteer project obtains its strength from the people involved in it. You are welcome to join any of our mailing lists. You can choose to lurk, or actively participate; it's up to you. The level of community responsiveness to specific questions is generally directly proportional to the amount of effort you spend formulating your question. Eric Raymond and Rick Moen have even written an essay entitled "Asking Smart Questions" precisely on this topic.

  • Keep your email short and to the point
    If your email is more than about a page of text, chances are that it won't get read by very many people. It is much better to try to pack a lot of informative information (see above about asking smart questions) into as small of an email as possible. If you are replying to a previous email, it is a good idea to only quote the parts that you are replying to and to remove the unnecessary bits. This makes it easier for people to follow a thread as well as making the email archives easier to search and read.

  • Do your best to ensure that you are not sending HTML or "Stylelized" email to the list
    If you are using Outlook or Outlook Express or Eudora, chances are that you are sending HTML email by default. There is usually a setting that will allow you to send "Plain Text" email. If you are using Microsoft products to send email, there are several bugs in the software that prevent you from turning off the sending of HTML email. Please read this page as well.

  • Watch where you are sending email
    Our mailing lists have set the Reply-To to go back to the list. That means that when you Reply to a message, it will go to the list and not to the original author directly. The reason is because it helps facilitate discussion on the list for everyone to benefit from. Be careful of this as sometimes you may intend to reply to a message directly to someone instead of the entire list.

    The appropriate contents of the Reply-To header is an age-old debate that should not be brought up on the mailing lists. You can examine opposing points of view condemning our convention and condoning it. Bringing this topic up for debate again on a mailing list will add nothing new and is considered off-topic.

  • Do not cross post messages
    In other words, pick a mailing list and send your messages to that mailing list only. Do not send your messages to multiple mailing lists. The reason is that people may be subscribed to one list and not to the other. Therefore, some people will only see part of the conversation.

Where relevant please try to include the following information in your postings.

  • Specify the version of log4net you are using.

  • Specify what your assembly type is, i.e. exe or dll, and how your code is launched, e.g. console application, windows application, ASP.NET project, COM+ hosted object, etc...

  • Specify which runtime platform (e.g. MS .NET, Mono, SSCLI) you are using and which version.

  • If you are having configuration issues then include logging configuration files if any, plus source code.

  • If possible please reproduce your issue with the internal log4net debugging enabled. Include this debug output in your post, it is usually the first thing we ask for in diagnosing issues.

  • If you think you have found a bug then a short example reproducing the problem is very much appreciated.

To prevent spam, we require you to be subscribed to the list before posting to it.

Ask questions and report bugs via email to the log4net-user@logging.apache.org mailing list.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/doc/history.html0000644000175000017500000001605010412737254015356 0ustar slomoslomo log4net - log4net Project History

log4net Project History

The log4net project was started by NeoWorks Limited in June 2001. It was created as an internal project within Neoworks to port the Apache log4j code base to the Microsoft .NET Framework. The code base was initially branched from a pre-alpha log4j 1.2.

In July 2001 a Sourceforge project was started and log4net was published under the Apache Software License. The first public release of log4net was made in September 2001. A further 10 releases were made on the sourceforge site.

In December 2003 the Apache Logging Services project was created. In February 2004 log4net was donated by Neoworks to the Apache Software Foundation to become a member of the Logging Services project.

The log4net project is currently incubating at Apache. The incubation project mentor is Mark Womack.

 

Copyright © 2004-2006, Apache Software Foundation
log4net-1.2.10/log4net.include0000644000175000017500000005126510412737276015156 0ustar slomoslomo log4net-1.2.10/README.txt0000644000175000017500000000144210412737276013723 0ustar slomoslomoProject Status ============== log4net is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Logging Services project. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. Documentation ============= For local documentation, which is correct for this release see: doc/index.html For the latest documentation see the log4net web site at: http://logging.apache.org/log4net log4net-1.2.10/NOTICE.txt0000644000175000017500000000114210412737276013744 0ustar slomoslomo ** ** NOTICE file corresponding to the section 4 (d) of the Apache License, ** Version 2.0, in this case for the Apache log4net distribution. ** This product includes software developed by The Apache Software Foundation (http://www.apache.org/). Please read the LICENSE files present in the root directory of this distribution. The names "log4net" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. log4net-1.2.10/log4net.build0000644000175000017500000014313310412737276014626 0ustar slomoslomo log4net-1.2.10/examples/0000755000175000017500000000000010772404057014037 5ustar slomoslomolog4net-1.2.10/examples/sscli/0000755000175000017500000000000010772404057015154 5ustar slomoslomolog4net-1.2.10/examples/sscli/1.0/0000755000175000017500000000000010772404057015452 5ustar slomoslomolog4net-1.2.10/examples/sscli/1.0/Tutorials/0000755000175000017500000000000010772404057017440 5ustar slomoslomolog4net-1.2.10/examples/sscli/1.0/Tutorials/nant.config0000644000175000017500000000144010412737276021571 0ustar slomoslomo log4net-1.2.10/examples/sscli/1.0/Tutorials/ConsoleApp/0000755000175000017500000000000010772404057021503 5ustar slomoslomolog4net-1.2.10/examples/sscli/1.0/Tutorials/ConsoleApp/js/0000755000175000017500000000000010772404057022117 5ustar slomoslomolog4net-1.2.10/examples/sscli/1.0/Tutorials/ConsoleApp/js/nant.config0000644000175000017500000000163610412737276024257 0ustar slomoslomo log4net-1.2.10/examples/sscli/1.0/Tutorials/ConsoleApp/js/src/0000755000175000017500000000000010772404057022706 5ustar slomoslomolog4net-1.2.10/examples/sscli/1.0/Tutorials/ConsoleApp/js/src/LoggingExample.js0000644000175000017500000000664310412737276026162 0ustar slomoslomo// // Copyright 2001-2005 The Apache Software Foundation // // Licensed 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. // // JScript.NET does not support application entry points (like vb.Net and C#), // instead it supports global code. ConsoleApp.LoggingExample.Main(); import System; import log4net; // Configure log4net using the .config file [assembly:log4net.Config.XmlConfigurator()] // This will cause log4net to look for a configuration file // called ConsoleApp.exe.config in the application base // directory (i.e. the directory containing ConsoleApp.exe) package ConsoleApp { // Example of how to simply configure and use log4net public class LoggingExample { // Create a logger for use in this class private static var log : log4net.ILog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); // NOTE that using System.Reflection.MethodBase.GetCurrentMethod().DeclaringType // is equivalent to typeof(LoggingExample) but is more portable // i.e. you can copy the code directly into another class without // needing to edit the code. // Application entry point public static function Main() { // Log an info level message if (log.IsInfoEnabled) log.Info("Application [ConsoleApp] Start"); // Log a debug message. Test if debug is enabled before // attempting to log the message. This is not required but // can make running without logging faster. if (log.IsDebugEnabled) log.Debug("This is a debug message"); try { Bar(); } catch (ex : Exception) { // Log an error with an exception log.Error("Exception thrown from method Bar", ex); } log.Error("Hey this is an error!"); var disposableFrame : IDisposable; try { // Push a message on to the Nested Diagnostic Context stack disposableFrame = log4net.NDC.Push("NDC_Message"); log.Warn("This should have an NDC message"); // Set a Mapped Diagnostic Context value log4net.MDC.Set("auth", "auth-none"); log.Warn("This should have an MDC message for the key 'auth'"); } finally { // The NDC message is popped off the stack by using the Dispose method if (disposableFrame != null) disposableFrame.Dispose(); } log.Warn("See the NDC has been popped of! The MDC 'auth' key is still with us."); // Log an info level message if (log.IsInfoEnabled) log.Info("Application [ConsoleApp] End"); Console.Write("Press Enter to exit..."); Console.ReadLine(); } // Helper methods to demonstrate location information and nested exceptions private static function Bar() { Goo(); } private static function Foo() { throw new Exception("This is an Exception"); } private static function Goo() { try { Foo(); } catch (ex : Exception) { throw new ArithmeticException("Failed in Goo. Calling Foo. Inner Exception provided", ex); } } } } log4net-1.2.10/examples/sscli/1.0/Tutorials/ConsoleApp/js/src/App.config0000644000175000017500000000546010412737276024625 0ustar slomoslomo