示例#1
0
 public static void Logging(Exception exception)
 {
     try
     {
         _logger.Debug(exception.Message);
     }
     catch (Exception _exception)
     {
         MessageBoxOperation.MessageBoxError("Loglama Yapılamadı. " + _exception.Message);
     }
 }
示例#2
0
 public static void tryCatch(Action Action)
 {
     try
     {
         Action.Invoke();
     }
     catch (Exception exception)
     {
         MessageBoxOperation.MessageBoxError(exception.Message);
         Logging(exception);
     }
 }