mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 21:23:27 +01: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
@ -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 New Issue
Block a user