passes logger to Search().