SerilogAnalyzer Versions Save

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

0.15

5 years ago

New

  • Added support for Visual Studio 2019

Fixes

  • Fix Exception Codefix for extension methods by @GitSnafu (#39)

0.14

5 years ago

Fixes

  • Treat String.Empty as "" (#32)

0.13

6 years ago

New

  • Implemented analyzer and code fix to detect when an anonymous object is logged without destructuring hint @ #28
  • Implemented analyzer and code fix to detect when a contextual logger is created for the wrong type #29

0.12

6 years ago

Fixes

  • PascalCase refactoring wasn't handling strings with escape sequences (#24)
  • PascalCase refactoring caused an Exception when not encountering an ArgumentSyntax (#25)

0.11

6 years ago

Fixes

  • string concat refactoring was handling linebreaks incorrectly (#23)

0.10

6 years ago

New

  • Analyzer and code fix to diagnose property names in MessageTemplates that are not PascalCased, thanks to @MrKevHunter
  • Added CodeFix for Serilog004 to convert a String.Concat expression used as MessageTemplate to a constant MessageTemplate

0.9.1

7 years ago

Fixes

  • Fixes false positive (Serilog003) on custom logging abstraction when not using propertyValue naming convention #19 , thanks to @tiesmaster

0.9

7 years ago

New

  • Added CodeFix for Serilog004 to convert a String.Format or InterpolatedString expression used as MessageTemplate to a constant MessageTemplate

0.8

7 years ago

New

  • Added support for VS2017

Fixes

  • Fixes edge case crash when refactorings are requested on syntax that has similiar names to LoggerConfiguration, e.g. ReadFrom, WriteTo, ...

0.7

7 years ago

New

  • Added support for AuditTo in the configuration refactoring
  • Added extensive diagnostics for configuration generation