I'm trying to write a series of custom enrichers whose values are set dynamically at run-time. In other words, they are not just looking up "static" values from the environment being logged.
To make that work I need to be able to determine which enrichers are present in a given Serilog configuration so that I can write values to them. I've been unable to find a way to list the enrichers that are present. Is it possible to do so?
If there's a different way of being able to inject values dynamically into the pipeline I'd be interested in hearing about it. I've built something to do that using LogContext but I'm hoping to simplify things (which is why I was looking into using enrichers).