TO BE PRECISED.

logging(the_time, r_time = Sys.time(), output = NULL)

Arguments

the_time

list of times.

r_time

POSIXct, time for starting logging. Default to Sys.time().

output

character, file name used to save log information. Default to NULL, in this case an automatic name is constructed,

Value

TO BE PRECISED.

Examples


toto = list(begin = Sys.time())
toto[["end"]] =  Sys.time()
logging(toto)
#> [1] "Running time for total treatments: 0 secs "

output = file.path(tempdir(), "toto.log")
logging(toto, output = output)
#> output saved to /tmp/RtmpUcgZxt/toto.log.
#> [1] "Running time for total treatments: 0 secs "