DOMConfigurator Configure Method (XmlElement) | Apache log4net™ SDK Documentation

Note: This API is now obsolete.

Configures log4net using a log4net element

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.Configure instead of DOMConfigurator.Configure")]
    public static void Configure(
    	XmlElement element
    )

    <ObsoleteAttribute("Use XmlConfigurator.Configure instead of DOMConfigurator.Configure")>
    Public Shared Sub Configure (
    	element As XmlElement
    )

    public:
    [ObsoleteAttribute(L"Use XmlConfigurator.Configure instead of DOMConfigurator.Configure")]
    static void Configure(
    	XmlElement^ element
    )

    [<ObsoleteAttribute("Use XmlConfigurator.Configure instead of DOMConfigurator.Configure")>]
    static member Configure :
            element : XmlElement -> unit

#### Parameters

element
  Type: System.Xml
  XmlElement
  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

#### Reference

DOMConfigurator Class
Configure Overload
log4net.Config Namespace