diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-22 14:14:58 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-22 14:14:58 +0100 |
commit | f35afe62a4ae49e27f2e67c14918bdee133a7b83 (patch) | |
tree | acebde67702a23ff14d050d6a0f9f4a431bce607 /contrib | |
parent | Merge pull request #2496 (diff) | |
download | monero-f35afe62a4ae49e27f2e67c14918bdee133a7b83.tar.xz |
epee: factor log level/categories setting
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/epee/src/mlog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp index a3f38e677..f7efbe39d 100644 --- a/contrib/epee/src/mlog.cpp +++ b/contrib/epee/src/mlog.cpp @@ -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) |