it was colliding with math log, renamed to applog
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user