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
Properties
Instance
Gets the singleton instance of ConsoleLoggerCmd configured with CL.WriteLine
public static ConsoleLoggerCmd Instance { get; set; }