From 557162d2c20644296a194a8a457e442ff91c5016 Mon Sep 17 00:00:00 2001 From: Alex <6953309+isarrider@users.noreply.github.com> Date: Sun, 19 Apr 2026 12:49:45 +0200 Subject: [PATCH 1/8] Refactor logging statements and code formatting Refactor logging statements for improved readability and consistency. Adjust formatting and indentation in various sections of the InfluxDB API implementation. --- src/api/InfluxDB.cpp | 126 +++++++++++++++++++++++++++---------------- 1 file changed, 80 insertions(+), 46 deletions(-) diff --git a/src/api/InfluxDB.cpp b/src/api/InfluxDB.cpp index ee3a8a20..fae65bc5 100644 --- a/src/api/InfluxDB.cpp +++ b/src/api/InfluxDB.cpp @@ -1,15 +1,14 @@ -/***********************************************************************/ +/*****************************************************************************/ /** @file InfluxDB.cpp * This is cobbled together from the Volkszaehler and MySmartGrid API... * * @author Stefan Kuntz - * @email Stefan.github@gmail.com + * @email Stefan.github@gmail.com * @copyright Copyright (c) 2017 - 2023, The volkszaehler.org project * @package vzlogger * @license http://opensource.org/licenses/gpl-license.php GNU Public License **/ /*---------------------------------------------------------------------*/ - /* * This file is part of volkzaehler.org * @@ -20,7 +19,7 @@ * * volkzaehler.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License @@ -41,8 +40,9 @@ extern Config_Options options; vz::api::InfluxDB::InfluxDB(const Channel::Ptr &ch, const std::list