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)

Arguments

msg

the message that should be printed.

...

any additional text that should be printed.

wrap

Whether or not to wrap long messages (default = TRUE). If FALSE, preserve format of original string. Useful for specifically formatted error messages.

Details

Set logger.setQuitOnSevere(FALSE) to avoid terminating the session. The default is to not quit if running interactively.

Author

Rob Kooper

Examples

if (FALSE) { # \dontrun{
logger.severe('missing parameters')
} # }