Standard Rust log crate adapter to slog-rs
This crate allows using slog features with code
using legacy log statements.
log crate expects a global logger to be registered
(popular one is env_logger) as a handler for all
info!(...) and similar.
slog-stdlog will register itself as log global handler and forward all
legacy logging statements to slog's Logger. That means existing logging
debug! (even in dependencies crates) work and utilize slog composable
drains.
See init() documentation for minimal working example.
Note: Whilte slog-scope provides a similiar functionality, the slog-scope and slog-stdlog
keep track of distinct logginc scopes.