This commit is contained in:
Rajkumar Rangaraj 2020-08-03 09:14:20 -07:00
Родитель 20e48238f3
Коммит e7385f3234
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,7 @@ namespace Microsoft.Extensions.Logging.ApplicationInsights
this.ApplicationName = GetApplicationName();
}
[Event(1, Message = "Writing an entry to log has failed. Error: {0}", Level = EventLevel.Error)]
[Event(1, Message = "Sending log to ApplicationInsightsLoggerProvider has failed. Error: {0}", Level = EventLevel.Error)]
public void FailedToLog(string error, string applicationName = null) => this.WriteEvent(1, error, applicationName ?? this.ApplicationName);
[NonEvent]