Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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