log_tictoc {logger}R Documentation

Tic-toc logging

Description

Tic-toc logging

Usage

log_tictoc(..., level = INFO, namespace = NA_character_)

Arguments

...

passed to log_level

level

see log_levels

namespace

x

Author(s)

Thanks to Neal Fultz for the idea and original implementation!

Examples

## Not run: 
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')

## End(Not run)

[Package logger version 0.3.0 Index]