Use this class to initialize the log4net environment using an Xml tree.
Inheritance Hierarchy
log4net.ConfigXmlConfigurator
Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The XmlConfigurator type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Configure |
Automatically configures the log4net system based on the
application's configuration settings.
|
![]() ![]() | Configure(FileInfo) |
Configures log4net using the specified configuration file.
|
![]() ![]() | Configure(Stream) |
Configures log4net using the specified configuration data stream.
|
![]() ![]() | Configure(Uri) |
Configures log4net using the specified configuration URI.
|
![]() ![]() | Configure(XmlElement) |
Configures log4net using a log4net element
|
![]() ![]() | Configure(ILoggerRepository) |
Automatically configures the ILoggerRepository using settings
stored in the application's configuration file.
|
![]() ![]() | Configure(ILoggerRepository, FileInfo) |
Configures the ILoggerRepository using the specified configuration
file.
|
![]() ![]() | Configure(ILoggerRepository, Stream) |
Configures the ILoggerRepository using the specified configuration
file.
|
![]() ![]() | Configure(ILoggerRepository, Uri) |
Configures the ILoggerRepository using the specified configuration
URI.
|
![]() ![]() | Configure(ILoggerRepository, XmlElement) |
Configures the ILoggerRepository using the specified XML
element.
|
![]() ![]() | ConfigureAndWatch(FileInfo) |
Configures log4net using the file specified, monitors the file for changes
and reloads the configuration if a change is detected.
|
![]() ![]() | ConfigureAndWatch(ILoggerRepository, FileInfo) |
Configures the ILoggerRepository using the file specified,
monitors the file for changes and reloads the configuration if a change
is detected.
|
![]() | Equals | (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.) |
![]() | ToString | (Inherited from Object.) |
Remarks
Configures a ILoggerRepository using an Xml tree.
See Also