2017-01-16 17:08:35 -05:00
.. include :: ../../../components/log/README.rst
2016-10-29 17:00:30 -04:00
2016-11-10 16:50:55 -05:00
Application Example
-------------------
2017-01-19 03:16:06 -05:00
Log library is commonly used by most of esp-idf components and examples. For demonstration of log functionality check :idf: `examples` folder of `espressif/esp-idf <https://github.com/espressif/esp-idf> `_ repository, that among others, contains the following examples:
2017-01-17 13:12:48 -05:00
2017-01-19 03:16:06 -05:00
* :example: `system/ota`
* :example: `storage/sd_card`
* :example: `protocols/https_request`
2017-01-16 17:08:35 -05:00
2016-10-29 17:00:30 -04:00
API Reference
-------------
2016-11-10 16:50:55 -05:00
Header Files
^^^^^^^^^^^^
2017-01-19 03:16:06 -05:00
* :component_file:`log/include/esp_log.h`
2016-11-10 16:50:55 -05:00
2016-11-05 12:18:25 -04:00
Macros
^^^^^^
.. doxygendefine :: LOG_COLOR_E
.. doxygendefine :: LOG_COLOR_W
.. doxygendefine :: LOG_COLOR_I
.. doxygendefine :: LOG_COLOR_D
.. doxygendefine :: LOG_COLOR_V
.. doxygendefine :: LOG_RESET_COLOR
.. doxygendefine :: LOG_FORMAT
.. doxygendefine :: LOG_LOCAL_LEVEL
.. doxygendefine :: ESP_EARLY_LOGE
.. doxygendefine :: ESP_EARLY_LOGW
.. doxygendefine :: ESP_EARLY_LOGI
.. doxygendefine :: ESP_EARLY_LOGD
.. doxygendefine :: ESP_EARLY_LOGV
.. doxygendefine :: ESP_LOGE
.. doxygendefine :: ESP_LOGW
.. doxygendefine :: ESP_LOGI
.. doxygendefine :: ESP_LOGD
.. doxygendefine :: ESP_LOGV
Type Definitions
^^^^^^^^^^^^^^^^
.. doxygentypedef :: vprintf_like_t
2016-10-29 17:00:30 -04:00
Enumerations
^^^^^^^^^^^^
.. doxygenenum :: esp_log_level_t
Functions
^^^^^^^^^
.. doxygenfunction :: esp_log_level_set
.. doxygenfunction :: esp_log_set_vprintf
2016-10-29 17:15:27 -04:00
.. doxygenfunction :: esp_log_timestamp
2016-10-29 17:00:30 -04:00
.. doxygenfunction :: esp_log_write
2016-11-05 12:18:25 -04:00