It might make more sense to put subscriber directly into the core library, for a more consistent setup. Internally, Trace_core could then have either:
nothing
a custom collector
a subscriber (or list of subscribers + tee) and a collector automatically derived from it
and provide setup functions that enforce these states consistently. That means we could add/remove subscribers on the fly if there already are subscribers or nothing.
It might make more sense to put
subscriber
directly into the core library, for a more consistent setup. Internally,Trace_core
could then have either:tee
) and a collector automatically derived from itand provide setup functions that enforce these states consistently. That means we could add/remove subscribers on the fly if there already are subscribers or nothing.