mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-02 07:14:46 -04:00
LogManager cleanup
This commit is contained in:
1 parent
c61a0d9c5a
commit
ea4029caad
14 files changed
+481
-325
No files matched your search
@@ -1312,7 +1312,7 @@ void DetectionManager::BackgroundHIDInit()
|
||||
\*---------------------------------------------------------*/
|
||||
void DetectionManager::RunHIDDetector(hid_device_info* current_hid_device, json detector_settings)
|
||||
{
|
||||
if(LogManager::get()->getLoglevel() >= LL_DEBUG)
|
||||
if(LogManager::get()->GetLogLevel() >= LL_DEBUG)
|
||||
{
|
||||
const char* manu_name = StringUtils::wchar_to_char(current_hid_device->manufacturer_string);
|
||||
const char* prod_name = StringUtils::wchar_to_char(current_hid_device->product_string);
|
||||
@@ -1426,7 +1426,7 @@ void DetectionManager::RunHIDDetector(hid_device_info* current_hid_device, json
|
||||
|
||||
void DetectionManager::RunHIDWrappedDetector(const hidapi_wrapper* wrapper, hid_device_info* current_hid_device, json detector_settings)
|
||||
{
|
||||
if(LogManager::get()->getLoglevel() >= LL_DEBUG)
|
||||
if(LogManager::get()->GetLogLevel() >= LL_DEBUG)
|
||||
{
|
||||
const char* manu_name = StringUtils::wchar_to_char(current_hid_device->manufacturer_string);
|
||||
const char* prod_name = StringUtils::wchar_to_char(current_hid_device->product_string);
|
||||
|
||||
Reference in new issue
Block a user