mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
epee: factor log level/categories setting
This commit is contained in:
parent
1f9058187c
commit
f35afe62a4
@ -152,8 +152,7 @@ void mlog_set_categories(const char *categories)
|
|||||||
void mlog_set_log_level(int level)
|
void mlog_set_log_level(int level)
|
||||||
{
|
{
|
||||||
const char *categories = get_default_categories(level);
|
const char *categories = get_default_categories(level);
|
||||||
el::Loggers::setCategories(categories);
|
mlog_set_categories(categories);
|
||||||
MLOG_LOG("New log categories: " << categories);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void mlog_set_log(const char *log)
|
void mlog_set_log(const char *log)
|
||||||
|
Loading…
Reference in New Issue
Block a user