Initializes the log directory for the session. It creates a new directory if it does not exist.
Examples
SE <- as.environment(list(session = list(token = "asdf")))
init_log_dir(SE)
#> 2025-11-05 21:03:27.60 Start: init_log_dir
#> 2025-11-05 21:03:27.60 Logdir: /tmp/RtmpURQd3U/FastRet/asdf
dir.exists(SE$logdir)
#> [1] TRUE