| log_errors {logger} | R Documentation |
This function uses trace to add a log_error function call when stop is called to log the error messages with the logger layout and appender.
log_errors(muffle = getOption("logger_muffle_errors", FALSE))
muffle |
if TRUE, the error is not thrown after being logged |
## Not run:
log_errors()
stop('foobar')
## End(Not run)