We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e676676 + 750c8c0 commit 2e33dbfCopy full SHA for 2e33dbf
components/log/log.c
@@ -164,7 +164,7 @@ void esp_log_level_set(const char* tag, esp_log_level_t level)
164
#ifdef LOG_BUILTIN_CHECKS
165
assert(i == 0 || s_log_cache[(i - 1) / 2].generation < s_log_cache[i].generation);
166
#endif
167
- if (s_log_cache[i].tag == tag) {
+ if (strcmp(s_log_cache[i].tag,tag) == 0) {
168
s_log_cache[i].level = level;
169
break;
170
}
0 commit comments