SerilogAnalyzer icon indicating copy to clipboard operation
SerilogAnalyzer copied to clipboard

Roslyn-based analysis for code using the Serilog logging library. Checks for common mistakes and usage problems.

Results 24 SerilogAnalyzer issues
Sort by recently updated
recently updated
newest added
trafficstars

Just go this exception when I build my application. ``` Severity Code Description Project File Line Suppression State Detail Description Warning AD0001 Analyzer 'SerilogAnalyzer.SerilogAnalyzerAnalyzer' threw an exception of type 'System.ArgumentOutOfRangeException'...

It looks like the analyzer is not detecting the errors in VB .NET projects, only in C# projects... Example code in VB (no errors detected): ![image](https://user-images.githubusercontent.com/16194225/61722014-e2bb9580-ad3f-11e9-87b8-b8ef4b764248.png) --- Same code C#:...

Hi, Is there an installation guide? I have install the nuget package, and after that tried with VSIX... none of the options resulted in any analysis. Am I supposed to...

We have a quite complicated framework that uses Serilog for logging internally, but exposes the same functionality via wrapper methods. We have wrapper methods decorated with `MessageTemplateFormatMethod` and initially every...

First of all, I gotta say how amazing this analyzer is! Thank you for building it! I cannot figure out how to trigger the refactoring of the LoggerConfiguration though. Judging...

enhancement

In order to get the most value out of the log entries, property names need to be consistent for object types that are logged. For example, logging a type **User**...

Using following code `private static readonly ILogger Logger = Log.ForContext();`, invoking the refactoring will pop up an exception dialog.

Hi. I just created a console project to test out this analyzer. I cannot seeing anything in the way of tooltips etc. I have used Serilog 2.5.0 and SerilogAnalyzer 0.13.0.0,...