vrahane commented on code in PR #3400:
URL: https://github.com/apache/mynewt-core/pull/3400#discussion_r2082353827


##########
sys/log/full/include/log/log.h:
##########
@@ -204,6 +309,16 @@ STATS_SECT_END
 #define LOG_STATS_INCN(log, name, cnt)
 #endif
 
+/* Trailer support callbacks */
+struct log_trailer_handler {
+    log_trailer_len_func_t *log_trailer_len;
+    log_trailer_data_len_func_t *log_trailer_data_len;
+    log_trailer_append_func_t *log_trailer_append;
+    log_process_trailer_func_t *log_process_trailer;
+    log_trailer_mbuf_append_func_t *log_trailer_mbuf_append;
+    log_trailer_reset_data_func_t *log_trailer_reset_data;
+};

Review Comment:
   Well, we do need to flush the data. So, do you have an alternate approach in 
mind ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to