Reduce ESP_LOGCONFIG calls (#9026)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-06-09 00:02:30 +00:00
1 parent 80dddb4cae
commit c0b05ada1a
218 files changed
+1569 -931

No files matched your search

+4 -2
View File
@@ -175,8 +175,10 @@ void APIServer::loop() {
}
void APIServer::dump_config() {
ESP_LOGCONFIG(TAG, "API Server:");
ESP_LOGCONFIG(TAG, " Address: %s:%u", network::get_use_address().c_str(), this->port_);
ESP_LOGCONFIG(TAG,
"API Server:\n"
" Address: %s:%u",
network::get_use_address().c_str(), this->port_);
#ifdef USE_API_NOISE
ESP_LOGCONFIG(TAG, " Using noise encryption: %s", YESNO(this->noise_ctx_->has_psk()));
if (!this->noise_ctx_->has_psk()) {