mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
epee: factor log level/categories setting
This commit is contained in:
parent
1f9058187c
commit
f35afe62a4
1 changed files with 1 additions and 2 deletions
|
@ -152,8 +152,7 @@ void mlog_set_categories(const char *categories)
|
|||
void mlog_set_log_level(int level)
|
||||
{
|
||||
const char *categories = get_default_categories(level);
|
||||
el::Loggers::setCategories(categories);
|
||||
MLOG_LOG("New log categories: " << categories);
|
||||
mlog_set_categories(categories);
|
||||
}
|
||||
|
||||
void mlog_set_log(const char *log)
|
||||
|
|
Loading…
Reference in a new issue