Пример #1
0
 public Task Log(DTOs.Data rollbarData)
 {
     return(this.EnqueueAsync(rollbarData, rollbarData.Level.HasValue ? rollbarData.Level.Value : ErrorLevel.Debug, null));
 }
Пример #2
0
 /// <summary>
 /// Logs the specified rollbar data.
 /// </summary>
 /// <param name="rollbarData">The rollbar data.</param>
 /// <returns>ILogger.</returns>
 public ILogger Log(DTOs.Data rollbarData)
 {
     return(this.Enqueue(rollbarData, rollbarData.Level.HasValue ? rollbarData.Level.Value : ErrorLevel.Debug, null));
 }
Пример #3
0
 static Data()
 {
     Data.NotifierAssemblyVersion = Data.DetectNotifierAssemblyVersion();
     Data.DefaultFrameworkValue   = Data.DetectTargetFrameworks();
     Data.DefaultPlatform         = RuntimeEnvironmentUtility.GetOSDescription();
 }