pub fn send(event_id: u16, event_type: EventType, message: &str) -> Result<()>Expand description
Sends a formatted software event.
This is a safe wrapper around CFE_EVS_SendEvent. It handles creating a
C-style format string and passing the arguments.
Only works within the context of a registered application (after
calling register). For messages outside that context (e.g.
early in init), use CFE_ES_WriteToSysLog instead.
NOTE: Due to the varargs nature of the underlying C function, this wrapper uses core::fmt
and a temporary buffer. Ensure the buffer is large enough for your event messages.