CUBRID Engine
latest
|
#include "error_context.hpp"
#include "error_code.h"
#include "error_manager.h"
#include "memory_alloc.h"
#include <cstring>
Go to the source code of this file.
Namespaces | |
cuberr | |
Macros | |
#define | ERROR_CONTEXT_LOG(...) if (m_logging) _er_log_debug (ARG_FILE_LINE, __VA_ARGS__) |
#define | ERMSG_MSG "{ %p: errid=%d, sev=%d, fname=%s, line=%d, msg_area=%p(%s)_size=%zu, msgbuf=%p(%s), args=%p_n=%d }" |
#define | ERMSG_ARGS(em) |
#define | ERMSG_LOG(text, var) ERROR_CONTEXT_LOG (text #var " = " ERMSG_MSG, ERMSG_ARGS (var)) |
Variables | |
const bool | cuberr::LOG_ME = false |
thread_local context * | cuberr::tl_Context_p = NULL |
#define ERMSG_ARGS | ( | em | ) |
Definition at line 43 of file error_context.cpp.
#define ERMSG_LOG | ( | text, | |
var | |||
) | ERROR_CONTEXT_LOG (text #var " = " ERMSG_MSG, ERMSG_ARGS (var)) |
Definition at line 45 of file error_context.cpp.
Referenced by cuberr::er_message::reserve_message_area(), cuberr::er_message::swap(), and cuberr::er_message::~er_message().
#define ERMSG_MSG "{ %p: errid=%d, sev=%d, fname=%s, line=%d, msg_area=%p(%s)_size=%zu, msgbuf=%p(%s), args=%p_n=%d }" |
Definition at line 42 of file error_context.cpp.
#define ERROR_CONTEXT_LOG | ( | ... | ) | if (m_logging) _er_log_debug (ARG_FILE_LINE, __VA_ARGS__) |
Definition at line 40 of file error_context.cpp.