Class ConsoleLogProvider
Log provider that writes output to the console/terminal.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ConsoleLogProvider : LogProvider
Constructors
ConsoleLogProvider()
Initializes a new instance of the ConsoleLogProvider.
Declaration
public ConsoleLogProvider()
ConsoleLogProvider(LogLevel)
Initializes a new instance of the ConsoleLogProvider class.
Declaration
public ConsoleLogProvider(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The log level. |
Methods
DoLog(LogEvent)
Logs a message at the specified log level.
Declaration
protected override void DoLog(LogEvent logEvent)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | The log event details. |