namespace ZB.MOM.WW.Telemetry.Serilog; /// /// Seam for project-specific log-event redaction. The shared library applies this via /// ; each project provides its own implementation that knows which /// fields (by property name) or which command payloads must not leave the process in log events. /// If no is registered in DI, is a no-op. /// public interface ILogRedactor { /// /// Inspects and mutates the supplied log-event in place — remove /// or replace any sensitive values. Called on every log event before it reaches any sink. /// /// The mutable property dictionary for the current log event. void Redact(IDictionary properties); }