/// <summary>
 /// Reports to Rollbar.
 /// </summary>
 /// <param name="rollbarData">The Rollbar data.</param>
 private void ReportToRollbar(DTOs.Data rollbarData)
 {
     if (_rollbarAsyncLogger != null)
     {
         _rollbarAsyncLogger.Log(rollbarData);
     }
     else if (_rollbarLogger != null)
     {
         _rollbarLogger.Log(rollbarData);
     }
 }
Exemple #2
0
 /// <summary>
 /// Reports to rollbar.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="rollbarData">The rollbar data.</param>
 private static void ReportToRollbar(Rollbar.ILogger logger, DTOs.Data rollbarData)
 {
     logger.Log(rollbarData);
 }