DEBUG - log should call logFunction which is reference to console.log