Do this:
_logger.LogWarning("{Message}", message);
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2254
Do this:
_logger.LogWarning("{Message}", message);
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2254