Registry / logging / slog-stream

slog-stream

JSON →
library1.2.1rscratesunverified

Provides an io::Write streamer for the slog logging framework.

# Cargo.toml [dependencies] slog-stream = "1.2.1"
INSTALL
IMPORT
SIG · SLOG-STREAM
S
slog-stream
loggingrustv1.2.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.

Streamer
✓ use slog_stream::Streamer;

Creates a slog drain that writes to stdout.

use slog_stream::Streamer; use slog::Drain; fn main() { let drain = Streamer::new(std::io::stdout()).build(); let logger = slog::Logger::root(drain, slog::o!()); info!(logger, "Hello from slog-stream!"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
Amazon
1
OpenAI (training)
1
Resources
slog-stream — cargo add slog-stream · libregistry