mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 19:38:53 +00:00
Merge pull request #4957
0e2f5cb
perf_timer: make all logs Info level (moneromooo-monero)
This commit is contained in:
commit
53760ee044
@ -103,7 +103,7 @@ static const char *get_default_categories(int level)
|
||||
categories = "*:WARNING,net:FATAL,net.http:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO";
|
||||
break;
|
||||
case 1:
|
||||
categories = "*:INFO,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO";
|
||||
categories = "*:INFO,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO,perf.*:DEBUG";
|
||||
break;
|
||||
case 2:
|
||||
categories = "*:DEBUG";
|
||||
|
@ -63,7 +63,7 @@ protected:
|
||||
class LoggingPerformanceTimer: public PerformanceTimer
|
||||
{
|
||||
public:
|
||||
LoggingPerformanceTimer(const std::string &s, const std::string &cat, uint64_t unit, el::Level l = el::Level::Debug);
|
||||
LoggingPerformanceTimer(const std::string &s, const std::string &cat, uint64_t unit, el::Level l = el::Level::Info);
|
||||
~LoggingPerformanceTimer();
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user