public static void LogError(Object message, Exception ex) { try { ATSLogger.Error(message, ex); } catch (Exception) { } }