resharper-structured-logging icon indicating copy to clipboard operation
resharper-structured-logging copied to clipboard

An extension for ReSharper and Rider that highlights structured logging templates and contains some useful analyzers

Results 14 resharper-structured-logging issues
Sort by recently updated
recently updated
newest added

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.

help wanted

### 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!

help wanted

# Hi! Can you implement log row hiding, something like this? Naturally, hiding must be optional and works until pointer isn't on this row.

enhancement
help wanted

["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

help wanted

Is support for the zero allocation ZLogger planned? https://github.com/Cysharp/ZLogger

enhancement

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.