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