Move verbose logging check to separate macro