mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 13:02:27 -04:00
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:
commit
90a27f4e81
19 changed files with 81 additions and 103 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue