Function workflow_log::pipe

source ·
pub fn pipe(sink: Option<Arc<dyn Sink>>)
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)