Windows
World of Goo uses standard OutputDebugString calls, so you can view them with a utility like DbgView.
Linux
The game creates a logfile in $HOME/.WorldOfGoo/WorldOfGoo.log. Note that this is overwritten each time you run the game.
Mac
Unknown?