setup_default_logging: Setup Default Logging
Description
Sets up default logging. Usage of logging is currently being explored as the current setup
cannot log stan errors or progress.
Usage
setup_default_logging(
logs = tempdir(check = TRUE),
mirror_epinow = FALSE,
target_date = NULL
)
Value
No return value, called for side effects
Arguments
- logs
Character path indicating the target folder in which to store log
information. Defaults to the temporary directory if not specified. Default logging
can be disabled if logs
is set to NULL. If specifying a custom logging setup then
the code for setup_default_logging
and the setup_logging
function are a sensible
place to start.
- mirror_epinow
Logical, defaults to FALSE. Should internal logging be
returned from epinow
to the console.
- target_date
Date, defaults to maximum found in the data if not specified.