public void LogToOperations(Exception ex, LogCategories category, EventSeverity severity, string message, params object[] args) { try { logger.LogToOperations(ex, String.Format(message, args), GetEventId(category), severity, category.ToLoggerString()); } catch { //don't want the app to fail because of failures in logging } }