public static void LogFatalError(string message, Exception exception) { m_globalLogger.LogFatalError(message, exception); SendToAppFail(exception); }
public static void IncrementValue(string name, long value) { try { foreach (var store in ActiveStores) { store.Increment(name, value); } } catch (Exception ex) { AppLogger.LogFatalError(String.Format("Error while incrementing {0}", name), ex); } }