Page 1 of 1

what is log_i, where is it defined

Posted: Fri Aug 30, 2024 6:59 pm
by fxkl47BF
i recently got a new ai-thinker and loaded camerwebserver
works great
now i'm trying to modify the program
i see a lot of log_e and log_i statements but no definition
can someone offer a little enlightenment
i'm using arduino 1.8.19
i've tried enabling various debug options in tools but no difference

Re: what is log_i, where is it defined

Posted: Sat Aug 31, 2024 4:25 pm
by lbernstone
log_i and log_e are part of the built in logging facility (i is info, e is error). You turn this on by setting the core debug level under the tools menu, then upload your code again. If you are not getting the logging on your console, then please describe your device environment.
https://github.com/espressif/arduino-es ... -hal-log.h