7 void esphome_logger(haier_protocol::HaierLogLevel level,
const char *tag,
const char *message) {
9 case haier_protocol::HaierLogLevel::LEVEL_ERROR:
12 case haier_protocol::HaierLogLevel::LEVEL_WARNING:
15 case haier_protocol::HaierLogLevel::LEVEL_INFO:
18 case haier_protocol::HaierLogLevel::LEVEL_DEBUG:
21 case haier_protocol::HaierLogLevel::LEVEL_VERBOSE:
22 esp_log_printf_(ESPHOME_LOG_LEVEL_VERBOSE, tag, __LINE__,
"%s", message);
void HOT esp_log_printf_(int level, const char *tag, int line, const char *format,...)
Implementation of SPI Controller mode.
void esphome_logger(haier_protocol::HaierLogLevel level, const char *tag, const char *message)
void init_haier_protocol_logging()