Reduce libretiny logconfig messages (#9239)

This commit is contained in:
J. Nick Koston 2025-06-27 22:53:40 -05:00 committed by GitHub
parent e9870c2922
commit f8d59b5aeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,9 +10,11 @@ namespace libretiny {
static const char *const TAG = "lt.component"; static const char *const TAG = "lt.component";
void LTComponent::dump_config() { void LTComponent::dump_config() {
ESP_LOGCONFIG(TAG, "LibreTiny:"); ESP_LOGCONFIG(TAG,
ESP_LOGCONFIG(TAG, " Version: %s", LT_BANNER_STR + 10); "LibreTiny:\n"
ESP_LOGCONFIG(TAG, " Loglevel: %u", LT_LOGLEVEL); " Version: %s\n"
" Loglevel: %u",
LT_BANNER_STR + 10, LT_LOGLEVEL);
#ifdef USE_TEXT_SENSOR #ifdef USE_TEXT_SENSOR
if (this->version_ != nullptr) { if (this->version_ != nullptr) {