log4net SDK Reference |

# WrapperMap Class

Maps between logger objects and wrapper objects.

For a list of all members of this type, see WrapperMap Members.

System.Object
log4net.Core.WrapperMap

[Visual Basic]
Public Class WrapperMap
[C#]
public class WrapperMap

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

This class maintains a mapping between ILogger objects and ILoggerWrapper objects. Use the GetWrapper method to lookup the ILoggerWrapper for the specified ILogger.

New wrapper instances are created by the CreateNewWrapperObject method. The default behavior is for this method to delegate construction of the wrapper to the WrapperCreationHandler delegate supplied to the constructor. This allows specialization of the behavior without requiring subclassing of this type.

#### Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

#### See Also

WrapperMap Members | log4net.Core Namespace