what is log_i, where is it defined

fxkl47BF
Posts: 2
Joined: Sat Aug 24, 2024 3:23 pm

what is log_i, where is it defined

Postby fxkl47BF » Fri Aug 30, 2024 6:59 pm

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

lbernstone
Posts: 828
Joined: Mon Jul 22, 2019 3:20 pm

Re: what is log_i, where is it defined

Postby lbernstone » Sat Aug 31, 2024 4:25 pm

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

Who is online

Users browsing this forum: No registered users and 123 guests