Only log info if console is exist