Logging exit code from xunit.console