Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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�ICollection�Configure();

Automatically configures the ILoggerRepository using settings stored in the application's configuration file.

public�static�ICollection�Configure(ILoggerRepository);

Configures the ILoggerRepository using the specified configuration file.

public�static�ICollection�Configure(ILoggerRepository,FileInfo);

Configures the ILoggerRepository using the specified configuration file.

public�static�ICollection�Configure(ILoggerRepository,Stream);

Configures the ILoggerRepository using the specified configuration URI.

public�static�ICollection�Configure(ILoggerRepository,Uri);

Configures the ILoggerRepository using the specified XML element.

public�static�ICollection�Configure(ILoggerRepository,XmlElement);

Configures log4net using the specified configuration file.

public�static�ICollection�Configure(FileInfo);

Configures log4net using the specified configuration data stream.

public�static�ICollection�Configure(Stream);

Configures log4net using the specified configuration URI.

public�static�ICollection�Configure(Uri);

Configures log4net using a log4net element

public�static�ICollection�Configure(XmlElement);

See Also

XmlConfigurator Class | log4net.Config Namespace | Log4NetConfigurationSectionHandler