-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,11 +50,11 @@ public void RequestStart(HttpRequestMessage request) | |
request.VersionPolicy); | ||
} | ||
|
||
[Event(2, Level = EventLevel.Informational)] | ||
public void RequestStop() | ||
[Event(2, Level = EventLevel.Informational, Version = 1)] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
brianrob
Author
Member
|
||
public void RequestStop(int statusCode) | ||
This comment has been minimized.
Sorry, something went wrong.
MihaZupan
Member
|
||
{ | ||
Interlocked.Increment(ref _stoppedRequests); | ||
WriteEvent(eventId: 2); | ||
WriteEvent(eventId: 2, statusCode); | ||
} | ||
|
||
[Event(3, Level = EventLevel.Error)] | ||
|
Side note re: version, are we expected to update that? I know for example with Kestrel's EventSource, more arguments were added to existing events between .NET releases without changing the version.