esp_wifi: Reduce Bin size

1. Disable WiFi API parameter checking log
2. Optimize wifi log
This commit is contained in:
xiehang
2020-02-26 11:52:20 +08:00
parent a30557ca31
commit 7569e34e89
6 changed files with 25 additions and 5 deletions

View File

@@ -125,6 +125,15 @@ uint32_t esp_log_early_timestamp(void);
*/
void esp_log_write(esp_log_level_t level, const char* tag, const char* format, ...) __attribute__ ((format (printf, 3, 4)));
/**
* @brief Write message into the log, va_list variant
* @see esp_log_write()
*
* This function is provided to ease integration toward other logging framework,
* so that esp_log can be used as a log sink.
*/
void esp_log_writev(esp_log_level_t level, const char* tag, const char* format, va_list args);
/** @cond */
#include "esp_log_internal.h"