log several things, such as whether the algorithm converged or stopped because of some other criteria.