ESPHome 2026.5.1
Loading...
Searching...
No Matches
script.cpp
Go to the documentation of this file.
1#include "script.h"
2#include "esphome/core/log.h"
3
4namespace esphome::script {
5
6static const char *const TAG = "script";
7
8#ifdef USE_STORE_LOG_STR_IN_FLASH
9void ScriptLogger::esp_log_(int level, int line, const __FlashStringHelper *format, const char *param) {
10 esp_log_printf_(level, TAG, line, format, param);
11}
12#else
13void ScriptLogger::esp_log_(int level, int line, const char *format, const char *param) {
14 esp_log_printf_(level, TAG, line, format, param);
15}
16#endif
17
18} // namespace esphome::script
void esp_log_(int level, int line, const __FlashStringHelper *format, const char *param)
Definition script.cpp:9
const char int line
Definition log.h:74
const char int const __FlashStringHelper * format
Definition log.h:74
void HOT esp_log_printf_(int level, const char *tag, int line, const char *format,...)
Definition log.cpp:21