log4net SDK Reference

WrapperMap.CreateNewWrapperObject Method 

Creates the wrapper object for the specified logger.

[Visual Basic]
Overridable Protected Function CreateNewWrapperObject( _
   ByVal logger As ILogger _
) As ILoggerWrapper
[C#]
protected virtual ILoggerWrapper CreateNewWrapperObject(
   ILogger logger
);

Parameters

logger
The logger to wrap in a wrapper.

Return Value

The wrapper object for the logger.

Remarks

This implementation uses the WrapperCreationHandler passed to the constructor to create the wrapper. This method can be overridden in a subclass.

See Also

WrapperMap Class | log4net.Core Namespace