DOMConfigurator ClassApache log4net™ SDK Documentation

Note: This API is now obsolete.

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

SystemObject
  log4net.ConfigDOMConfigurator

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

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

The DOMConfigurator type exposes the following members.

Methods

  NameDescription
Public methodStatic memberConfigure Obsolete.
Automatically configures the log4net system based on the application's configuration settings.
Public methodStatic memberConfigure(FileInfo) Obsolete.
Configures log4net using the specified configuration file.
Public methodStatic memberConfigure(Stream) Obsolete.
Configures log4net using the specified configuration file.
Public methodStatic memberConfigure(XmlElement) Obsolete.
Configures log4net using a log4net element
Public methodStatic memberConfigure(ILoggerRepository) Obsolete.
Automatically configures the ILoggerRepository using settings stored in the application's configuration file.
Public methodStatic memberConfigure(ILoggerRepository, FileInfo) Obsolete.
Configures the ILoggerRepository using the specified configuration file.
Public methodStatic memberConfigure(ILoggerRepository, Stream) Obsolete.
Configures the ILoggerRepository using the specified configuration file.
Public methodStatic memberConfigure(ILoggerRepository, XmlElement) Obsolete.
Configures the ILoggerRepository using the specified XML element.
Public methodStatic memberConfigureAndWatch(FileInfo) Obsolete.
Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.
Public methodStatic memberConfigureAndWatch(ILoggerRepository, FileInfo) Obsolete.
Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
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