Table of Contents

Class LogSeverityColors

Namespace
SharpConsoleUI.Controls
Assembly
SharpConsoleUI.dll

Maps a LogLevel to the foreground Color used to render its row in a LogViewerControl. Mirrors the severity palette in ToMarkup().

public static class LogSeverityColors
Inheritance
LogSeverityColors
Inherited Members

Methods

ForLevel(LogLevel)

Gets the row foreground color for the given log level.

public static Color ForLevel(LogLevel level)

Parameters

level LogLevel

Returns

Color