You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to dynamically create layers for different logging mechanisms. I found out that EnvFilter does not work (i.e. no logging at all is done) when a Vec<Box<dyn Layer>> is used.
Bug Report
Version
Platform
Darwin local22.6.0 Darwin Kernel Version 22.6.0
Description
I need to dynamically create layers for different logging mechanisms. I found out that
EnvFilter
does not work (i.e. no logging at all is done) when aVec<Box<dyn Layer>>
is used.For example,
The problem seems related to passing the layer inside a
Vec
because the following code does produce log events:The text was updated successfully, but these errors were encountered: