Module trace

Source
Expand description

Extension trait to log properties of a command

§Example

let output = Command::new("echo")
    .arg("x")
    .trace_args(Level::DEBUG)
    .trace_status(Level::INFO)
    .trace_stdout(Level::TRACE)
    .trace_stderr(Level::WARN)
    .output()?;

Structs§

CommandTrace

Traits§

CommandExtTrace