From 1cc7df718bd91575030de9777a11f69022282989 Mon Sep 17 00:00:00 2001 From: Arnfinn Hykkerud Steindal Date: Mon, 20 Jan 2025 08:53:45 +0100 Subject: [PATCH] Logg i json-format --- R/norgastApp.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R/norgastApp.R b/R/norgastApp.R index 8bc175e..45107bb 100644 --- a/R/norgastApp.R +++ b/R/norgastApp.R @@ -3,6 +3,9 @@ #' @return An object representing the NORGAST app #' @export -norgastApp <- function() { +norgastApp <- function(logAsJson = true) { + if (logAsJson) { + rapbase::loggerSetup() + } shiny::shinyApp(ui = appUi, server = appServer) }