Table of Contents

Class ConsoleLoggerCmd

Namespace
SunamoCl
Assembly
SunamoCl.dll

Logger derived from LoggerBaseCl for use with CmdApp.SetLogger. ConsoleLogger cannot be used as ILoggerBase because it lacks the required methods — only ConsoleLoggerCmd has them via LoggerBaseCl inheritance. Must reside here because the base class is also internal.

public class ConsoleLoggerCmd : LoggerBaseCl
Inheritance
ConsoleLoggerCmd
Inherited Members
Extension Methods

Constructors

ConsoleLoggerCmd(Action<string, string[]>)

Initializes a new instance with the specified write delegate

public ConsoleLoggerCmd(Action<string, string[]> writeLineHandler)

Parameters

writeLineHandler Action<string, string[]>

Delegate used to write formatted output lines

Properties

Instance

Gets the singleton instance of ConsoleLoggerCmd configured with CL.WriteLine

public static ConsoleLoggerCmd Instance { get; set; }

Property Value

ConsoleLoggerCmd