LOGX and esp_log_set_vprintf

azz-zza
Posts: 45
Joined: Tue Sep 17, 2019 2:58 am

LOGX and esp_log_set_vprintf

Postby azz-zza » Mon Jul 20, 2020 10:29 pm

Hello,
with idf esp_log.h in order to post a message on some log level, all i need to do is to set the default log level for the etire app by CONFIG_LOG_DEFAULT_LEVEL . And regulate the level on file/component level by esp_log_level_set() with TAGs. Simple enough.
how do i achieve the same functionality with the Arduino framework?

What is the alternative to esp_log_set_vprintf? I'd like to use it to duplicate messages to MQQT server....


research so far:
1. https://desire.giesecke.tk/index.php/20 ... latformio/ - sets the log level for the entire app; log can not be controlled on per unit level
2. CORE_DEBUG_LEVEL ignores app level settings
3. https://github.com/espressif/arduino-es ... diff=split
4. https://github.com/espressif/arduino-es ... -hal-log.h

Who is online

Users browsing this forum: No registered users and 48 guests