# NOT RUN {
if (interactive()) {
set_logging()
shiny::shinyApp(
ui = shiny::fluidPage(log_init()),
server = function(input, output) {
set_logging_session()
log_message("Example of a message")
log_warning("Example of a warning")
log_error("Example of an error")
}
)
}
# }
Run the code above in your browser using DataLab