Skip to main content

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
TypeNameDescription
Meadow.Logging.LogLevellevelThe LogLevel for the message
System.StringmessageThe message to log

Implements