mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
22 lines
676 B
C#
22 lines
676 B
C#
using System;
|
|
|
|
namespace MQTTnet.Diagnostics
|
|
{
|
|
public interface IMqttNetLogger
|
|
{
|
|
event EventHandler<MqttNetLogMessagePublishedEventArgs> LogMessagePublished;
|
|
|
|
void Verbose<TSource>(string message, params object[] parameters);
|
|
|
|
void Info<TSource>(string message, params object[] parameters);
|
|
|
|
void Warning<TSource>(Exception exception, string message, params object[] parameters);
|
|
|
|
void Warning<TSource>(string message, params object[] parameters);
|
|
|
|
void Error<TSource>(Exception exception, string message, params object[] parameters);
|
|
|
|
void Error<TSource>(string message, params object[] parameters);
|
|
}
|
|
}
|