using System; namespace MQTTnet.Diagnostics { public class MqttNetLogMessagePublishedEventArgs : EventArgs { public MqttNetLogMessagePublishedEventArgs(MqttNetLogMessage logMessage) { TraceMessage = logMessage ?? throw new ArgumentNullException(nameof(logMessage)); } public MqttNetLogMessage TraceMessage { get; } } }