log_enable: Start and stop logging
Description
Start and stop logging
Usage
log_enable(file = NULL, append = TRUE, envir = parent.frame())log_disable()
Arguments
- file
character
, file name or path to a log file
- append
logical
, if TRUE
output will be appended to an existing log file,
otherwise the log file will be replaced
- envir
log will be automatically disabled if environment
is exited,
set to NULL
to disable