Compare commits

...

1 Commits

Author SHA1 Message Date
Joe Cheng
aaba9aafd0 Add session ID to graph entries 2014-08-04 20:06:26 -04:00

View File

@@ -55,8 +55,10 @@ renderReactLog <- function() {
}
.graphAppend <- function(logEntry, domain = getDefaultReactiveDomain()) {
if (isTRUE(getOption('shiny.reactlog')))
if (isTRUE(getOption('shiny.reactlog'))) {
logEntry$session <- if (is.null(domain)) NULL else domain$token
.graphEnv$log <- c(.graphEnv$log, list(logEntry))
}
if (!is.null(domain)) {
domain$reactlog(logEntry)