|
Monero
|
#include <time.h>#include <atomic>#include <boost/filesystem.hpp>#include <boost/algorithm/string.hpp>#include "string_tools.h"#include "time_helper.h"#include "misc_log_ex.h"
Namespaces | |
| namespace | epee |
| TODO: (mj-xmr) This will be reduced in an another PR. | |
Macros | |
| #define | _MLOG_H_ |
| #define | MONERO_DEFAULT_LOG_CATEGORY "logging" |
| #define | MLOG_BASE_FORMAT "%datetime{%Y-%M-%d %H:%m:%s.%g}\t%thread\t%level\t%logger\t%loc\t%msg" |
| #define | MLOG_LOG(x) |
| #define | DEFLOG(fun, lev) |
Functions | |
| static std::string | generate_log_filename (const char *base) |
| std::string | mlog_get_default_log_path (const char *default_filename) |
| static void | mlog_set_common_prefix () |
| static const char * | get_default_categories (int level) |
| void | mlog_configure (const std::string &filename_base, bool console, const std::size_t max_log_file_size, const std::size_t max_log_files) |
| 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) |
| bool | epee::is_stdout_a_tty () |
| static bool | epee::is_nocolor () |
| void | epee::set_console_color (int color, bool bright) |
| void | epee::reset_console_color () |
| static bool | mlog (el::Level level, const char *category, const char *format, va_list ap) noexcept |
| #define _MLOG_H_ |
| #define DEFLOG | ( | fun, | |
| lev ) |
| #define MLOG_LOG | ( | x | ) |
| #define MONERO_DEFAULT_LOG_CATEGORY "logging" |
|
static |
|
static |
|
staticnoexcept |
| void mlog_configure | ( | const std::string & | filename_base, |
| bool | console, | ||
| const std::size_t | max_log_file_size, | ||
| const std::size_t | max_log_files ) |
| std::string mlog_get_categories | ( | ) |
| std::string mlog_get_default_log_path | ( | const char * | default_filename | ) |
| void mlog_set_categories | ( | const char * | categories | ) |
|
static |
| void mlog_set_log | ( | const char * | log | ) |
| void mlog_set_log_level | ( | int | level | ) |