Log categories can now be added to and removed from

Also, set_log without parameters now prints the log categories
This commit is contained in:
moneromooo-monero 2017-09-22 17:54:58 +01:00
parent 48f92eb665
commit 792ba4f0fe
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
8 changed files with 57 additions and 8 deletions

View file

@ -125,6 +125,7 @@
std::string mlog_get_default_log_path(const char *default_filename);
void mlog_configure(const std::string &filename_base, bool console);
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);