2017-01-16 22:08:35 +00:00
.. include :: ../../../components/log/README.rst
2016-10-29 21:00:30 +00:00
2016-11-10 21:50:55 +00:00
Application Example
-------------------
2017-01-19 08:16:06 +00: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 18:12:48 +00:00
2017-01-19 08:16:06 +00:00
* :example: `system/ota`
* :example: `storage/sd_card`
* :example: `protocols/https_request`
2017-01-16 22:08:35 +00:00
2016-10-29 21:00:30 +00:00
API Reference
-------------
2016-11-10 21:50:55 +00:00
Header Files
^^^^^^^^^^^^
2017-01-19 08:16:06 +00:00
* :component_file:`log/include/esp_log.h`
2016-11-10 21:50:55 +00:00
2016-11-05 16:18:25 +00: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 21:00:30 +00:00
Enumerations
^^^^^^^^^^^^
.. doxygenenum :: esp_log_level_t
Functions
^^^^^^^^^
.. doxygenfunction :: esp_log_level_set
.. doxygenfunction :: esp_log_set_vprintf
2016-10-29 21:15:27 +00:00
.. doxygenfunction :: esp_log_timestamp
2016-10-29 21:00:30 +00:00
.. doxygenfunction :: esp_log_write
2016-11-05 16:18:25 +00:00