Write ndJSON-formatted log file
write_ndjson(
log_df,
logfile = get_logfile(),
echo = get_echo(),
overwrite = FALSE
)Invisible NULL.
A data.frame. Entries are converted to ndjson, with the columns as the fields.
A connection, or a character string naming the file to write to.
Should the log entry (json) be echoed to stdout as well?
Overwrite previous log file?