diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dlt/dlt_user.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index 75cf9a7..0c665ab 100644 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -231,6 +231,7 @@ typedef struct int8_t verbose_mode; /**< Verbose mode enabled: 1 enabled, 0 disabled */ int8_t use_extende_header_for_non_verbose; /**< Use extended header for non verbose: 1 enabled, 0 disabled */ int8_t with_session_id; /**< Send always session id: 1 enabled, 0 disabled */ + int8_t with_timestamp; /**< Send always timestamp: 1 enabled, 0 disabled */ int8_t enable_local_print; /**< Local printing of log messages: 1 enabled, 0 disabled */ int8_t local_print_mode; /**< Local print mode, controlled by environment variable */ @@ -560,6 +561,14 @@ int dlt_use_extended_header_for_non_verbose(int8_t use_extende_header_for_non_ve int dlt_with_session_id(int8_t with_session_id); /** + * Send timestamp configuration. + * Enabled by default. + * @param with_timestamp Send timestamp id in each message if enabled + * @return negative value if no success + */ +int dlt_with_timestamp(int8_t with_timestamp); + +/** * Set maximum logged log level and trace status of application * * @param loglevel This is the log level to be set for the whole application |