Almost every logger in java operates this way. You set your library logging to debug and the end user and configure if they want debug logs from your library or not. They can even set context variables.
bgoosman•1h ago
Wasn't OpenTelemetry invented for this purpose?
cowlby•1h ago
This feels a bit like a pub/sub pattern; I wonder what it would look like with a full pub/sub implementation.
malfist•1h ago