Registry / logging / slog-scope

slog-scope

JSON →
library4.4.1rscratesunverified

Logging scopes for slog-rs, enabling contextual logging.

# Cargo.toml [dependencies] slog-scope = "4.4.1"
INSTALL
IMPORT
SIG · SLOG-SCOPE
S
slog-scope
loggingrustv4.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

scope
use slog_scope::scope;

Uses slog_scope to create a logging scope with a logger.

use slog_scope::scope; fn main() { scope(|logger| { info!(logger, "Hello from scope"); }); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
Resources
slog-scope — cargo add slog-scope · libregistry