Log4NetConfigurationSectionHandler ClassApache log4net™ SDK Documentation
Class to register for the log4net section of the configuration file
Inheritance Hierarchy

OnlineSystem Object
  log4net.Config Log4NetConfigurationSectionHandler

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public class Log4NetConfigurationSectionHandler : IConfigurationSectionHandler
Remarks

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.
Examples

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>
See Also