pub fn pipe_to_file(
    source: impl Read + Send + 'static,
    file_path: &str
) -> Result<(), Error>
Expand description

Pipe a streaming source implementing std::io::Read to a file in append mode.

This is used to pipe log output from a full node’s child process to log files.