Class to register for the log4net section of the configuration file
Inheritance Hierarchy
log4net.ConfigLog4NetConfigurationSectionHandler
Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The Log4NetConfigurationSectionHandler type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Log4NetConfigurationSectionHandler |
Initializes a new instance of the Log4NetConfigurationSectionHandler class.
|
Methods
Name | Description | |
---|---|---|
Create |
Parses the configuration section.
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Remarks
Examples
<configuration><configSections><section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /></configSections><log4net> log4net configuration XML goes here </log4net></configuration>
See Also