only include calls to console.log if explicitly requested