#include <opc/common/class_pointers.h>
#include <opc/spdlog/spdlog.h>
#include <opc/spdlog/fmt/ostr.h>
Go to the source code of this file.
Namespaces | |
Common | |
Addon interface definition GNU LGPL. | |
Common::Logger | |
Macros | |
#define | LOG_CRITICAL(__logger__, ...) { if (__logger__ && __logger__->should_log(spdlog::level::critical)) { __logger__->critical(__VA_ARGS__); }} |
#define | LOG_DEBUG(__logger__, ...) { if (__logger__ && __logger__->should_log(spdlog::level::debug)) { __logger__->debug(__VA_ARGS__); }} |
#define | LOG_ERROR(__logger__, ...) { if (__logger__ && __logger__->should_log(spdlog::level::err)) { __logger__->error(__VA_ARGS__); }} |
#define | LOG_INFO(__logger__, ...) { if (__logger__ && __logger__->should_log(spdlog::level::info)) { __logger__->info(__VA_ARGS__); }} |
#define | LOG_TRACE(__logger__, ...) { if (__logger__ && __logger__->should_log(spdlog::level::trace)) { __logger__->trace(__VA_ARGS__); }} |
#define | LOG_WARN(__logger__, ...) { if (__logger__ && __logger__->should_log(spdlog::level::warn)) { __logger__->warn(__VA_ARGS__); }} |
#define LOG_CRITICAL | ( | __logger__, | |
... | |||
) | { if (__logger__ && __logger__->should_log(spdlog::level::critical)) { __logger__->critical(__VA_ARGS__); }} |
Definition at line 28 of file common/logger.h.
#define LOG_DEBUG | ( | __logger__, | |
... | |||
) | { if (__logger__ && __logger__->should_log(spdlog::level::debug)) { __logger__->debug(__VA_ARGS__); }} |
Definition at line 24 of file common/logger.h.
#define LOG_ERROR | ( | __logger__, | |
... | |||
) | { if (__logger__ && __logger__->should_log(spdlog::level::err)) { __logger__->error(__VA_ARGS__); }} |
Definition at line 27 of file common/logger.h.
#define LOG_INFO | ( | __logger__, | |
... | |||
) | { if (__logger__ && __logger__->should_log(spdlog::level::info)) { __logger__->info(__VA_ARGS__); }} |
Definition at line 25 of file common/logger.h.
#define LOG_TRACE | ( | __logger__, | |
... | |||
) | { if (__logger__ && __logger__->should_log(spdlog::level::trace)) { __logger__->trace(__VA_ARGS__); }} |
Definition at line 23 of file common/logger.h.
#define LOG_WARN | ( | __logger__, | |
... | |||
) | { if (__logger__ && __logger__->should_log(spdlog::level::warn)) { __logger__->warn(__VA_ARGS__); }} |
Definition at line 26 of file common/logger.h.