This function will print a message and stop execution of the code. This should only be used if the application should terminate.
logger.severe(msg, ..., wrap = TRUE)
set logger.setQuitOnSevere(FALSE)
to avoid terminating
the session. This is set by default to TRUE if interactive or running
inside Rstudio.
if (FALSE) { # \dontrun{
logger.severe('missing parameters')
} # }