ConfiguratorAttribute Configure Method | Apache log4net™ SDK Documentation

Configures the ILoggerRepository for the specified assembly.

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

C#
VB
C++
F#
Copy

    public abstract void Configure(
    	Assembly sourceAssembly,
    	ILoggerRepository targetRepository
    )

    Public MustOverride Sub Configure (
    	sourceAssembly As Assembly,
    	targetRepository As ILoggerRepository
    )

    public:
    virtual void Configure(
    	Assembly^ sourceAssembly,
    	ILoggerRepository^ targetRepository
    ) abstract

    abstract Configure :
            sourceAssembly : Assembly *
            targetRepository : ILoggerRepository -> unit

#### Parameters

sourceAssembly
  Type: System.Reflection
  Assembly
  The assembly that this attribute was defined on.
targetRepository
  Type: log4net.Repository
  ILoggerRepository
  The repository to configure.

Remarks

Abstract method implemented by a subclass. When this method is called the subclass should configure the targetRepository.

See Also

#### Reference

ConfiguratorAttribute Class
log4net.Config Namespace