Refactor shared library. Extend error messages

This commit is contained in:
Christian Kratky
2017-10-30 19:44:24 +01:00
parent 5427b488c3
commit 83821453a0
17 changed files with 53 additions and 37 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ namespace MQTTnet.Core.Client
_latestPacketIdentifier = 0;
_packetDispatcher.Reset();
_adapter = _communicationAdapterFactory.CreateClientMqttCommunicationAdapter(options);
_adapter = _communicationAdapterFactory.CreateClientCommunicationAdapter(options);
_scopeHandle = _logger.BeginScope(options.LogId ?? options.ClientId);
_logger.LogTrace("Trying to connect with server.");