mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
Renamed trace class
This commit is contained in:
@@ -41,7 +41,7 @@ namespace MQTTnet.TestApp.NetFramework
|
||||
private static async Task RunClientAsync(string[] arguments)
|
||||
{
|
||||
|
||||
MqttTrace.TraceMessagePublished += (s, e) =>
|
||||
MqttNetTrace.TraceMessagePublished += (s, e) =>
|
||||
{
|
||||
Console.WriteLine($">> [{e.ThreadId}] [{e.Source}] [{e.Level}]: {e.Message}");
|
||||
if (e.Exception != null)
|
||||
@@ -128,7 +128,7 @@ namespace MQTTnet.TestApp.NetFramework
|
||||
|
||||
private static async Task RunServerAsync(string[] arguments)
|
||||
{
|
||||
MqttTrace.TraceMessagePublished += (s, e) =>
|
||||
MqttNetTrace.TraceMessagePublished += (s, e) =>
|
||||
{
|
||||
Console.WriteLine($">> [{e.ThreadId}] [{e.Source}] [{e.Level}]: {e.Message}");
|
||||
if (e.Exception != null)
|
||||
|
||||
Reference in New Issue
Block a user