resharper-structured-logging
resharper-structured-logging copied to clipboard
Possibility for configuring custom InconsistentLogPropertyNaming
Discussed in https://github.com/olsh/resharper-structured-logging/discussions/50
Originally posted by corey-re-leased November 4, 2021 Hi,
Within our team, we use prefixes to our Log Properties to allow for filtering in Serilog Seq.
This is demonstrated below:
_logger.LogInformation("Starting Execution of {RLS_FunctionName}", functionName);
Unfortunately, this is leading to InconsistentLogPropertyNaming message: suggested name is RlsFunctionName
I was wondering whether you could implement some sort of configuration to exclude some custom LogPropertyNaming patterns?
Thanks, Corey