DRYed logTimestamp