ionide / FSharp.Analyzers.SDK

Library for building custom analyzers for F# / FSAC
http://ionide.io/FSharp.Analyzers.SDK/
MIT License
74 stars 21 forks source link

Fill in arg of log #187

Closed Smaug123 closed 8 months ago

Smaug123 commented 8 months ago

Trivial one.

Numpsy commented 8 months ago

On a related note, there are Roslyn analysers about that try to detect these sorts of issues in C# code for at least MEL and Serilog, so maybe that's something useful to port? (not that I could say offhand how much effort there is in porting the message template code)

Smaug123 commented 8 months ago

The converse ("you passed a function as a logging arg") is one of the G-Research analysers; seems sensible to have this one too!