Ensuring Console.Outs are logged to log file even if an exception occurs.