ESPHome
2026.5.1
Loading...
Searching...
No Matches
esphome
components
script
script.cpp
Go to the documentation of this file.
1
#include "
script.h
"
2
#include "
esphome/core/log.h
"
3
4
namespace
esphome::script
{
5
6
static
const
char
*
const
TAG =
"script"
;
7
8
#ifdef USE_STORE_LOG_STR_IN_FLASH
9
void
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
13
void
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
esphome::script::ScriptLogger::esp_log_
void esp_log_(int level, int line, const __FlashStringHelper *format, const char *param)
Definition
script.cpp:9
log.h
esphome::script
Definition
script.cpp:4
esphome::line
const char int line
Definition
log.h:74
esphome::format
const char int const __FlashStringHelper * format
Definition
log.h:74
esphome::esp_log_printf_
void HOT esp_log_printf_(int level, const char *tag, int line, const char *format,...)
Definition
log.cpp:21
script.h
Generated by
1.12.0