68 lines
1.4 KiB
ReStructuredText
68 lines
1.4 KiB
ReStructuredText
.. include:: ../../../components/log/README.rst
|
|
|
|
Application Example
|
|
-------------------
|
|
|
|
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:
|
|
|
|
* :example:`system/ota`
|
|
* :example:`storage/sd_card`
|
|
* :example:`protocols/https_request`
|
|
|
|
API Reference
|
|
-------------
|
|
|
|
Header Files
|
|
^^^^^^^^^^^^
|
|
|
|
* :component_file:`log/include/esp_log.h`
|
|
|
|
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
|
|
|
|
Enumerations
|
|
^^^^^^^^^^^^
|
|
|
|
.. doxygenenum:: esp_log_level_t
|
|
|
|
Functions
|
|
^^^^^^^^^
|
|
|
|
.. doxygenfunction:: esp_log_level_set
|
|
.. doxygenfunction:: esp_log_set_vprintf
|
|
.. doxygenfunction:: esp_log_timestamp
|
|
.. doxygenfunction:: esp_log_write
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|