logging_stop_timer {mbg}R 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)


[Package mbg version 1.1.0 Index]