powered by
Tic-toc logging
log_tictoc(..., level = INFO, namespace = NA_character_)
passed to log_level
log_level
x
Thanks to Neal Fultz for the idea and original implementation!
if (FALSE) { log_tictoc('warming up') Sys.sleep(0.1) log_tictoc('running') Sys.sleep(0.1) log_tictoc('running') Sys.sleep(runif(1)) log_tictoc('and running') }
Run the code above in your browser using DataLab