log_write_finish

Function log_write_finish 

pub unsafe extern "C" fn log_write_finish(
    log: &mut ContextData,
) -> ReturnValue
Expand description

Finishing the generation of a DLT log message and sending it to the DLT daemon without freeing log buffer.

This function only works with combination of dlt_user_log_write_start_w_given_buffer. This function has to be called after writing all the log attributes of a log message.

  • @param log pointer to an object containing information about logging context data
  • @return Value from DltReturnValue enum