#include <string_view>
Go to the source code of this file.
◆ YACLIB_ASSERT
◆ YACLIB_DEBUG
#define YACLIB_DEBUG |
( |
|
cond, |
|
|
|
message |
|
) |
| YACLIB_STUB2(cond, message) |
◆ YACLIB_FUNC_NAME
#define YACLIB_FUNC_NAME __func__ |
◆ YACLIB_INIT_DEBUG
#define YACLIB_INIT_DEBUG |
( |
|
callback | ) |
YACLIB_STUB1(callback) |
◆ YACLIB_INIT_WARN
◆ YACLIB_LOG_MESSAGE
#define YACLIB_LOG_MESSAGE |
( |
|
level, |
|
|
|
cond, |
|
|
|
message |
|
) |
| |
Value: do { \
if (!!(cond)) { \
::yaclib::detail::LogMessage(level, __FILE__, __LINE__,
YACLIB_FUNC_NAME, #cond, (message)); \
} \
} while (false)
Definition at line 38 of file log.hpp.
◆ YACLIB_PURE_VIRTUAL
◆ YACLIB_SET_CALLBACK
#define YACLIB_SET_CALLBACK |
( |
|
level, |
|
|
|
callback |
|
) |
| |
Value: do { \
::yaclib::detail::SetCallback(level, (callback)); \
} while (false)
Definition at line 45 of file log.hpp.
◆ YACLIB_STUB1
#define YACLIB_STUB1 |
( |
|
first | ) |
|
Value: do { \
if (false) { \
(void)(first); \
} \
} while (false)
Definition at line 54 of file log.hpp.
◆ YACLIB_STUB2
#define YACLIB_STUB2 |
( |
|
first, |
|
|
|
second |
|
) |
| |
Value: do { \
if (false) { \
(void)(first); \
(void)(second); \
} \
} while (false)
Definition at line 60 of file log.hpp.
◆ YACLIB_WARN
#define YACLIB_WARN |
( |
|
cond, |
|
|
|
message |
|
) |
| YACLIB_STUB2(cond, message) |