1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

feat(log): add option to custom file/line format (#4844)

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
Neo Xu 2023-11-23 15:42:05 +08:00 committed by GitHub
parent bc6a85d4c4
commit 15752bddd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@
#endif
#if LV_LOG_USE_FILE_LINE
#define LOG_FILE_LINE_FMT "\t(in %s line #%d)"
#define LOG_FILE_LINE_FMT " %s:%d"
#define LOG_FILE_LINE_EXPR , &file[p], line
#else
#define LOG_FILE_LINE_FMT