Improve logger performance.

This commit is contained in:
Christian Kratky
2020-05-12 21:55:15 +02:00
parent f0a1f9ca93
commit a58ab607ad
51 changed files with 290 additions and 300 deletions
@@ -24,7 +24,7 @@ namespace MQTTnet.Tests
//var globalLogCount = 0;
var localLogCount = 0;
var logger = new MqttNetLogger(null, logId);
var logger = new MqttNetLogger(logId);
// TODO: This is commented out because it is affected by other tests.
//// we have a theoretical bug here if a concurrent test is also logging