shinyEventLogger icon indicating copy to clipboard operation
shinyEventLogger copied to clipboard

log_started/log_done unit is incorrect

Open dwhdai opened this issue 5 years ago • 0 comments

The current units of task duration is always set to "secs".

set_logging(js_console = FALSE) shinyApp( ui = shiny::fluidPage(), server = function(input, output) { set_logging_session() log_started("Event 1") Sys.sleep(1) log_started("Event 2") Sys.sleep(120) log_done("Event 2") Sys.sleep(1) log_done("Event 1") } )

|#1|EVENT|Event 1|STARTED| |#2|EVENT|Event 2|STARTED| |#2|EVENT|Event 2|DONE| |#2|PARAMS|list(secs = 2.03) |#1|EVENT|Event 1|DONE| |#1|PARAMS|list(secs = 2.07)

dwhdai avatar Jul 22 '19 18:07 dwhdai