mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-27 05:37:32 +00:00
34 lines
613 B
C
34 lines
613 B
C
/*
|
|
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
#include "esp_log_config.h"
|
|
#include "log_message.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Format log message.
|
|
*
|
|
* @param message Pointer to log message structure.
|
|
*/
|
|
void esp_log_format(esp_log_msg_t *message);
|
|
|
|
#if ESP_LOG_MODE_BINARY_EN
|
|
/**
|
|
* @brief Format log message in binary mode.
|
|
*
|
|
* @param message Pointer to log message structure.
|
|
*/
|
|
void esp_log_format_binary(esp_log_msg_t *message);
|
|
#endif // ESP_LOG_MODE_BINARY_EN
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|