serilog-contrib / Serilog.Enrichers.Sensitive

A Serilog LogEvent enricher that masks sensitive data
MIT License
114 stars 23 forks source link

Support masking properties that have a Uri as the value #32

Closed sandermvanvliet closed 1 year ago

sandermvanvliet commented 1 year ago

Reported in #31 by @yadanilov19

This PR adds support for masking log messages that have a property which is a Uri instance.

Serilog treats Uri as a built-in type which means it's not automatically covered by the automatic string conversion for other property value types.