mirror of
https://github.com/esphome/esphome.git
synced 2025-07-29 14:46:40 +00:00
Reduce libretiny logconfig messages (#9239)
This commit is contained in:
parent
e9870c2922
commit
f8d59b5aeb
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user