mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Return LL_TRACE for getLogLevel when log console is enabled
This commit is contained in:
1 parent
2a8b763ff4
commit
b39a1269f7
2 files changed
+13
-1
No files matched your search
@@ -34,6 +34,18 @@ LogManager* LogManager::get()
|
||||
return _instance;
|
||||
}
|
||||
|
||||
unsigned int LogManager::getLoglevel()
|
||||
{
|
||||
if(log_console_enabled)
|
||||
{
|
||||
return(LL_TRACE);
|
||||
}
|
||||
else
|
||||
{
|
||||
return(loglevel);
|
||||
}
|
||||
}
|
||||
|
||||
void LogManager::configure(json config, const std::string &defaultDir)
|
||||
{
|
||||
std::lock_guard<std::mutex> grd(entry_mutex);
|
||||
|
||||
Reference in new issue
Block a user