New logging rules for .NET

Hello fellow .NET developers,

This week we released version 9.22 of our analyzers, which brings 15 new rules targeting best practices in logging code.

These rules will help you detect errors in your messages (such as mistakes in the syntax where a placeholder has not been closed, or when a placeholder does not have a suitable name) as well as performance issues or other common mistakes.

The rules are available on SonarCloud today, and will be in SonarQube 10.5 as well as future releases of SonarLint.

Don’t hesitate to give us feedback on those new rules, we always welcome the help.
Go write some Clean Code!

Denis

2 Likes