Using esp_log_set_vprintf() function

Posts: 50
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 ... main.c#L40 that works out of the box.

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

Who is online

Users browsing this forum: Google [Bot], PeterR and 27 guests