Registry / logging / slog
library2.8.2rscratesunverified

Structured, extensible, composable logging for Rust.

# Cargo.toml [dependencies] slog = "2.8.2"
INSTALL
IMPORT
SIG · SLOG
S
slog
loggingrustv2.8.2
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.

Logger
use slog::Logger;

Creates a root logger that discards all log records.

use slog::Logger; use slog::Drain; fn main() { let drain = slog::Discard; let _logger = Logger::root(drain, o!()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.8.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
40
Amazon
1
Resources
slog — cargo add slog · libregistry