does console exist? then console.log, otherwise noop?