write_ndjson {loggit2}R Documentation

Write ndJSON-formatted log file

Description

Write ndJSON-formatted log file

Usage

write_ndjson(
  log_df,
  logfile = get_logfile(),
  echo = get_echo(),
  overwrite = FALSE
)

Arguments

log_df

A data.frame. Entries are converted to ndjson, with the columns as the fields.

logfile

Path of log file to write to.

echo

Should the log entry (json) be echoed to stdout as well?

overwrite

Overwrite previous log file?

Value

Invisible NULL.


[Package loggit2 version 2.3.0 Index]