critical!() { /* proc-macro */ }Expand description
Log a critical message as a Copper structured log entry.
Accepted forms:
critical!("message {}", value)critical!(ctx, "message {}", value)
Passing a CuContext as the first argument records the
current culistid, component_id, and task_index (when present) on the structured log
entry. The message argument must be a string literal, and remaining arguments may be unnamed
expressions or named fields written as name = value.
This macro is always compiled in, regardless of the max log level setting.