diff options
Diffstat (limited to 'include/dlt/dlt_user_macros.h')
-rw-r--r-- | include/dlt/dlt_user_macros.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dlt/dlt_user_macros.h b/include/dlt/dlt_user_macros.h index 20f605d..c8551b1 100644 --- a/include/dlt/dlt_user_macros.h +++ b/include/dlt/dlt_user_macros.h @@ -202,6 +202,14 @@ extern DltContext CONTEXT; }) /** + * Add utf8-encoded string parameter to the log messsage. + * @param TEXT UTF8-encoded string + */ +#define DLT_UTF8(TEXT) ({ \ + dlt_user_log_write_utf8_string(&log,TEXT); \ + }) + +/** * Add boolean parameter to the log messsage. * @param BOOL_VAR Boolean value (mapped to uint8) */ |