DOMConfigurator Class | Apache log4net™ SDK Documentation

Note: This API is now obsolete.

Use this class to initialize the log4net environment using an Xml tree.
Inheritance Hierarchy

System
Object
log4net.Config
DOMConfigurator

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    [ObsoleteAttribute("Use XmlConfigurator instead of DOMConfigurator")]
    public sealed class DOMConfigurator

    <ObsoleteAttribute("Use XmlConfigurator instead of DOMConfigurator")>
    Public NotInheritable Class DOMConfigurator

    [ObsoleteAttribute(L"Use XmlConfigurator instead of DOMConfigurator")]
    public ref class DOMConfigurator sealed

    [<SealedAttribute>]
    [<ObsoleteAttribute("Use XmlConfigurator instead of DOMConfigurator")>]
    type DOMConfigurator =  class end

The DOMConfigurator type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| Configure | Obsolete. Automatically configures the log4net system based on the application's configuration settings.
| Configure(FileInfo) | Obsolete. Configures log4net using the specified configuration file.
| Configure(Stream) | Obsolete. Configures log4net using the specified configuration file.
| Configure(XmlElement) | Obsolete. Configures log4net using a log4net element
| Configure(ILoggerRepository) | Obsolete. Automatically configures the ILoggerRepository using settings stored in the application's configuration file.
| Configure(ILoggerRepository, FileInfo) | Obsolete. Configures the ILoggerRepository using the specified configuration file.
| Configure(ILoggerRepository, Stream) | Obsolete. Configures the ILoggerRepository using the specified configuration file.
| Configure(ILoggerRepository, XmlElement) | Obsolete. Configures the ILoggerRepository using the specified XML element.
| ConfigureAndWatch(FileInfo) | Obsolete. Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.
| ConfigureAndWatch(ILoggerRepository, FileInfo) | Obsolete. Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.

Configures a ILoggerRepository using an Xml tree.

See Also

#### Reference

log4net.Config Namespace