mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
Merge branch 'docs/esp_log_custom_cb_note' into 'master'
esp_log: add note about reentrancy for custom logging function See merge request espressif/esp-idf!15194
This commit is contained in:
@@ -88,6 +88,9 @@ esp_log_level_t esp_log_level_get(const char* tag);
|
|||||||
* output to some other destination, such as file or network. Returns the original
|
* output to some other destination, such as file or network. Returns the original
|
||||||
* log handler, which may be necessary to return output to the previous destination.
|
* log handler, which may be necessary to return output to the previous destination.
|
||||||
*
|
*
|
||||||
|
* @note Please note that function callback here must be re-entrant as it can be
|
||||||
|
* invoked in parallel from multiple thread context.
|
||||||
|
*
|
||||||
* @param func new Function used for output. Must have same signature as vprintf.
|
* @param func new Function used for output. Must have same signature as vprintf.
|
||||||
*
|
*
|
||||||
* @return func old Function used for output.
|
* @return func old Function used for output.
|
||||||
|
Reference in New Issue
Block a user