-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interpolated string in log functions #49
Comments
Interesting - probably yes, but one I would prefer to have would be "not all templated args have been given values". |
That would be something like warn for |
Yes, exactly. |
There's a whole family of these sort of things in NetAnalyers, e.g. Also - some related things in this Serilog Analyzer - https://github.com/Suchiman/SerilogAnalyzer#serilog003-property-binding-verifier (I don't know if there's any general view on porting Roslyn analyzers, or how such things should be grouped.) |
Related to https://g-research.github.io/fsharp-analyzers/analyzers/LoggingArgFuncNotFullyAppliedAnalyzer.html
Would it be interesting to also have an analyzer that detects a log call with a single interpolated string?
Instead of using the log message template.
Would do you think @Smaug123?
The text was updated successfully, but these errors were encountered: