ManagedColoredConsoleAppender.AddMapping Method
ManagedColoredConsoleAppenderAddMapping Method Apache log4net™ SDK Documentation
Add a mapping of level to color - done by the config file

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public void AddMapping(
	ManagedColoredConsoleAppenderLevelColors mapping
)

Parameters

mapping
Type: log4net.AppenderManagedColoredConsoleAppenderLevelColors
The mapping to add
Remarks

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

See Also

Reference