mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
Refactor logger. (#1247)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using MQTTnet.Diagnostics;
|
||||
using System;
|
||||
using System;
|
||||
using System.Text;
|
||||
using MQTTnet.Diagnostics.Logger;
|
||||
|
||||
namespace MQTTnet.TestApp.NetCore
|
||||
{
|
||||
@@ -8,7 +8,7 @@ namespace MQTTnet.TestApp.NetCore
|
||||
{
|
||||
static readonly object _lock = new object();
|
||||
|
||||
public static void ForwardToConsole(MqttNetLogger logger)
|
||||
public static void ForwardToConsole(MqttNetEventLogger logger)
|
||||
{
|
||||
if (logger == null) throw new ArgumentNullException(nameof(logger));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user