log_file_ops | R Documentation |
Create the necessary file infrastructure to efficiently start logging with "log4r".
log_file_ops(dir_path = NULL, logfile_nm = "logfile")
dir_path |
The name of the folder in which the logfile should be saved. Creates the folder if required. |
logfile_nm |
Provide a name for the logfile. Do not include suffix. Defaults to "logfile". |
Creates log directory and log file if required. Calls log_enable() to assign necessary logging objects in specified scope.
log_file_ops(dir_path = "logs")
unlink("logs", recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.