|
Veethree D7 SDK
|
Logging interface.
#include <spdlog/common.h>#include <spdlog/spdlog.h>#include <functional>#include <map>#include <nlohmann/json.hpp>#include <string>#include <utility>

Go to the source code of this file.
Classes | |
| class | vsdk::diag::log |
| logging with module-based filtering More... | |
Namespaces | |
| namespace | vsdk |
| Any entities that belong to the Veethree SDK libraries. | |
Macros | |
| #define | LOG_TRACE(module, ...) |
| Produce a log at the TRACE level. | |
| #define | LOG_DEBUG(module, ...) |
| Produce a log at the DEBUG level. | |
| #define | LOG_INFO(module, ...) |
| Produce a log at the INFO level. | |
| #define | LOG_WARN(module, ...) |
| Produce a log at the WARN level. | |
| #define | LOG_ERROR(module, ...) |
| Produce a log at the ERROR level. | |
| #define | LOG_CRITICAL(module, ...) |
| Produce a log at the CRITICAL level. | |
Enumerations | |
| enum class | module : uint8_t { module::pwm_in , module::pwm_out , module::digital_in , module::digital_out , module::analog , module::system , module::network , module::comms , module::ct2klib , module::max } |
| Enumeration of available logging modules. More... | |
Logging interface.
| #define LOG_CRITICAL | ( | module, | |
| ... ) |
Produce a log at the CRITICAL level.
| module | The module generating the log |
| ... | Format arguments |
| #define LOG_DEBUG | ( | module, | |
| ... ) |
Produce a log at the DEBUG level.
| module | The module generating the log |
| ... | Format arguments |
| #define LOG_ERROR | ( | module, | |
| ... ) |
Produce a log at the ERROR level.
| module | The module generating the log |
| ... | Format arguments |
| #define LOG_INFO | ( | module, | |
| ... ) |
Produce a log at the INFO level.
| module | The module generating the log |
| ... | Format arguments |
| #define LOG_TRACE | ( | module, | |
| ... ) |
Produce a log at the TRACE level.
| module | The module generating the log |
| ... | Format arguments |
| #define LOG_WARN | ( | module, | |
| ... ) |
Produce a log at the WARN level.
| module | The module generating the log |
| ... | Format arguments |