summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVo Trung Chi <chi.votrung@vn.bosch.com>2019-09-02 12:31:36 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-09-02 14:31:36 +0900
commit2ac98deee151aa56de5025dac8f5d2230095bda7 (patch)
tree1916f68fa24a100b27d00f11cd6183c6c619ec1d /include
parent976746f28e1c4c0a6ee24bf3f94ce66b890b3898 (diff)
downloadDLT-daemon-2ac98deee151aa56de5025dac8f5d2230095bda7.tar.gz
libdlt: truncate the log message if it is too long (#156) (#157)
Change the behavior of dlt_user_log_write_string, dlt_user_log_write_constant_string and dlt_user_log_write_utf8_string so that they truncate the incoming message if it is too big and add "Message truncated, too long" at the end of it. These function should anyway still return an DLT_RETURN_USER_BUFFER_FULL error in this case. Signed-off-by: Nguyen Dinh Thi (RBVH/ENG2) <Thi.NguyenDinh@vn.bosch.com> Signed-off-by: Vo Trung Chi <chi.votrung@vn.bosch.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions