Function workflow_rs::log::pipe

source ·
pub fn pipe(sink: Option<Arc<dyn Sink, Global>>)
Expand description

Receives an Option with an Arced Sink trait reference and installs it as a log sink / receiver. The sink can be later disabled by invoking pipe(None)