console.log() doesn't work in Safari 6.0 Web Inspector

mko picture mko · Aug 18, 2012 · Viewed 25.4k times · Source
console.log('hi');

undefined

Is there any similar implementation in 6.0? or Did I do something wrong?

Answer

Marquizzo picture Marquizzo · May 24, 2016

Make sure that you're selecting "All" at the top of your console window. Sometimes it'll automatically switch to only show Errors, Warnings, or Logs. If you select "All", then you should see all your console.log()s!

enter image description here