Add logging to timer.