logger.severe: Prints an severe message and stops execution.

Description Usage Arguments Details Author(s) Examples

View source: R/logger.R

Description

This function will print a message and stop execution of the code. This should only be used if the application should terminate.

Usage

1

Arguments

msg

the message that should be printed.

...

any additional text that should be printed.

Details

set logger.setQuitOnSevere(FALSE). To avoid terminating the session. This is set by default to TRUE if interactive or running inside Rstudio.

Author(s)

Rob Kooper

Examples

1
2
3
4
## Not run: 
logger.severe('missing parameters')

## End(Not run)

infotroph/PEcAn.logger documentation built on May 23, 2019, 1:09 p.m.