Class ConsoleLogProvider
A Log Provider that outputs to the System Console
Assembly: Meadow.Logging.dll
View Source
public class ConsoleLogProvider : ILogProvider
Implements:
Meadow.Logging.ILogProvider
Properties
ShowLoglevel
When true, the current log level will be prefixed to all logged messages
View Source
public bool ShowLoglevel { get; set; }
Methods
Log(LogLevel, string)
Called when the associated Logger has a message call
View Source
public void Log(LogLevel level, string message)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Logging.LogLevel | level | The LogLevel for the message |
System.String | message | The message to log |