Adding Logger compiler pass