You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
679 B

  1. using System;
  2. namespace MQTTnet.Core.Diagnostics
  3. {
  4. public interface IMqttNetLogger
  5. {
  6. event EventHandler<MqttNetLogMessagePublishedEventArgs> LogMessagePublished;
  7. void Trace<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. }