Use function pointer when choosing qa output function

Replace the chain of if/else statements deciding which output formatting
function to use with a function pointer wrt comments by vapier
1 file changed