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
IsEnabled
public bool IsEnabled { get; }
Property Value
Methods
Publish(MqttNetLogLevel, string, string, object[], Exception)
public void Publish(MqttNetLogLevel logLevel, string source, string message, object[] parameters, Exception exception)
Parameters
logLevel
MqttNetLogLevelsource
stringmessage
stringparameters
object[]exception
Exception