From 6fe7ce7a0c3ea479b6982f4382ef4ad97f794e79 Mon Sep 17 00:00:00 2001 From: Ramon Smits Date: Sun, 30 May 2021 22:01:38 +0200 Subject: [PATCH] FIxed `MqttNetLogLevel.Verbose` incorrectly mapped to `LogLevel.Debug` (#1170) Based on https://github.com/chkr1011/MQTTnet/issues/1138#issuecomment-846649937 --- Source/MQTTnet.Server/Logging/MqttNetLoggerWrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet.Server/Logging/MqttNetLoggerWrapper.cs b/Source/MQTTnet.Server/Logging/MqttNetLoggerWrapper.cs index 446f832..24495fe 100644 --- a/Source/MQTTnet.Server/Logging/MqttNetLoggerWrapper.cs +++ b/Source/MQTTnet.Server/Logging/MqttNetLoggerWrapper.cs @@ -55,7 +55,7 @@ namespace MQTTnet.Server.Logging case MqttNetLogLevel.Error: return LogLevel.Error; case MqttNetLogLevel.Warning: return LogLevel.Warning; case MqttNetLogLevel.Info: return LogLevel.Information; - case MqttNetLogLevel.Verbose: return LogLevel.Debug; + case MqttNetLogLevel.Verbose: return LogLevel.Trace; } return LogLevel.Debug;