mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
mlog: move log level changes to global level
Makes it more likely to show up
This commit is contained in:
parent
38a1b9c956
commit
3b6839cc96
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue