removes unnecessary fmt::Debug bounds on HierarchicalLayer, which makes it possible to compose HierarchicalLayer with other HierarchicalLayers (#45).
Checks whether another HierarchicalLayer has already placed Data in the extensions; skipping if it's already present. This prevents the panic reported in https://github.com/tokio-rs/tracing/issues/2112.
Resolves https://github.com/tokio-rs/tracing/issues/2112; #45.
This PR does two things:
fmt::Debug
bounds onHierarchicalLayer
, which makes it possible to composeHierarchicalLayer
with otherHierarchicalLayer
s (#45).HierarchicalLayer
has already placedData
in the extensions; skipping if it's already present. This prevents the panic reported in https://github.com/tokio-rs/tracing/issues/2112.