Open sandboxFocus

Method GetStyle

GetStyle(string, LogLevel, LogRecordKind, ConsoleThemeItem)

Gets the ConsoleThemeStyle for a specific theme item.

Declaration
public virtual ConsoleThemeStyle GetStyle(string role, LogLevel level, LogRecordKind kind, ConsoleThemeItem item)
Parameters
Type Name Description
string role

Role of the log record.

LogLevel level

Level of the log record.

LogRecordKind kind

Kind of the log record.

ConsoleThemeItem item

Kind of item inside the log record.

Returns
Type Description
ConsoleThemeStyle

A ConsoleThemeStyle.

Implements