destructurama / attributed

Use attributes to control how complex types are logged to Serilog.
Apache License 2.0
269 stars 33 forks source link

Support string enumerables in LogReplacedAttribute #117

Closed EricStG closed 2 months ago

EricStG commented 5 months ago

Is your feature request related to a problem? Please describe.

We have a class similar to

public class Something
{
    [LogReplaced(Regex, Replacement)]
    public ICollection<string> Secrets { get; set; } = [];
}

We want LogReplaced to apply to all elements of the array

Describe the solution you'd like

Support string enumerable, just like LogMaskedAttribute does

github-actions[bot] commented 4 months ago

This issue was marked as stale since it has not been active for a long time