A scrolling log output, ideal for status messages, debug info, or activity
feeds. Use log_write() to append lines from handlers.
Examples
if (FALSE) { # \dontrun{
quick_app(
layout = vstack(
log_view(id = "logs", max_lines = 500),
button("Add log", id = "add"),
id = "root"
),
on_click = list(
add = function(event, state) {
log_write(state$app, "logs", paste("Event at", Sys.time()))
# Rich markup is supported
log_write(state$app, "logs",
"[green]OK[/green] Operation complete", markup = TRUE)
state
}
)
)
} # }
