Merge pull request #2512

792ba4f0 Log categories can now be added to and removed from (moneromooo-monero)
48f92eb6 easylogging++: add categories getter (moneromooo-monero)
f35afe62 epee: factor log level/categories setting (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-10-02 23:28:59 +04:00
commit 3bab2676ec
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
10 changed files with 78 additions and 11 deletions

View file

@ -126,6 +126,7 @@
std::string mlog_get_default_log_path(const char *default_filename);
void mlog_configure(const std::string &filename_base, bool console, const std::size_t max_log_file_size = MAX_LOG_FILE_SIZE);
void mlog_set_categories(const char *categories);
std::string mlog_get_categories();
void mlog_set_log_level(int level);
void mlog_set_log(const char *log);