internal static void Enable(LogTypesConfig _logTypesConfig)
        {
            _readNextLogFileIndexFromXml();

            _openOledbConnection();
            logTypesConfig = _logTypesConfig;
        }
 public static void EnableLogger(LogTypesConfig logTypesConfig)
 {
     try
     {
         ComDriverLogger.Enable(logTypesConfig);
     }
     catch (ComDriveExceptions ex)
     {
         throw;
     }
     catch (Exception ex)
     {
         string exceptionText = ex.GetType().ToString() + ": " + ex.Message + "\n\n" + ex.StackTrace;
         ComDriverLogger.LogExceptions(DateTime.Now, exceptionText);
         throw;
     }
 }