Table of Contents

Class MqttNetNullLogger

Namespace
MQTTnet.Diagnostics
Assembly
MQTTnet.dll

This logger does nothing with the messages.

public sealed class MqttNetNullLogger : IMqttNetLogger
Inheritance
MqttNetNullLogger
Implements
Inherited Members
Extension Methods

Constructors

MqttNetNullLogger()

public MqttNetNullLogger()

Properties

Instance

public static MqttNetNullLogger Instance { get; }

Property Value

MqttNetNullLogger

IsEnabled

public bool IsEnabled { get; }

Property Value

bool

Methods

Publish(MqttNetLogLevel, string, string, object[], Exception)

public void Publish(MqttNetLogLevel logLevel, string source, string message, object[] parameters, Exception exception)

Parameters

logLevel MqttNetLogLevel
source string
message string
parameters object[]
exception Exception