Implement cancellation notifications (#146)
* Implement cancellation notifications * Address PR feedback * Address feedback
This commit is contained in:
parent
5d3fb65b11
commit
8fe96bf6ba
1 changed files with 201 additions and 43 deletions
|
|
@ -68,6 +68,9 @@ internal static partial class Log
|
|||
[LoggerMessage(Level = LogLevel.Error, Message = "Request failed for {endpointName} with method {method}: {message} ({code})")]
|
||||
internal static partial void RequestFailed(this ILogger logger, string endpointName, string method, string message, int code);
|
||||
|
||||
[LoggerMessage(Level = LogLevel.Information, Message = "Request '{requestId}' canceled via client notification with reason '{Reason}'.")]
|
||||
internal static partial void RequestCanceled(this ILogger logger, RequestId requestId, string? reason);
|
||||
|
||||
[LoggerMessage(Level = LogLevel.Information, Message = "Request response received payload for {endpointName}: {payload}")]
|
||||
internal static partial void RequestResponseReceivedPayload(this ILogger logger, string endpointName, string payload);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue