log_error
R2026bError level status message
Syntax
void log_error(const std::string & msg)
Arguments
msgThe 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"See Also
Version History
Introduced in R2021b