add time to logger