Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

IPlugin.Attach�Method�

Attaches the plugin to the specified ILoggerRepository.

[Visual�Basic]
Sub�Attach( _
���ByVal repository�As�ILoggerRepository�_
)
[C#]
void�Attach(
���ILoggerRepositoryrepository
);

Parameters

repository
The ILoggerRepository that this plugin should be attached to.

Remarks

A plugin may only be attached to a single repository.

This method is called when the plugin is attached to the repository.

See Also

IPlugin Interface | log4net.Plugin Namespace