public static void Verbose(this IMqttNetLogger logger, string message, params object[] parameters)
        {
            if (logger is null)
            {
                throw new ArgumentNullException(nameof(logger));
            }

            logger.Publish(MqttNetLogLevel.Verbose, message, parameters, null);
        }
        public static void Error(this IMqttNetLogger logger, Exception exception, string message, params object[] parameters)
        {
            if (logger is null)
            {
                throw new ArgumentNullException(nameof(logger));
            }

            logger.Publish(MqttNetLogLevel.Error, message, parameters, exception);
        }
 public void Publish(MqttNetLogLevel logLevel, string message, object[] parameters, Exception exception)
 {
     _logger.Publish(logLevel, _source, message, parameters, exception);
 }
 public void Verbose(string message, params object[] parameters)
 {
     _logger.Publish(MqttNetLogLevel.Verbose, _source, message, parameters, null);
 }