Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ManagedColoredConsoleAppender.AddMapping�Method�

Add a mapping of level to color - done by the config file

[Visual�Basic]
Public�Sub�AddMapping( _
���ByVal mapping�As�LevelColors�_
)
[C#]
public�void�AddMapping(
���LevelColorsmapping
);

Parameters

mapping
The mapping to add

Remarks

Add a ManagedColoredConsoleAppender.LevelColors mapping to this appender. Each mapping defines the foreground and background colors for a level.

See Also

ManagedColoredConsoleAppender Class | log4net.Appender Namespace