zephyr::raw

Function z_log_msg_finalize

source
pub unsafe extern "C" fn z_log_msg_finalize(
    msg: *mut log_msg,
    source: *const c_void,
    desc: log_msg_desc,
    data: *const c_void,
)
Expand description

@brief Finalize message.

Finalization includes setting source, copying data and timestamp in the message followed by committing the message.

@param msg Message.

@param source Address of the source descriptor.

@param desc Message descriptor.

@param data Data.