예제 #1
0
 public void Publish(MqttNetTraceMessage traceMessage)
 {
     TraceMessagePublished?.Invoke(this, new MqttNetTraceMessagePublishedEventArgs(traceMessage));
 }
예제 #2
0
 private static void Publish(string source, MqttTraceLevel traceLevel, Exception exception, string message)
 {
     TraceMessagePublished?.Invoke(null, new MqttTraceMessagePublishedEventArgs(Environment.CurrentManagedThreadId, source, traceLevel, message, exception));
 }