pub fn report(outcome: &Outcome) -> Option<i32>
Logs the outcome and returns the exit code the daemon must exit with, if any.