#include <functional>
#include <utility>
#include <fmt/format.h>
Go to the source code of this file.
|
namespace | wpi |
| Foonathan namespace.
|
|
|
#define | WPI_LOG(logger_inst, level, format, ...) |
|
#define | WPI_ERROR(inst, format, ...) |
|
#define | WPI_WARNING(inst, format, ...) |
|
#define | WPI_INFO(inst, format, ...) |
|
#define | WPI_DEBUG(inst, format, ...) |
|
#define | WPI_DEBUG1(inst, format, ...) |
|
#define | WPI_DEBUG2(inst, format, ...) |
|
#define | WPI_DEBUG3(inst, format, ...) |
|
#define | WPI_DEBUG4(inst, format, ...) |
|
◆ WPI_DEBUG
#define WPI_DEBUG |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
#define WPI_LOG(logger_inst, level, format,...)
Definition Logger.h:69
@ WPI_LOG_DEBUG
Definition Logger.h:20
◆ WPI_DEBUG1
#define WPI_DEBUG1 |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
@ WPI_LOG_DEBUG1
Definition Logger.h:21
◆ WPI_DEBUG2
#define WPI_DEBUG2 |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
@ WPI_LOG_DEBUG2
Definition Logger.h:22
◆ WPI_DEBUG3
#define WPI_DEBUG3 |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
@ WPI_LOG_DEBUG3
Definition Logger.h:23
◆ WPI_DEBUG4
#define WPI_DEBUG4 |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
@ WPI_LOG_DEBUG4
Definition Logger.h:24
◆ WPI_ERROR
#define WPI_ERROR |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
@ WPI_LOG_ERROR
Definition Logger.h:17
◆ WPI_INFO
#define WPI_INFO |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
@ WPI_LOG_INFO
Definition Logger.h:19
◆ WPI_LOG
#define WPI_LOG |
( |
| logger_inst, |
|
|
| level, |
|
|
| format, |
|
|
| ... ) |
Value: if ((logger_inst).HasLogger() && level >= (logger_inst).min_level()) { \
(logger_inst) \
.Log(level, __FILE__, __LINE__,
format __VA_OPT__(, ) __VA_ARGS__); \
}
◆ WPI_WARNING
#define WPI_WARNING |
( |
| inst, |
|
|
| format, |
|
|
| ... ) |
Value:
@ WPI_LOG_WARNING
Definition Logger.h:18