Using esp_log_set_vprintf() function

papaluna
Posts: 45
Joined: Tue Jan 30, 2018 11:27 am

Re: Using esp_log_set_vprintf() function

Postby papaluna » Fri Mar 15, 2019 10:34 am

How does this work ?
I've tried using it inside my code but _log_remote_fp and fileno are undefined.
Also, how many logs can the file hold up ? When does it start deleting old logs ?
I had provided the code snippets to get you started.

This is an example ESP-IDF project in the Starter Kit https://github.com/pantaluna/esp32-mjd- ... main.c#L40 that works out of the box.

The max number of log entries depends on the partition size.
--
Paul.

Who is online

Users browsing this forum: Baidu [Spider], luisonoff and 21 guests