47
47
"""Return a 4-tuple suitable for errorlog's use."""
48
48
offset = self._td_to_ms(self.start - self.timeline.baseline)
49
49
if self.duration is None:
54
54
# log-trace START : starts action
55
55
# timeout-trace START : raises
56
56
# log-trace FINISH is never called.
59
59
length = self._td_to_ms(self.duration)
60
60
return (offset, offset + length, self.category, self.detail)