linux: update logging tag (#194)

change linux logs name to librepods
This commit is contained in:
TCH
2025-08-25 14:20:29 +02:00
committed by GitHub
parent 46071f17d7
commit 598bd3d7d8
2 changed files with 7 additions and 7 deletions

View File

@@ -28,7 +28,7 @@
using namespace AirpodsTrayApp::Enums;
Q_LOGGING_CATEGORY(airpodsApp, "airpodsApp")
Q_LOGGING_CATEGORY(Librepods, "Librepods")
class AirPodsTrayApp : public QObject {
Q_OBJECT
@@ -48,7 +48,7 @@ public:
, m_deviceInfo(new DeviceInfo(this)), m_bleManager(new BleManager(this))
, m_systemSleepMonitor(new SystemSleepMonitor(this))
{
QLoggingCategory::setFilterRules(QString("airpodsApp.debug=%1").arg(debugMode ? "true" : "false"));
QLoggingCategory::setFilterRules(QString("Librepods.debug=%1").arg(debugMode ? "true" : "false"));
LOG_INFO("Initializing AirPodsTrayApp");
// Initialize tray icon and connect signals