Open RalfKoban opened 2 weeks ago
When using Microsoft.Extensions.Logging.ILogger to log information, use message templates and structured logging instead of calling string.Format or interpolated strings.
Microsoft.Extensions.Logging.ILogger
string.Format
See Log message template section, described for ASP .NET Core 8.0: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-8.0#lmt
When using
Microsoft.Extensions.Logging.ILogger
to log information, use message templates and structured logging instead of callingstring.Format
or interpolated strings.