From d35020031cee47494771886cd616f24fcb886794 Mon Sep 17 00:00:00 2001 From: vcrobe Date: Fri, 4 Mar 2022 10:24:37 -0500 Subject: [PATCH 1/3] Added a link to usage examples Added a link to the LoggerExtensions.LogInformation Method to see usage examples --- docs/fundamentals/code-analysis/quality-rules/ca2253.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2253.md b/docs/fundamentals/code-analysis/quality-rules/ca2253.md index 1fecd8ca7f666..4baaa637da43a 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2253.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2253.md @@ -31,6 +31,8 @@ Named placeholders in the logging message template should not be comprised of on Rename the numeric placeholder. +See the [LoggerExtensions.LogInformation Method](https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.loggerextensions.loginformation) for usage examples. + ## When to suppress errors Do not suppress a warning from this rule. From 714c8cec88054fc435ef8776ca49c9b67151308a Mon Sep 17 00:00:00 2001 From: vcrobe Date: Wed, 9 Mar 2022 17:21:05 -0500 Subject: [PATCH 2/3] Update docs/fundamentals/code-analysis/quality-rules/ca2253.md Removed locale from the URL Co-authored-by: David Pine --- docs/fundamentals/code-analysis/quality-rules/ca2253.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2253.md b/docs/fundamentals/code-analysis/quality-rules/ca2253.md index 4baaa637da43a..0741c779a0395 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2253.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2253.md @@ -31,7 +31,7 @@ Named placeholders in the logging message template should not be comprised of on Rename the numeric placeholder. -See the [LoggerExtensions.LogInformation Method](https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.loggerextensions.loginformation) for usage examples. +See the [LoggerExtensions.LogInformation Method](https://docs.microsoft.com/dotnet/api/microsoft.extensions.logging.loggerextensions.loginformation) for usage examples. ## When to suppress errors From 82243415b6dad4979b930873c6768551da775b05 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Wed, 7 Sep 2022 14:46:01 -0700 Subject: [PATCH 3/3] Update docs/fundamentals/code-analysis/quality-rules/ca2253.md --- docs/fundamentals/code-analysis/quality-rules/ca2253.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2253.md b/docs/fundamentals/code-analysis/quality-rules/ca2253.md index 0741c779a0395..197349522cd18 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2253.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2253.md @@ -31,7 +31,7 @@ Named placeholders in the logging message template should not be comprised of on Rename the numeric placeholder. -See the [LoggerExtensions.LogInformation Method](https://docs.microsoft.com/dotnet/api/microsoft.extensions.logging.loggerextensions.loginformation) for usage examples. +For usage examples, see the method. ## When to suppress errors