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

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



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.


Logical, defaults to FALSE. Should internal logging be returned from epinow to the console.


Date, defaults to maximum found in the data if not specified.


#> Logging threshold set at INFO for the EpiNow2 logger
#> Writing EpiNow2 logs to the console and: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//RtmpqbXERq/regional-epinow/latest.log
#> Logging threshold set at INFO for the EpiNow2.epinow logger
#> Writing EpiNow2.epinow logs to: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//RtmpqbXERq/epinow/latest.log