public void Info(string message, string source = null)
 {
     try {
         _log.Info(message, source);
     } catch (Exception ex) {
         try {
             _fallbackLog.Error("Error writing to log.", null, ex);
             _fallbackLog.Info(message, source);
         } catch {}
     }
 }
        public void Enqueue(Event ev)
        {
            if (AreQueuedItemsDiscarded)
            {
                _log.Info(typeof(ExceptionlessClient), "Queue items are currently being discarded. The event will not be queued.");
                return;
            }

            _storage.Enqueue(_config.GetQueueName(), ev, _serializer);
        }
 public static void FormattedInfo(this IExceptionlessLog log, string format, params object[] args)
 {
     log.Info(String.Format(format, args));
 }
 public static void FormattedInfo(this IExceptionlessLog log, Type source, string format, params object[] args)
 {
     log.Info(String.Format(format, args), GetSourceName(source));
 }
 public static void Info(this IExceptionlessLog log, Type source, string message)
 {
     log.Info(message, GetSourceName(source));
 }