24#define LOG_ICACHE_FLASH ICACHE_FLASH_ATTR
28#undef LOG_ICACHE_FLASH
31#ifndef LOG_ICACHE_FLASH
32#define LOG_ICACHE_FLASH
35#if defined(ESP8266) || defined(__AVR__) || defined(_WIN32) || \
36 defined(ESP32) || defined(SUPLA_DEVICE) || defined(SUPLA_TEST)
60typedef int (*_supla_log_callback)(
int __pri,
const char *message);
62void LOG_ICACHE_FLASH supla_log_set_callback(_supla_log_callback callback);
65void LOG_ICACHE_FLASH supla_log(
int __pri,
const char *__fmt, ...);
66void LOG_ICACHE_FLASH supla_write_state_file(
const char *file,
int __pri,
67 const char *__fmt, ...);