add time log on debug mode