CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP
Enable timestamp formatting in the backend
Type: bool
Help
When enabled timestamp is formatted to hh:mm:ss:ms,us.
Direct dependencies
(LOG_BACKEND_UART
|| LOG_BACKEND_NATIVE_POSIX
|| LOG_BACKEND_RTT
|| LOG_BACKEND_SWO
|| LOG_BACKEND_XTENSA_SIM
|| LOG_BACKEND_FS
) && !LOG_FRONTEND
&& !LOG_MODE_MINIMAL
&& LOG
(Includes any dependencies from ifs and menus.)
Default
y
Kconfig definition
At <Zephyr>/subsys/logging/Kconfig.formatting:83
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:31
→ <Zephyr>/subsys/logging/Kconfig:19
Menu path: (Top) → Sub Systems and OS Services → Logging → Output Formatting
config LOG_BACKEND_FORMAT_TIMESTAMP
bool "Enable timestamp formatting in the backend"
default y
depends on (LOG_BACKEND_UART || LOG_BACKEND_NATIVE_POSIX || LOG_BACKEND_RTT || LOG_BACKEND_SWO || LOG_BACKEND_XTENSA_SIM || LOG_BACKEND_FS) && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG
help
When enabled timestamp is formatted to hh:mm:ss:ms,us.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)