Closed dbontemps closed 9 months ago
Sorry, I did not master the process, my code example does not distinguish between code and outputs...
Thanks for raising this -- seems like the file
arg of appender_tee
was not forced. Please try the dev version of the pkg, and report back.
With R 4.1.2 and logger 0.2.2.
It seems that if you set up you appender_file using a variable to store the file name, it is not correctly set up unless a log is committed before the variable is deleted.
This can also cause problem when setting up a logging system inside an auxiliary "log_init' function.
Here some examples in my Rstudio R console:
It may seem secondary but it is probably related : log_appender() does not give a reliable information about the log setting. I was not able to get a precise report about it.