XmlConfigurator Configure Method (ILoggerRepository, XmlElement) | Apache log4net™ SDK Documentation

Configures the ILoggerRepository using the specified XML element.

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

C#
VB
C++
F#
Copy

    public static ICollection Configure(
    	ILoggerRepository repository,
    	XmlElement element
    )

    Public Shared Function Configure (
    	repository As ILoggerRepository,
    	element As XmlElement
    ) As ICollection

    public:
    static ICollection^ Configure(
    	ILoggerRepository^ repository,
    	XmlElement^ element
    )

    static member Configure :
            repository : ILoggerRepository *
            element : XmlElement -> ICollection

#### Parameters

repository
  Type: log4net.Repository
  ILoggerRepository
  The repository to configure.
element
  Type: System.Xml
  XmlElement
  The element to parse.

#### Return Value

Type: ICollection

[Missing <returns> documentation for "M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)"]

Remarks

Loads the log4net configuration from the XML element supplied as element.
See Also

#### Reference

XmlConfigurator Class
Configure Overload
log4net.Config Namespace