Log visited classes.