Last Updated: February 25, 2016
·
1.842K
· matiaskorhonen

Extremely thin console.log wrapper

window.log = ->
  if typeof(console) != "undefined" && console.log
    if arguments.length == 1
      console.log(arguments[0])
    else
      console.log(arguments)