log_error: Wrapper around log_message for ERROR messages in the log

View source: R/log-core.R

log_errorR Documentation

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)

Arguments

message

A string containing a message to log.

Value

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

See Also

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

Examples

log_error("This is an error message")

strata documentation built on April 12, 2025, 2:20 a.m.