log_message | R Documentation |
log_message()
does not stop the execution of the script, regardless of
the level of the message, and whether or not it prints to STDOUT or STDERR.
log_message(message, level = "INFO", out_or_err = "OUT")
message |
A string containing a message to log. |
level |
The level of the message (e.g. INFO, WARNING, ERROR), defaults to "INFO" but will accept any string. |
out_or_err |
Send log output to stdout or stderr, choices are |
A message printed to stdout or stderr and an invisible character string copy of the entire log message.
Other log:
log_error()
,
log_total_time()
,
survey_log()
log_message("This is an info message", "INFO", "OUT")
log_message("This is an error message", "ERROR", "ERR")
log_message("This is a warning message", "WARNING", "OUT")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.