logging_stop_timer: End logging timer

View source: R/logging.R

logging_stop_timerR Documentation

End logging timer

Description

End a nested timer

Usage

logging_stop_timer(echo = TRUE)

Arguments

echo

(logical(1), default = TRUE) Should the message be written to screen?

Examples

mbg::logging_start_timer(msg = 'Test logging')
Sys.sleep(0.1)
mbg::logging_stop_timer()
log_results <- mbg::logging_get_timer_log()
print(log_results)


mbg documentation built on April 4, 2025, 2:06 a.m.