Prefix every log line with the time elapsed since the render started
Source:R/utils_log_timestamps.R
with_elapsed_log.Rd`verbose = TRUE` reports how long each page took, but not when anything happened, so a phase that takes a minute between two summary lines is invisible unless the whole process is piped through a stamping filter. The handler below does that inside R: each message - which is how cli writes its output - is re-emitted with an elapsed-seconds prefix.
Usage
with_elapsed_log(expr, enabled = TRUE, start = Sys.time())