Closed conradludgate closed 2 years ago
I don't exactly recall, but if I'm pretty sure that HierarchicalLayer
only implements has an S: fmt::Debug
bound when it itself is also Debug. This mimics how tracing_subscriber::fmt::Layer
does things, albeit with a slightly different declaration.
Is this giving you any issues?
Not directly, but it does make it harder to pair this layer with others that might not implement debug.
I think the debug requirement for Layer should be moved to the debug imply itself
yeah, i'm not opposed to that change. i don't think that moving the debug implementation is a breaking change to a separate impl block, but i'll confirm.
Resolved by #46.
Is there any reason why the
HeirarchicalLayer
needs theS: fmt::Debug
bound? The code doesn't seem to use it anywhere