Log current document name to console.