it was colliding with math log, renamed to applog

This commit is contained in:
2025-12-28 13:40:01 +01:00
parent 14b03f45f4
commit d873837660
8 changed files with 33 additions and 34 deletions

View File

@@ -13,12 +13,12 @@ void detectHwmon(cpuSensors* target, const std::string& pci) {
try {
target->hwmon = getFirstDir(path);
} catch (...) {
log(LOG::ERR, "NO CPU HWMON KERNEL MODULE DETECTED");
applog(LOG::ERR, "NO CPU HWMON KERNEL MODULE DETECTED");
return;
}
target->zenpower = false; // we were using readFileToStr to figure this out, we dont f/w it anymore, find another way (see if hwmon/in1_input exists?)
log(LOG::INF, "Detected module \"{}\" in path \"{}\"", target->zenpower ? "zenpower" : "k10temp", target->hwmon);
applog(LOG::INF, "Detected module \"{}\" in path \"{}\"", target->zenpower ? "zenpower" : "k10temp", target->hwmon);
}
void update(cpuSensors* c) {