您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IMqttNetLogger.cs 676 B

123456789101112131415161718192021
  1. using System;
  2. namespace MQTTnet.Diagnostics
  3. {
  4. public interface IMqttNetLogger
  5. {
  6. event EventHandler<MqttNetLogMessagePublishedEventArgs> LogMessagePublished;
  7. void Verbose<TSource>(string message, params object[] parameters);
  8. void Info<TSource>(string message, params object[] parameters);
  9. void Warning<TSource>(Exception exception, string message, params object[] parameters);
  10. void Warning<TSource>(string message, params object[] parameters);
  11. void Error<TSource>(Exception exception, string message, params object[] parameters);
  12. void Error<TSource>(string message, params object[] parameters);
  13. }
  14. }