Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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(
���ILoggerlogger
);

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