|
Electroneum
|

Go to the source code of this file.
Namespaces | |
| namespace | epee |
| namespace | epee::debug |
Macros | |
| #define | ELECTRONEUM_DEFAULT_LOG_CATEGORY "default" |
| #define | MAX_LOG_FILE_SIZE 104850000 |
| #define | MAX_LOG_FILES 50 |
| #define | MCLOG_TYPE(level, cat, type, x) |
| #define | MCLOG(level, cat, x) |
| #define | MCLOG_FILE(level, cat, x) |
| #define | MCFATAL(cat, x) |
| #define | MCERROR(cat, x) |
| #define | MCWARNING(cat, x) |
| #define | MCINFO(cat, x) |
| #define | MCDEBUG(cat, x) |
| #define | MCTRACE(cat, x) |
| #define | MCLOG_COLOR(level, cat, color, x) |
| #define | MCLOG_RED(level, cat, x) |
| #define | MCLOG_GREEN(level, cat, x) |
| #define | MCLOG_YELLOW(level, cat, x) |
| #define | MCLOG_BLUE(level, cat, x) |
| #define | MCLOG_MAGENTA(level, cat, x) |
| #define | MCLOG_CYAN(level, cat, x) |
| #define | MLOG_RED(level, x) |
| #define | MLOG_GREEN(level, x) |
| #define | MLOG_YELLOW(level, x) |
| #define | MLOG_BLUE(level, x) |
| #define | MLOG_MAGENTA(level, x) |
| #define | MLOG_CYAN(level, x) |
| #define | MFATAL(x) |
| #define | MERROR(x) |
| #define | MWARNING(x) |
| #define | MINFO(x) |
| #define | MDEBUG(x) |
| #define | MTRACE(x) |
| #define | MLOG(level, x) |
| #define | MGINFO(x) |
| #define | MGINFO_RED(x) |
| #define | MGINFO_GREEN(x) |
| #define | MGINFO_YELLOW(x) |
| #define | MGINFO_BLUE(x) |
| #define | MGINFO_MAGENTA(x) |
| #define | MGINFO_CYAN(x) |
| #define | IFLOG(level, cat, type, init, x) |
| #define | MIDEBUG(init, x) |
| #define | LOG_ERROR(x) |
| #define | LOG_PRINT_L0(x) |
| #define | LOG_PRINT_L1(x) |
| #define | LOG_PRINT_L2(x) |
| #define | LOG_PRINT_L3(x) |
| #define | LOG_PRINT_L4(x) |
| #define | _dbg3(x) |
| #define | _dbg2(x) |
| #define | _dbg1(x) |
| #define | _info(x) |
| #define | _note(x) |
| #define | _fact(x) |
| #define | _mark(x) |
| #define | _warn(x) |
| #define | _erro(x) |
| #define | MLOG_SET_THREAD_NAME(x) |
| #define | LOCAL_ASSERT(expr) |
| #define | ENDL std::endl |
| #define | TRY_ENTRY() |
| #define | CATCH_ENTRY(location, return_val) |
| #define | CATCH_ENTRY_L0(lacation, return_val) |
| #define | CATCH_ENTRY_L1(lacation, return_val) |
| #define | CATCH_ENTRY_L2(lacation, return_val) |
| #define | CATCH_ENTRY_L3(lacation, return_val) |
| #define | CATCH_ENTRY_L4(lacation, return_val) |
| #define | ASSERT_MES_AND_THROW(message) |
| #define | CHECK_AND_ASSERT_THROW_MES(expr, message) |
| #define | CHECK_AND_ASSERT(expr, fail_ret_val) |
| #define | CHECK_AND_ASSERT_MES(expr, fail_ret_val, message) |
| #define | CHECK_AND_NO_ASSERT_MES_L(expr, fail_ret_val, l, message) |
| #define | CHECK_AND_NO_ASSERT_MES(expr, fail_ret_val, message) |
| #define | CHECK_AND_NO_ASSERT_MES_L1(expr, fail_ret_val, message) |
| #define | CHECK_AND_ASSERT_MES_NO_RET(expr, message) |
| #define | CHECK_AND_ASSERT_MES2(expr, message) |
Functions | |
| 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, const std::size_t max_log_files=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::debug::get_set_enable_assert (bool set=false, bool v=false) |
| bool | epee::is_stdout_a_tty () |
| void | epee::set_console_color (int color, bool bright) |
| void | epee::reset_console_color () |
| #define _dbg1 | ( | x | ) |
Definition at line 107 of file misc_log_ex.h.
| #define _dbg2 | ( | x | ) |
Definition at line 106 of file misc_log_ex.h.
| #define _dbg3 | ( | x | ) |
Definition at line 105 of file misc_log_ex.h.
| #define _erro | ( | x | ) |
Definition at line 113 of file misc_log_ex.h.
| #define _fact | ( | x | ) |
Definition at line 110 of file misc_log_ex.h.
| #define _info | ( | x | ) |
Definition at line 108 of file misc_log_ex.h.
| #define _mark | ( | x | ) |
Definition at line 111 of file misc_log_ex.h.
| #define _note | ( | x | ) |
Definition at line 109 of file misc_log_ex.h.
| #define _warn | ( | x | ) |
Definition at line 112 of file misc_log_ex.h.
| #define ASSERT_MES_AND_THROW | ( | message | ) |
Definition at line 172 of file misc_log_ex.h.
| #define CATCH_ENTRY | ( | location, | |
| return_val ) |
Definition at line 152 of file misc_log_ex.h.
| #define CATCH_ENTRY_L0 | ( | lacation, | |
| return_val ) |
Definition at line 165 of file misc_log_ex.h.
| #define CATCH_ENTRY_L1 | ( | lacation, | |
| return_val ) |
Definition at line 166 of file misc_log_ex.h.
| #define CATCH_ENTRY_L2 | ( | lacation, | |
| return_val ) |
Definition at line 167 of file misc_log_ex.h.
| #define CATCH_ENTRY_L3 | ( | lacation, | |
| return_val ) |
Definition at line 168 of file misc_log_ex.h.
| #define CATCH_ENTRY_L4 | ( | lacation, | |
| return_val ) |
Definition at line 169 of file misc_log_ex.h.
| #define CHECK_AND_ASSERT | ( | expr, | |
| fail_ret_val ) |
Definition at line 177 of file misc_log_ex.h.
| #define CHECK_AND_ASSERT_MES | ( | expr, | |
| fail_ret_val, | |||
| message ) |
Definition at line 181 of file misc_log_ex.h.
| #define CHECK_AND_ASSERT_MES2 | ( | expr, | |
| message ) |
Definition at line 203 of file misc_log_ex.h.
| #define CHECK_AND_ASSERT_MES_NO_RET | ( | expr, | |
| message ) |
Definition at line 198 of file misc_log_ex.h.
| #define CHECK_AND_ASSERT_THROW_MES | ( | expr, | |
| message ) |
Definition at line 173 of file misc_log_ex.h.
| #define CHECK_AND_NO_ASSERT_MES | ( | expr, | |
| fail_ret_val, | |||
| message ) |
Definition at line 189 of file misc_log_ex.h.
| #define CHECK_AND_NO_ASSERT_MES_L | ( | expr, | |
| fail_ret_val, | |||
| l, | |||
| message ) |
Definition at line 185 of file misc_log_ex.h.
| #define CHECK_AND_NO_ASSERT_MES_L1 | ( | expr, | |
| fail_ret_val, | |||
| message ) |
Definition at line 193 of file misc_log_ex.h.
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "default" |
Definition at line 36 of file misc_log_ex.h.
| #define ENDL std::endl |
Definition at line 149 of file misc_log_ex.h.
| #define IFLOG | ( | level, | |
| cat, | |||
| type, | |||
| init, | |||
| x ) |
Definition at line 88 of file misc_log_ex.h.
| #define LOCAL_ASSERT | ( | expr | ) |
Definition at line 122 of file misc_log_ex.h.
| #define LOG_ERROR | ( | x | ) |
Definition at line 98 of file misc_log_ex.h.
| #define LOG_PRINT_L0 | ( | x | ) |
Definition at line 99 of file misc_log_ex.h.
| #define LOG_PRINT_L1 | ( | x | ) |
Definition at line 100 of file misc_log_ex.h.
| #define LOG_PRINT_L2 | ( | x | ) |
Definition at line 101 of file misc_log_ex.h.
| #define LOG_PRINT_L3 | ( | x | ) |
Definition at line 102 of file misc_log_ex.h.
| #define LOG_PRINT_L4 | ( | x | ) |
Definition at line 103 of file misc_log_ex.h.
| #define MAX_LOG_FILE_SIZE 104850000 |
Definition at line 38 of file misc_log_ex.h.
| #define MAX_LOG_FILES 50 |
Definition at line 39 of file misc_log_ex.h.
| #define MCDEBUG | ( | cat, | |
| x ) |
Definition at line 54 of file misc_log_ex.h.
| #define MCERROR | ( | cat, | |
| x ) |
Definition at line 51 of file misc_log_ex.h.
| #define MCFATAL | ( | cat, | |
| x ) |
Definition at line 50 of file misc_log_ex.h.
| #define MCINFO | ( | cat, | |
| x ) |
Definition at line 53 of file misc_log_ex.h.
| #define MCLOG | ( | level, | |
| cat, | |||
| x ) |
Definition at line 47 of file misc_log_ex.h.
| #define MCLOG_BLUE | ( | level, | |
| cat, | |||
| x ) |
Definition at line 61 of file misc_log_ex.h.
| #define MCLOG_COLOR | ( | level, | |
| cat, | |||
| color, | |||
| x ) |
Definition at line 57 of file misc_log_ex.h.
| #define MCLOG_CYAN | ( | level, | |
| cat, | |||
| x ) |
Definition at line 63 of file misc_log_ex.h.
| #define MCLOG_FILE | ( | level, | |
| cat, | |||
| x ) |
Definition at line 48 of file misc_log_ex.h.
| #define MCLOG_GREEN | ( | level, | |
| cat, | |||
| x ) |
Definition at line 59 of file misc_log_ex.h.
| #define MCLOG_MAGENTA | ( | level, | |
| cat, | |||
| x ) |
Definition at line 62 of file misc_log_ex.h.
| #define MCLOG_RED | ( | level, | |
| cat, | |||
| x ) |
Definition at line 58 of file misc_log_ex.h.
| #define MCLOG_TYPE | ( | level, | |
| cat, | |||
| type, | |||
| x ) |
Definition at line 41 of file misc_log_ex.h.
| #define MCLOG_YELLOW | ( | level, | |
| cat, | |||
| x ) |
Definition at line 60 of file misc_log_ex.h.
| #define MCTRACE | ( | cat, | |
| x ) |
Definition at line 55 of file misc_log_ex.h.
| #define MCWARNING | ( | cat, | |
| x ) |
Definition at line 52 of file misc_log_ex.h.
| #define MDEBUG | ( | x | ) |
Definition at line 76 of file misc_log_ex.h.
| #define MERROR | ( | x | ) |
Definition at line 73 of file misc_log_ex.h.
| #define MFATAL | ( | x | ) |
Definition at line 72 of file misc_log_ex.h.
| #define MGINFO | ( | x | ) |
Definition at line 80 of file misc_log_ex.h.
| #define MGINFO_BLUE | ( | x | ) |
Definition at line 84 of file misc_log_ex.h.
| #define MGINFO_CYAN | ( | x | ) |
Definition at line 86 of file misc_log_ex.h.
| #define MGINFO_GREEN | ( | x | ) |
Definition at line 82 of file misc_log_ex.h.
| #define MGINFO_MAGENTA | ( | x | ) |
Definition at line 85 of file misc_log_ex.h.
| #define MGINFO_RED | ( | x | ) |
Definition at line 81 of file misc_log_ex.h.
| #define MGINFO_YELLOW | ( | x | ) |
Definition at line 83 of file misc_log_ex.h.
| #define MIDEBUG | ( | init, | |
| x ) |
Definition at line 95 of file misc_log_ex.h.
| #define MINFO | ( | x | ) |
Definition at line 75 of file misc_log_ex.h.
| #define MLOG | ( | level, | |
| x ) |
Definition at line 78 of file misc_log_ex.h.
| #define MLOG_BLUE | ( | level, | |
| x ) |
Definition at line 68 of file misc_log_ex.h.
| #define MLOG_CYAN | ( | level, | |
| x ) |
Definition at line 70 of file misc_log_ex.h.
| #define MLOG_GREEN | ( | level, | |
| x ) |
Definition at line 66 of file misc_log_ex.h.
| #define MLOG_MAGENTA | ( | level, | |
| x ) |
Definition at line 69 of file misc_log_ex.h.
| #define MLOG_RED | ( | level, | |
| x ) |
Definition at line 65 of file misc_log_ex.h.
| #define MLOG_SET_THREAD_NAME | ( | x | ) |
Definition at line 115 of file misc_log_ex.h.
| #define MLOG_YELLOW | ( | level, | |
| x ) |
Definition at line 67 of file misc_log_ex.h.
| #define MTRACE | ( | x | ) |
Definition at line 77 of file misc_log_ex.h.
| #define MWARNING | ( | x | ) |
Definition at line 74 of file misc_log_ex.h.
| #define TRY_ENTRY | ( | ) |
Definition at line 151 of file misc_log_ex.h.
| void mlog_configure | ( | const std::string & | filename_base, |
| bool | console, | ||
| const std::size_t | max_log_file_size = MAX_LOG_FILE_SIZE, | ||
| const std::size_t | max_log_files = MAX_LOG_FILES ) |
Definition at line 148 of file mlog.cpp.


| std::string mlog_get_categories | ( | ) |
| std::string mlog_get_default_log_path | ( | const char * | default_filename | ) |
Definition at line 72 of file mlog.cpp.


| void mlog_set_categories | ( | const char * | categories | ) |
Definition at line 238 of file mlog.cpp.


| void mlog_set_log | ( | const char * | log | ) |
Definition at line 288 of file mlog.cpp.


| void mlog_set_log_level | ( | int | level | ) |
Definition at line 282 of file mlog.cpp.

