mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 13:13:27 +01:00
Merge pull request #5342
849a768f
perf_timer: move some debug levels to info for consistency (moneromooo-monero)
This commit is contained in:
commit
6f8e0a28b2
@ -88,7 +88,7 @@ namespace tools
|
|||||||
namespace tools
|
namespace tools
|
||||||
{
|
{
|
||||||
|
|
||||||
el::Level performance_timer_log_level = el::Level::Debug;
|
el::Level performance_timer_log_level = el::Level::Info;
|
||||||
|
|
||||||
static __thread std::vector<LoggingPerformanceTimer*> *performance_timers = NULL;
|
static __thread std::vector<LoggingPerformanceTimer*> *performance_timers = NULL;
|
||||||
|
|
||||||
@ -97,8 +97,8 @@ void set_performance_timer_log_level(el::Level level)
|
|||||||
if (level != el::Level::Debug && level != el::Level::Trace && level != el::Level::Info
|
if (level != el::Level::Debug && level != el::Level::Trace && level != el::Level::Info
|
||||||
&& level != el::Level::Warning && level != el::Level::Error && level != el::Level::Fatal)
|
&& level != el::Level::Warning && level != el::Level::Error && level != el::Level::Fatal)
|
||||||
{
|
{
|
||||||
MERROR("Wrong log level: " << el::LevelHelper::convertToString(level) << ", using Debug");
|
MERROR("Wrong log level: " << el::LevelHelper::convertToString(level) << ", using Info");
|
||||||
level = el::Level::Debug;
|
level = el::Level::Info;
|
||||||
}
|
}
|
||||||
performance_timer_log_level = level;
|
performance_timer_log_level = level;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user