Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MemoryMappedFileHandler for SelfDiagnostics #2258

Merged
merged 14 commits into from
May 13, 2021
Prev Previous commit
Next Next commit
Special requirement for last argument in method definition and last p…
…arameter for WriteEvent call
  • Loading branch information
xiang17 committed May 12, 2021
commit 7855113792263aa370ec365af12f71fe0fe9fd78
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public void IngestionResponseTimeEventCounter(float responseDurationInMs)
public void TransmissionStatusEventError(string error, string appDomainName = "Incorrect") => this.WriteEvent(71, error, this.nameProvider.Name);

[Event(72, Keywords = Keywords.UserActionable, Message = "Failed to create file for self diagnostics at {0}. Error message: {1}.", Level = EventLevel.Error)]
public void SelfDiagnosticsFileCreateException(string logDirectory, string ex) => this.WriteEvent(72, logDirectory ?? string.Empty, ex ?? string.Empty);
public void SelfDiagnosticsFileCreateException(string logDirectory, string exception, string appDomainName = "Incorrect") => this.WriteEvent(72, logDirectory, exception, this.nameProvider.Name);

[NonEvent]
public void TransmissionStatusEventFailed(Exception ex)
Expand Down