Description Usage Arguments See Also Examples
log_output
logs output of a function into log entry body
and uses deparsed function call as the event name.
1 | log_output(..., type = "OUTPUT", status = "FIRED", params = NULL)
|
... |
A function call that is evaluated, coerced into character string, collapsed and pasted as multi-line text into log entry body. Deparsed function call is used as the event name in log entry header. |
type |
A character string. A type of the event.
Default is |
status |
A character string. A status of the event.
Default is |
params |
A list of additional named event-specific parameters.
Default is |
Other logging events functions: log_event
,
log_message
, log_started
,
log_test
, log_value
1 2 3 4 5 6 7 8 9 10 11 12 | if (interactive()) {
set_logging()
shiny::shinyApp(
ui = shiny::fluidPage(log_init()),
server = function(input, output) {
set_logging_session()
log_output(NROW(mtcars))
log_output(head(mtcars))
}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.