Skip to main content

log_cmd

Function log_cmd 

Source
pub fn log_cmd(cmd: &Command)
Expand description

Log a command just before execution.

Emits a tracing::debug! event with the program name, arguments, and working directory. Visible when running with --verbose (which sets gitgrip=debug) or via RUST_LOG=gitgrip::util::cmd=debug.