mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:48:52 +00: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