1 /* 2 * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * This is a STUB FILE used when compiling ESP-IDF to run tests on the host system. 7 * The source file used normally for ESP-IDF has the same name but is located elsewhere. 8 */ 9 #include <stdio.h> 10 #include <stdlib.h> 11 #include <stdarg.h> 12 #include <time.h> 13 14 #include "esp_log.h" 15 esp_log_write(esp_log_level_t level,const char * tag,const char * format,...)16void esp_log_write(esp_log_level_t level, 17 const char *tag, 18 const char *format, ...) 19 { 20 va_list arg; 21 va_start(arg, format); 22 vprintf(format, arg); 23 va_end(arg); 24 } 25 esp_log_timestamp(void)26uint32_t esp_log_timestamp(void) 27 { 28 return 0; 29 } 30