esphome/esphome/core/event_emitter.cpp
2024-07-13 11:00:35 +02:00

12 lines
358 B
C++

#include "event_emitter.h"
namespace esphome {
static const char *const TAG = "event_emitter";
void RaiseEventEmitterFullError(EventEmitterListenerID id) {
ESP_LOGE(TAG, "EventEmitter has reached the maximum number of listeners for event");
ESP_LOGW(TAG, "Removing listener with ID %ld to make space for new listener", id);
}
} // namespace esphome