Is there a way to include/print information into a shiny-server log file?
I am working with a shiny app which includes an user login and if my app crashes I would like to know what user caused this crash.
I tried to include this into my server.R
:
#PRINT FOR LOG FILE------------
cat(paste0("Username: ",userdata$name, "\n"))
cat(paste0("Datum: ",Sys.time(), "\n"))
But it doesn't work. Any ideas?