Pulse icon indicating copy to clipboard operation
Pulse copied to clipboard

LoggerStore + NetworkLogger + Redacted + Patterns

Open wow-such-amazing opened this issue 6 months ago • 7 comments

I've extracted fields that are responsible for redacting into its own struct Redacted from NetworkLogger.Configuration. I then created an internal type Redacted.Patterns that mimics what was inside NetworkLogger itself and what was inside NetworkLogger+Redacting.

This way we can set separately Redacted struct onto the NetworkLogger and LoggerStore configurations and they would follow the same approach.

We can also set same Redacted for both if we'd like to follow the same logic in both.

Let me know what you think 🙏

Addresses https://github.com/kean/Pulse/issues/327

P.S. Sorry for spamming with many comments here 😅

wow-such-amazing avatar Apr 02 '25 11:04 wow-such-amazing