25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
676 B

  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. }