Exemplo n.º 1
0
 public static void DisableLogger()
 {
     try
     {
         ComDriverLogger.Disable();
     }
     catch (ComDriveExceptions ex)
     {
         throw;
     }
     catch (Exception ex)
     {
         string exceptionText = ex.GetType().ToString() + ": " + ex.Message + "\n\n" + ex.StackTrace;
         ComDriverLogger.LogExceptions(DateTime.Now, exceptionText);
         throw;
     }
 }
Exemplo n.º 2
0
 public static void LoadLoggerSettingsFromConfig()
 {
     ComDriverLogger.Disable();
 }