From 51ee6dc91211df708bc0d89a1b8af642f84e6fe0 Mon Sep 17 00:00:00 2001 From: Thomas Ardal Date: Fri, 29 Dec 2023 15:07:28 +0100 Subject: [PATCH] Proofread --- docs/logging-to-elmah-io-from-httpclient.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/logging-to-elmah-io-from-httpclient.md b/docs/logging-to-elmah-io-from-httpclient.md index a48d24bd1e..866e215a3d 100644 --- a/docs/logging-to-elmah-io-from-httpclient.md +++ b/docs/logging-to-elmah-io-from-httpclient.md @@ -53,7 +53,7 @@ public class HttpClientLogger : IHttpClientLogger } ``` -The `HttpClientLogger` class implements that `IHttpClientLogger` interface. Three hooks are provided as part of this interface: request starting, request stopping, request failed. In the code above, we create a single `Information` message when a response is received and a single `Error` message in case of an error. By using structured properties like `{method}` and `{statusCode}` we make sure that elmah.io show these pieces of data in the right fields. The format and wording of each log message can be tailored to your preference. +The `HttpClientLogger` class implements the `IHttpClientLogger` interface. Three hooks are provided as part of this interface: request starting, request stopping, and request failing. In the code above, we create a single `Information` message when a response is received and a single `Error` message in case of an error. By using structured properties like `{method}` and `{statusCode}` we make sure that elmah.io shows these pieces of data in the right fields. The format and wording of each log message can be tailored to your preference. Registering the custom logger can be done like this: