Interface implemented by logger repository plugins.
Namespace: log4net.Plugin
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The IPlugin type exposes the following members.
Properties
Name | Description | |
---|---|---|
Name |
Gets the name of the plugin.
|
Methods
Name | Description | |
---|---|---|
Attach |
Attaches the plugin to the specified ILoggerRepository.
| |
Shutdown |
Is called when the plugin is to shutdown.
|
Remarks
Plugins define additional behavior that can be associated with a ILoggerRepository. The PluginMap held by the PluginMap property is used to store the plugins for a repository.
The log4net.Config.PluginAttribute can be used to attach plugins to repositories created using configuration attributes.
See Also