resharper-structured-logging
resharper-structured-logging copied to clipboard
An extension for ReSharper and Rider that highlights structured logging templates and contains some useful analyzers
The [`Microsoft.Extensions.Logging.LoggerMessage`](https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.loggermessage?view=dotnet-plat-ext-6.0) static class provides several overloaded `Define` and `DefineScope` methods. The `string formatString` argument of these methods should be included in the analysis performed by this plugin.
### 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...
There doesn't seem to be any syntax highlighting for F# code, are there any plans to add F# support? Thanks!
# Hi! Can you implement log row hiding, something like this? Naturally, hiding must be optional and works until pointer isn't on this row.
["Complex objects with default ToString() implementation probably need to be destructured"](https://github.com/olsh/resharper-structured-logging/blob/master/rules/ComplexObjectDestructuringProblem.md) warning is shown when object inherit overriden `ToString` from base class different from `object`: ```csharp public class A {...
Thanks for your great plugin 👍🏼 Here is a video showing the issue in Rider 2023.3 EAP 7 https://github.com/olsh/resharper-structured-logging/assets/272612/87d96ae3-eee4-4e7b-9c2b-1b5cee129f26
In addition to #64, it would be great to also support the Message Property of LoggerMessageAttribute (Autogenerates the LoggerMessage.Define calls) See https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator#basic-usage for reference
Is support for the zero allocation ZLogger planned? https://github.com/Cysharp/ZLogger
The SdkVersion in Directory.Build.props has been updated from version 2023.3.2 to 2024.1.0-eap01. This update is in line with the latest SDK changes and aims to maintain compatibility.
Fixes #113