Logging messages for states

You can log user-specified messages when a state behavior is executed and use the eventDisplay block to browse the logged messages. When logging is active on a state, a red exclamation point appears next to the state name in the Header. For more information, see Logging messages.