Skip to content

Commit

Permalink
Fix UWP build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
chkr1011 committed Nov 1, 2021
1 parent bd004ec commit 8020e66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/MQTTnet/Implementations/MqttTcpServerAdapter.Uwp.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if WINDOWS_UWP
using Windows.Networking.Sockets;
using MQTTnet.Adapter;
using MQTTnet.Diagnostics;
using MQTTnet.Diagnostics.Logger;
using MQTTnet.Formatter;
using MQTTnet.Server;
using System;
Expand All @@ -13,7 +13,7 @@ namespace MQTTnet.Implementations
{
public sealed class MqttTcpServerAdapter : IMqttServerAdapter
{
readonly IMqttNetScopedLogger _logger;
readonly MqttNetSourceLogger _logger;
readonly IMqttNetLogger _rootLogger;

IMqttServerOptions _options;
Expand All @@ -22,7 +22,7 @@ public sealed class MqttTcpServerAdapter : IMqttServerAdapter
public MqttTcpServerAdapter(IMqttNetLogger logger)
{
_rootLogger = logger ?? throw new ArgumentNullException(nameof(logger));
_logger = logger.CreateScopedLogger(nameof(MqttTcpServerAdapter));
_logger = logger.WithSource(nameof(MqttTcpServerAdapter));
}

public Func<IMqttChannelAdapter, Task> ClientHandler { get; set; }
Expand Down

0 comments on commit 8020e66

Please sign in to comment.