Added a time logger