Some producers, such as tracing, don't have useful information in the log target, but do populate the log module: see #85.
While filtering based on target should be the default, could we do a separate filter for the module?
Note: it should be well-documented that this does not in interact with the shortest-first hierarchy of target filtering, and doesn't respect info!(target: "events", "echo")-style targets.
I think we could also improve the docs for level_for by using info!(target:..., ...) as an example to demonstrate the difference between targets and modules.
Some producers, such as
tracing, don't have useful information in the log target, but do populate the log module: see #85.While filtering based on target should be the default, could we do a separate filter for the module?
Note: it should be well-documented that this does not in interact with the shortest-first hierarchy of target filtering, and doesn't respect
info!(target: "events", "echo")-style targets.I think we could also improve the docs for
level_forby usinginfo!(target:..., ...)as an example to demonstrate the difference between targets and modules.