Add formated loging for device detection

Commits merged and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
Alex
2021-06-16 04:26:15 +02:00
committed by Adam Honse
parent 5a7879415f
commit 4af8614fce
19 changed files with 213 additions and 111 deletions

View File

@@ -1,4 +1,5 @@
#include "Detector.h"
#include "LogManager.h"
#include "RazerController.h"
#include "RazerKrakenController.h"
#include "RazerDevices.h"
@@ -66,6 +67,7 @@ void DetectRazerControllers(hid_device_info* info, const std::string& name)
if(openrazer_enabled)
{
LOG_VERBOSE("[DetectRazer] OpenRazer controller is enabled stop this detection");
return;
}
@@ -183,6 +185,7 @@ void DetectRazerKrakenControllers(hid_device_info* info, const std::string& name
if(openrazer_enabled)
{
LOG_VERBOSE("[DetectRazerKraken] OpenRazer controller is enabled stop this detection");
return;
}