read_logs {loggit2} | R Documentation |
This function returns a data.frame
containing all the logs in the provided ndjson
log file.
read_logs(logfile = get_logfile(), unsanitizer = default_ndjson_unsanitizer)
logfile |
Path to log file. |
unsanitizer |
Unsanitizer function to run over elements in log.
Defaults to |
A data.frame
.
set_logfile(file.path(tempdir(), "loggit.log"), confirm = FALSE)
message("Test log message")
read_logs()