Main Content

log_warning

Warning level status message

Since R2021b

Syntax

void log_warning(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 warning log level. For an example, see Add Custom Messages to System Log.

Languages

C++

Include

#include "slrt_log.hpp"

Version History

Introduced in R2021b