Write the reactlog to a file. If a session token is provided, all reactive interactions will be subsetted to either the global session or the session provided.
reactlog_write(log, file = stdout(), session_token = NULL)reactlog_read() to read the file back in.
if (FALSE) { # \dontrun{
reactlog_write(shiny::reactlog(), "reactlog.json")
log <- reactlog_read("reactlog.json")
reactlog_show(log)
} # }