powered by
log_error() does not stop the execution of the script, but it does print the message to stderr.
log_error()
log_error(message)
A message printed to stderr and an invisible character string copy of the entire log error message.
A string containing a message to log.
Other log: log_message(), log_total_time(), survey_log()
log_message()
log_total_time()
survey_log()
log_error("This is an error message")
Run the code above in your browser using DataLab