Exemple #1
0
 public static void Error(string message)
 {
     try
     {
         if (LogCreated != null)
         {
             LogCreated(null, LogCreatedEventArgs.CreateError(message));
         }
     }
     catch (Exception)
     {
     }
 }
Exemple #2
0
 private void OnRsspCommLogCreated(object sender, LogCreatedEventArgs e)
 {
     if (e.IsInfo)
     {
         LogUtility.Info(e.Message);
     }
     else if (e.IsWarning)
     {
         LogUtility.Warning(e.Message);
     }
     else
     {
         LogUtility.Error(e.Message);
     }
 }