WrapperCreationHandler Delegate | Apache log4net™ SDK Documentation

Delegate used to handle creation of new wrappers.

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

C#
VB
C++
F#
Copy

    public delegate ILoggerWrapper WrapperCreationHandler(
    	ILogger logger
    )

    Public Delegate Function WrapperCreationHandler (
    	logger As ILogger
    ) As ILoggerWrapper

    public delegate ILoggerWrapper^ WrapperCreationHandler(
    	ILogger^ logger
    )

    type WrapperCreationHandler =
        delegate of
            logger : ILogger -> ILoggerWrapper

#### Parameters

logger
  Type: log4net.Core
  ILogger
  The logger to wrap in a wrapper.

#### Return Value

Type: ILoggerWrapper
Remarks

Delegate used to handle creation of new wrappers. This delegate is called from the CreateNewWrapperObject(ILogger) method to construct the wrapper for the specified logger.

The delegate to use is supplied to the WrapperMap constructor.

See Also

#### Reference

log4net.Core Namespace