diff options
author | Martin Willers <M.Willers@gmx.net> | 2021-04-05 02:50:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 09:50:31 +0900 |
commit | e969bed805f7dba9d2fa35c56a7ace28efb67e4e (patch) | |
tree | b71c299d6f34722096c761ca93dbe738e42c9e1a /.github | |
parent | 7eb703a48c3611645397c3f78454add2d60c046b (diff) | |
download | DLT-daemon-e969bed805f7dba9d2fa35c56a7ace28efb67e4e.tar.gz |
Better formatting of RAWD (#291)
Previously, the bytes of a RAWD argument were be printed onto the console
as space-separated hex values, making it difficult or impossible to see
where the RAWD argument ends and the next argument starts. For instance,
with code like this:
dlt_user_log_write_raw(&ctxData, "data", 4);
dlt_user_log_write_uint8(&ctxData, 53);
the console output is shown as:
[64 61 54 61 53]
and there is no indication that there are two arguments, one RAWD and
one UINT8.
This patch changes for console formatting of RAW data to separate by
apostrophs, making the above message appear as:
[64'61'54'61 53]
This makes it immediately obvious that there is a RAWD argument, and
still keeps the separators quite unobtrusive.
Signed-off-by: Martin Willers <M.Willers@gmx.net>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions