How to use ARDUHAL_SHORT_LOG_FORMAT
Posted: Thu Apr 28, 2022 7:20 pm
In esp_hal_log.h there are some changes to logging format, esp adding a millisecond timestamp by default
as I already have a logging extension in place that outputs actual timestamp in stead of milliseconds since last boot, I want to ignore this change.
esp-hal-Log.h does contain a simple format in a macro called ARDUHAL_SHORT_LOG_FORMAT but I can;t seem to find a way to make the logging use this format in stead of the ARDUHAL_LOG_FORMAT used now.
How can I do this?
as I already have a logging extension in place that outputs actual timestamp in stead of milliseconds since last boot, I want to ignore this change.
esp-hal-Log.h does contain a simple format in a macro called ARDUHAL_SHORT_LOG_FORMAT but I can;t seem to find a way to make the logging use this format in stead of the ARDUHAL_LOG_FORMAT used now.
How can I do this?