setup_default_logging function

Setup Default Logging

Setup Default Logging

Sets up default logging. Usage of logging is currently being explored as the current setup cannot log stan errors or progress.

setup_default_logging( logs = tempdir(check = TRUE), mirror_epinow = FALSE, target_date = NULL )

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.

Returns

No return value, called for side effects

Examples

setup_default_logging()