Possibility for configuring custom InconsistentLogPropertyNaming #50
corey-re-leased
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hi Corey, So, I suppose it should be an array of patterns (regexes) that if a message matches one of these regexes then the analyzer should be disabled for the message template? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@corey-re-leased |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions