public Task Log(DTOs.Data rollbarData) { return(this.EnqueueAsync(rollbarData, rollbarData.Level.HasValue ? rollbarData.Level.Value : ErrorLevel.Debug, null)); }
/// <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)); }
static Data() { Data.NotifierAssemblyVersion = Data.DetectNotifierAssemblyVersion(); Data.DefaultFrameworkValue = Data.DetectTargetFrameworks(); Data.DefaultPlatform = RuntimeEnvironmentUtility.GetOSDescription(); }