output log (console) messages to the console, or stdout.txt on windows