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
See this repo (which I'll delete once/if this is resolved) for a repro case.
use slog::Drain;fnmain(){let decorator = slog_term::TermDecorator::new().stdout().build();let fmt = slog_term::CompactFormat::new(decorator).build().fuse();let drain = slog_envlogger::new(fmt);let(drain, _) = slog_async::Async::new(drain).build_with_guard();// changing this to `build` changes nothing about the outputlet logger = slog::Logger::root(
drain.fuse(),
slog::o!("some" => "thing",));let _ = slog_stdlog::init().unwrap();// changing this to `slog_envlogger::init` changes nothing about the output
slog_scope::scope(&logger, slog_std_env::run);}
See this repo (which I'll delete once/if this is resolved) for a repro case.
With the above running like so:
nothing from the crate (neither lib nor bin) is logged.
I saw #198 which is where I got the
build_with_guard
from, but that didn't change anything.Edit:
Running it like so:
For example, does log as expected, but once a crate/module name is introduced nothing is logged.
The text was updated successfully, but these errors were encountered: