Logging docs, use console.log by default