esp-idf/components/log/include
Ivan Grokhotkov 527be440f8 log: fix preprocessor comparison against an enum value
Fix `#if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO)` which is always false and
produces a warning with -Wundef.

Use same pattern to compare LOG_LOCAL_LEVEL with ESP_LOG_INFO as is used
in definition of `ESP_LOG_BUFFER_HEX_LEVEL` and
`ESP_LOG_BUFFER_CHAR_LEVEL`.

Also reformat existing definitions for better readability.

Closes https://github.com/espressif/esp-idf/issues/1526
2018-01-28 19:45:25 +08:00
..
esp_log_internal.h log: fix typos in header files 2018-01-05 16:10:58 +08:00
esp_log.h log: fix preprocessor comparison against an enum value 2018-01-28 19:45:25 +08:00