8 #define U_BASE_MSG_LEN 2048
15 static void info(
const char* format, ...);
18 static void warning(
const char* format, ...);
21 static void error(
const char* format, ...);
24 static void debug(
const char* format, ...);
47 void init(
int debug_level,
int rank,
const char* name);
50 void set_debug_level(
int dl) { DEBUG_LEVEL = dl; };
52 void operator()(
const char* str, ...);
53 void operator()(
int debug_level,
const char* str, ...);
59 void m_print(
const char* format, va_list& arg);
72 void init(
int,
int,
const char*) {};
73 void set_debug_level(
int dl) {};
74 void operator()(
const char* str, ...) {};
75 void operator()(
int debug_level,
const char* str, ...) {};
89 #endif //U_MESSAGE_HPP_
static void debug(const char *format,...)
static void error(const char *format,...)
Definition: u_message.hpp:42
static void info(const char *format,...)
static void warning(const char *format,...)
Definition: u_message.hpp:11