| read_logs | R Documentation |
This function returns a data.frame containing all the logs in the provided
ndjson log file. If no explicit log file is provided, calling this function
will return a data frame of the log file currently pointed to by the loggit
functions.
read_logs(logfile, unsanitizer)
logfile |
Path to log file. Will default to currently-set log file. |
unsanitizer |
Unsanitizer function to use. For more info on sanitizers, please see the sanitizers section of the package documentation. |
A data.frame.
set_logfile(file.path(tempdir(), "loggit.log"), confirm = FALSE)
message("Test log message")
read_logs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.