use shinyreactlog pkg directly

This commit is contained in:
Barret Schloerke
2018-09-18 10:24:17 -04:00
parent 47c61756e6
commit 5449de1a67

View File

@@ -95,8 +95,7 @@ renderReactLog <- function(sessionToken = NULL, time = TRUE) {
#' @importFrom utils getFromNamespace
writeReactLog <- function(file=stdout(), sessionToken = NULL) {
check_shinyreactlog()
writeReactLog <- getFromNamespace("write_reactlog", "shinyreactlog")
writeReactLog(
shinyreactlog::write_reactlog(
rLog$asList(),
file = file,
session_token = sessionToken