public void NotifyListeners(RemotingLifecycleEvent message)
 {
     System.EventStream.Publish(message);
     if (message.LogLevel() >= LogLevel)
     {
         Log.Log(message.LogLevel(), message.ToString());
     }
 }
Beispiel #2
0
 private void TryPublish(RemotingLifecycleEvent ev)
 {
     try
     {
         EventPublisher.NotifyListeners(ev);
     }
     catch (Exception ex)
     {
         _log.Error(ex, "Unable to publish error event to EventStream");
     }
 }
 public void NotifyListeners(RemotingLifecycleEvent message)
 {
     System.EventStream.Publish(message);
     if (message.LogLevel() >= LogLevel) Log.Log(message.LogLevel(), message.ToString());
 }