using System; namespace MQTTnet.Diagnostics { public interface IMqttNetLogger { event EventHandler LogMessagePublished; IMqttNetChildLogger CreateChildLogger(string source = null); void Publish(MqttNetLogLevel logLevel, string source, string message, object[] parameters, Exception exception); } }