Skip to main content

Class UdpLogger

A Meadow Logging LogProvider that outputs log information over UDP broadcast

Assembly: Meadow.LogProviders.dll​
View Source​
Declaration
public class UdpLogger : ILogProvider, IDisposable

Implements:
Meadow.Logging.ILogProvider, System.IDisposable

Methods​

Log(LogLevel, string, string?)​

Called when the associated Logger has a message call

View Source​
Declaration
public void Log(LogLevel level, string message, string? _)
Parameters​
TypeNameDescription
Meadow.Logging.LogLevellevelThe LogLevel for the message
System.StringmessageThe message to log
System.String_

Dispose(bool)​

Releases resources associated with the logger instance

View Source​
Declaration
protected virtual void Dispose(bool disposing)
Parameters​
TypeNameDescription
System.BooleandisposingIs this being called from Dispose?

Dispose()​

Releases resources associated with the logger instance

View Source​
Declaration
public void Dispose()

Implements​