esp_wifi_internal_set_log_mod() function
Set current log module and submodule
Arguments
enable
enable or disable If module == 0 && enable == 0, all log modules are disabled. If module == 0 && enable == 1, all log modules are enabled. If submodule == 0 && enable == 0, all log submodules are disabled. If submodule == 0 && enable == 1, all log submodules are enabled.
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_INVALID_ARG: invalid argument