mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-07 05:41:13 -05:00
Return LL_TRACE for getLogLevel when log console is enabled
This commit is contained in:
@@ -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