Logging to file fails in R package logger if called from inside of a function
I am new to the R package logger. However, it looks very useful and the code that I have to maintain uses it. The following code prepares logging to the console and logging to a file.