log_total_time: Print time difference in a standard message for logging...

View source: R/log-core.R

log_total_timeR Documentation

Print time difference in a standard message for logging purposes

Description

Print time difference in a standard message for logging purposes

Usage

log_total_time(begin, end)

Arguments

begin

A data-time object, signifying the beginning or a process

end

A data-time object, signifying the end of a process

Value

A numeric value of the time difference in seconds

See Also

Other log: log_error(), log_message(), survey_log()

Examples

begin <- Sys.time()
# do something
end <- Sys.time() + 999
log_total_time(begin, end)

strata documentation built on April 12, 2025, 2:20 a.m.