Moving timestamp parser into every line to reduce duplication and increase clarity/flexibility