How to mask debugging information or set log levels?

I created a project for the esp8266-rtos SDK framework using the PlatformIO plug-in in VScode. When I turned on the wifi function, a lot of debugging information appeared.
How can I mask this debugging information?Can log levels be configured in the configuration file?image

Are you sure you are not printing it yourself?

The only reference to this string is in an example code:

grep -r "event %" .
./examples/wifi_station_machine_demo/user/wifi_state_machine.c:    //os_printf("[WiFi] event %u\n", event->event_id);

Show full minimal example which produces these log outputs please.

Thank you!I am careless。

1 Like