Merge pull request #418 from sehraf/pr-improve-debug

This is the first set of patches to improve RS' logging functionality
This commit is contained in:
Cyril Soler 2016-06-18 15:33:10 -04:00 committed by GitHub
commit 90a27f4e81
19 changed files with 81 additions and 103 deletions

View file

@ -221,7 +221,7 @@ void RsInit::InitRsConfig()
/* Setup the Debugging */
// setup debugging for desired zones.
setOutputLevel(PQL_WARNING); // default to Warnings.
setOutputLevel(RsLog::Warning); // default to Warnings.
// For Testing purposes.
// We can adjust everything under Linux.
@ -418,7 +418,7 @@ int RsInit::InitRetroShare(int argcIgnored, char **argvIgnored, bool strictCheck
}
#endif
setOutputLevel(rsInitConfig->debugLevel);
setOutputLevel((RsLog::logLvl)rsInitConfig->debugLevel);
// // set the default Debug Level...
// if (rsInitConfig->haveDebugLevel)