You mean via the Run JavaScript action or Run Shellscript with JavaScript as the language?
For the former, I believe anything you log goes to the normal Console log. For shellscripts, it will capture stdout and stderr and print them in Hazel's log if you enable debug mode.