ADCSensor: Add debug flag to not print debug log

Not all input files under the hwmon produce readings and is required to
be monitored, so these logs should be debug log.

Tested:
The sensor will not show debug log in machine.
Change-Id: I31fb7e41514ecba1da3ee01d52f3d4ed381328e6
Signed-off-by: Jeff Lin <JeffLin2@quantatw.com>
diff --git a/src/ADCSensorMain.cpp b/src/ADCSensorMain.cpp
index af4e0c2..ccdca8f 100644
--- a/src/ADCSensorMain.cpp
+++ b/src/ADCSensorMain.cpp
@@ -35,6 +35,7 @@
 #include <variant>
 #include <vector>
 
+static constexpr bool debug = false;
 static constexpr float pollRateDefault = 0.5;
 static constexpr float gpioBridgeSetupTimeDefault = 0.02;
 
@@ -153,8 +154,11 @@
             }
             if (sensorData == nullptr)
             {
-                std::cerr << "failed to find match for " << path.string()
-                          << "\n";
+                if constexpr (debug)
+                {
+                    std::cerr << "failed to find match for " << path.string()
+                              << "\n";
+                }
                 continue;
             }