for pretty logging to file

This commit is contained in:
Drath
2025-10-05 16:13:32 +02:00
parent 290ed846a4
commit 7c278f8cb7

View File

@@ -137,6 +137,7 @@ void displayThread(std::stop_token st, Sensors* s) {
}
int main(int argc, char* argv[]) {
log(LOG::START, "LINUXSMARTIE", "============================= PROGRAM START ============================="); // to make logs clearer
std::signal(SIGINT, sighandler);
std::signal(SIGTERM, sighandler);