MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / setVerbosity

Method setVerbosity

LogManager.cpp:310–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void LogManager::setVerbosity(unsigned int level)
311{
312 /*-------------------------------------------------*\
313 | Check that the new verbosity is valid, otherwise |
314 | set it within the valid range |
315 \*-------------------------------------------------*/
316
317 if(level > LL_TRACE)
318 {
319 level = LL_TRACE;
320 }
321
322 LOG_DEBUG("Verbosity set to %d", level);
323
324 /*-------------------------------------------------*\
325 | Set the new verbosity |
326 \*-------------------------------------------------*/
327 verbosity = level;
328}
329
330void LogManager::setPrintSource(bool v)
331{

Callers 1

cli_pre_detectionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected