perf_timer: move some debug levels to info for consistency

This commit is contained in:
moneromooo-monero 2019-03-24 20:14:59 +00:00
parent e4b049da05
commit 849a768f36
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -88,7 +88,7 @@ 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;
@ -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
&& level != el::Level::Warning && level != el::Level::Error && level != el::Level::Fatal)
{
MERROR("Wrong log level: " << el::LevelHelper::convertToString(level) << ", using Debug");
level = el::Level::Debug;
MERROR("Wrong log level: " << el::LevelHelper::convertToString(level) << ", using Info");
level = el::Level::Info;
}
performance_timer_log_level = level;
}