pub fn activate()Expand description
Activate the thread-local collector on the current thread.
Any subsequent [emit] calls accumulate into the buffer until drain
is called. Calling activate while a collector is already active discards
the existing events and starts fresh.