using System; namespace MQTTnet.Diagnostics { public interface IMqttNetLogger { event EventHandler LogMessagePublished; void Trace(string message, params object[] parameters); void Info(string message, params object[] parameters); void Warning(Exception exception, string message, params object[] parameters); void Warning(string message, params object[] parameters); void Error(Exception exception, string message, params object[] parameters); void Error(string message, params object[] parameters); } }