Exemplo n.º 1
0
 public void Publish(MqttNetTraceMessage traceMessage)
 {
     TraceMessagePublished?.Invoke(this, new MqttNetTraceMessagePublishedEventArgs(traceMessage));
 }
Exemplo n.º 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));
 }