Skip to content

18943af5 1cc2 c7ef 12b2 f394b008c0f6

Axel Kesseler edited this page Mar 1, 2023 · 12 revisions

ConsoleLoggerSettings.GetColoring Method

Reads the list of coloring assignments from provided configuration.

Namespace: Plexdata.LogWriter.Settings
Assembly: Plexdata.LogWriter.Console (in Plexdata.LogWriter.Console.dll) Version: 1.0.7.1

Syntax

C#

private IDictionary<LogLevel, Coloring> GetColoring(
	ILoggerSettingsSection parent,
	IDictionary<LogLevel, Coloring> source
)

Parameters

 

parent
Type: Plexdata.LogWriter.Abstraction.ILoggerSettingsSection
The parent Coloring section to obtain the list items from.
source
Type: System.Collections.Generic.IDictionary(LogLevel, Coloring)
The Coloring source that serves as initial items as well.

Return Value

Type: IDictionary(LogLevel, Coloring)
The fully initialized Coloring assignment list to be used. It contains the default assignments for all coloring settings that were not specified within provided configuration section.

Remarks

This method tries to read the list of coloring assignments from provided configuration.

See Also

Reference

ConsoleLoggerSettings Class
Plexdata.LogWriter.Settings Namespace

Clone this wiki locally