I found the problem! Logs don't appear in the interactive console (which is located on the bottom), but in the Current Log window instead! You can access it through
Develop > Show Error Console or the rightmost source icon in the Web Inspector.
So strange! Is it that hard to get simple output in the console, like