#include <chrono>
#include <cstdio>
Go to the source code of this file.
|
#define | MLAB_LOG_COLOR_E "\033[0;31m" |
|
#define | MLAB_LOG_COLOR_W "\033[0;33m" |
|
#define | MLAB_LOG_COLOR_I "\033[0;32m" |
|
#define | MLAB_LOG_COLOR_D |
|
#define | MLAB_LOG_COLOR_V |
|
#define | MLAB_LOG_RESET_COLOR "\033[0m" |
|
#define | MLAB_LOG_FORMAT(letter, format) |
|
#define | LOG_LOCAL_LEVEL mlab::log_level::info |
|
#define | LOG_LEVEL(level, tag, format, letter, ...) |
|
#define | LOGE(tag, format, ...) |
|
#define | LOGW(tag, format, ...) |
|
#define | LOGI(tag, format, ...) |
|
#define | LOGD(tag, format, ...) |
|
#define | LOGV(tag, format, ...) |
|
◆ LOG_LEVEL
#define LOG_LEVEL |
( |
| level, |
|
|
| tag, |
|
|
| format, |
|
|
| letter, |
|
|
| ... ) |
Value: do { \
} while (false)
#define LOG_LOCAL_LEVEL
Definition log.hpp:45
#define MLAB_LOG_FORMAT(letter, format)
Definition log.hpp:42
std::uint32_t log_timestamp()
Definition log.cpp:11
◆ LOG_LOCAL_LEVEL
◆ LOGD
#define LOGD |
( |
| tag, |
|
|
| format, |
|
|
| ... ) |
Value:
#define LOG_LEVEL(level, tag, format, letter,...)
Definition log.hpp:49
◆ LOGE
#define LOGE |
( |
| tag, |
|
|
| format, |
|
|
| ... ) |
◆ LOGI
#define LOGI |
( |
| tag, |
|
|
| format, |
|
|
| ... ) |
◆ LOGV
#define LOGV |
( |
| tag, |
|
|
| format, |
|
|
| ... ) |
◆ LOGW
#define LOGW |
( |
| tag, |
|
|
| format, |
|
|
| ... ) |
◆ MLAB_LOG_COLOR_D
◆ MLAB_LOG_COLOR_E
#define MLAB_LOG_COLOR_E "\033[0;31m" |
◆ MLAB_LOG_COLOR_I
#define MLAB_LOG_COLOR_I "\033[0;32m" |
◆ MLAB_LOG_COLOR_V
◆ MLAB_LOG_COLOR_W
#define MLAB_LOG_COLOR_W "\033[0;33m" |
◆ MLAB_LOG_FORMAT
#define MLAB_LOG_FORMAT |
( |
| letter, |
|
|
| format ) |
Value:
#define MLAB_LOG_RESET_COLOR
Definition log.hpp:41
◆ MLAB_LOG_RESET_COLOR
#define MLAB_LOG_RESET_COLOR "\033[0m" |