docs icon indicating copy to clipboard operation
docs copied to clipboard

Explanations required for this rule.

Open franckleveque opened this issue 1 year ago • 0 comments

[Enter feedback here] Hi,

It would be great to have an explanation on WHY this rule is in effect, I understand that positional parameter can be harmful in lengthy log message but not in short ones. So I don't really understand why I should force named parameter when I have only three parameters in my log.

ie : this.logger.LogInformation("Cache entry {0}_{1} exists : {2}", CacheId, requestId, result);


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

franckleveque avatar Aug 03 '22 08:08 franckleveque