Skip to main content

Crate faucet_sink_stdout

Crate faucet_sink_stdout 

Source
Expand description

§faucet-sink-stdout

Stdout/stderr sink connector for the faucet-stream ecosystem.

Writes each serde_json::Value record to the chosen standard stream in one of three formats: JSON Lines (default), pretty-printed JSON, or tab-separated values. Useful for debugging, examples, the upcoming faucet preview CLI workflow, and ad-hoc inspection.

Re-exports§

pub use config::StdStream;
pub use config::StdoutFormat;
pub use config::StdoutSinkConfig;
pub use sink::StdoutSink;

Modules§

config
Stdout/stderr sink configuration.
sink
Stdout/stderr sink implementation.

Enums§

FaucetError
All possible errors returned by faucet-stream.

Traits§

Sink
A sink writes records to an external system.