Learn R Programming

strata (version 1.4.3)

log_error: Wrapper around log_message for ERROR messages in the log

Description

log_error() does not stop the execution of the script, but it does print the message to stderr.

Usage

log_error(message)

Value

A message printed to stderr and an invisible character string copy of the entire log error message.

Arguments

message

A string containing a message to log.

See Also

Other log: log_message(), log_total_time(), survey_log()

Examples

Run this code
log_error("This is an error message")

Run the code above in your browser using DataLab