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.
1 |
1 2 3 4 5 | ## Not run:
log_errors()
stop('foobar')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.