Example #1
0
 /// <summary>
 /// Raise a ErrorEvent
 /// </summary>
 /// <param name="e">
 /// The log error args
 /// </param>
 public void OnLogErrorEvent(LogErrorEventArgs e)
 {
     if (this.LogErrorEvent != null)
     {
         this.LogErrorEvent(this, e);
     }
 }
Example #2
0
 /// <summary>
 /// Raise a ErrorEvent
 /// </summary>
 /// <param name="e">
 /// The log error args
 /// </param>
 public void OnLogErrorEvent(LogErrorEventArgs e)
 {
     if (this.LogErrorEvent != null)
     {
         this.LogErrorEvent(this, e);
     }
 }
 /// <summary>
 /// Handle log error event
 /// </summary>
 /// <param name="sender">
 /// The parameter is not used.
 /// </param>
 /// <param name="e">
 /// The provided <see cref="LogErrorEventArgs"/>
 /// </param>
 private static void HandleLogErrorEvent(object sender, LogErrorEventArgs e)
 {
     Logger.Error(e.Message);
 }