log4net SDK Reference

WrapperMap.GetWrapper Method 

Gets the wrapper object for the specified logger.

[Visual Basic]
Overridable Public Function GetWrapper( _
   ByVal logger As ILogger _
) As ILoggerWrapper
[C#]
public virtual ILoggerWrapper GetWrapper(
   ILogger logger
);

Parameters

logger
Missing <param> documentation for logger

Return Value

The wrapper object for the specified logger

Remarks

If the logger is null then the corresponding wrapper is null.

Looks up the wrapper it it has previously been requested and returns it. If the wrapper has never been requested before then the CreateNewWrapperObject virtual method is called.

See Also

WrapperMap Class | log4net.Core Namespace