mlog: move log level changes to global level

Makes it more likely to show up
This commit is contained in:
moneromooo-monero 2017-02-12 11:45:22 +00:00
parent 38a1b9c956
commit 3b6839cc96
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ void mlog_configure(const std::string &filename_base, bool console)
void mlog_set_categories(const char *categories)
{
el::Loggers::setCategories(categories);
MINFO("New log categories: " << categories);
MGINFO("New log categories: " << categories);
}
// maps epee style log level to new logging system
@ -150,7 +150,7 @@ void mlog_set_log_level(int level)
{
const char *categories = get_default_categories(level);
el::Loggers::setCategories(categories);
MINFO("New log categories: " << categories);
MGINFO("New log categories: " << categories);
}
void mlog_set_log(const char *log)