Main Content

log_error

Error level status message

Since R2021b

Syntax

void log_error(const std::string & msg)

Arguments

msg

The message to display in the system log.

Description

Use this function to log the message msg in the system log as error log level. For an example, see Add Custom Messages to System Log.

Languages

C++

Include

#include "slrt_log.hpp"

Version History

Introduced in R2021b