nblumhardt, to random

Aiming for a more complete redaction example than otherwise exists out there; spot anything that I've missed? 🙏 https://github.com/nblumhardt/serilog-redaction

bitbonk,
@bitbonk@mastodon.social avatar

@nblumhardt So in general for redaction, the suggested approach is I write my own custom redacting sink?
Would it be worth to put all the redaction functionality into a reusable package?

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

@nblumhardt We have a type that does not override ToString(). But we always want it to be serialized as a specific string in . Does Serilog have means to achieve that?
I know about Destructure.ByTransforming but that will require the @ operator in the log template, which is easy to forget. We would prefer that it is not required for that type.

robrich, to dotnet
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • InstantRegret
  • mdbf
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • cubers
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • anitta
  • Durango
  • everett
  • ethstaker
  • cisconetworking
  • Leos
  • provamag3
  • modclub
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • normalnudes
  • lostlight
  • All magazines