Logger for testing.
More...
#include <cstdio>
Go to the source code of this file.
|
|
#define | SPSP_LOGE(fmt, ...) fprintf(stderr, "\033[0;31m[E] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__) |
| |
|
#define | SPSP_LOGW(fmt, ...) fprintf(stderr, "\033[0;33m[W] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__) |
| |
|
#define | SPSP_LOGI(fmt, ...) fprintf(stderr, "\033[0;36m[I] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__) |
| |
|
#define | SPSP_LOGD(fmt, ...) fprintf(stderr, "\033[0;34m[D] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__) |
| |
Logger for testing.
- Author
- Dávid Benko (david.nosp@m.benk.nosp@m.o@dav.nosp@m.idbe.nosp@m.nko.d.nosp@m.ev)
- Copyright
- Copyright (c) 2023
Definition in file testing/spsp/logger.hpp.