Looking at the SEQ Serilog documentation and there is documentation on destructuring and creating custom ITextFormatter which seems like the place to start, but I would like to know if and how it would be possible to change the underlying log serialization say to UTF8, UTF32, Unicode, etc.
Possible? Impact to current log raw serialization if it is possible to change it.
I am using Seq 5.1.3004 currently
WriteTo.Sanitize(wt => wt.Seq(...))where theSanitizebit would need to be your own code that uses some kind of logic to identify potential XSS content in messages and property names/values, and performs some kind of dynamic replacement. It's tough to do correctly, though - hence we make very sure that Seq handles displaying of untrusted log data carefully.