Main Content

log_error

Error level status message

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"
Introduced in R2021b