Make the selector in genericElements.log() optional.