Class to register for the log4net section of the configuration file
System Object log4net.Config Log4NetConfigurationSectionHandlerNamespace: log4net.ConfigAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public class Log4NetConfigurationSectionHandler : IConfigurationSectionHandler
public class Log4NetConfigurationSectionHandler : IConfigurationSectionHandler
Public Class Log4NetConfigurationSectionHandler
Implements IConfigurationSectionHandler
Public Class Log4NetConfigurationSectionHandler
Implements IConfigurationSectionHandler
public ref class Log4NetConfigurationSectionHandler : IConfigurationSectionHandler
public ref class Log4NetConfigurationSectionHandler : IConfigurationSectionHandler
The log4net section of the configuration file needs to have a section
handler registered. This is the section handler used. It simply returns
the XML element that is the root of the section.
Example of registering the log4net section handler :
<configuration><configSections><section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /></configSections><log4net>
log4net configuration XML goes here
</log4net></configuration>
<configuration><configSections><section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /></configSections><log4net>
log4net configuration XML goes here
</log4net></configuration>