RemoteLoggingServerPlugin Attach Method | Apache log4net™ SDK Documentation

Attaches this plugin to a ILoggerRepository.

Namespace: log4net.Plugin
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public override void Attach(
    	ILoggerRepository repository
    )

    Public Overrides Sub Attach (
    	repository As ILoggerRepository
    )

    public:
    virtual void Attach(
    	ILoggerRepository^ repository
    ) override

    abstract Attach :
            repository : ILoggerRepository -> unit
    override Attach :
            repository : ILoggerRepository -> unit

#### Parameters

repository
  Type: log4net.Repository
  ILoggerRepository
  The ILoggerRepository that this plugin should be attached to.

#### Implements

IPlugin
Attach(ILoggerRepository)
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

#### Reference

RemoteLoggingServerPlugin Class
log4net.Plugin Namespace