console.log for the document