|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Definition of Logger class. More...
#include <iterator>#include <memory>#include <string_view>#include <utility>#include <fmt/base.h>#include <fmt/format.h>#include "msgpack_rpc/config/logging_config.h"#include "msgpack_rpc/logging/i_log_sink.h"#include "msgpack_rpc/logging/log_level.h"#include "msgpack_rpc/logging/log_sinks.h"#include "msgpack_rpc/logging/source_location_view.h"Go to the source code of this file.
Classes | |
| class | msgpack_rpc::logging::Logger |
| Class to write logs. More... | |
Namespaces | |
| namespace | msgpack_rpc |
| Namespace of cpp-msgpack-rpc library. | |
| namespace | msgpack_rpc::logging |
| Namespace of logging. | |
Macros | |
| #define | MSGPACK_RPC_CRITICAL(LOGGER_PTR, ...) |
| Write a critical log. | |
| #define | MSGPACK_RPC_DEBUG(LOGGER_PTR, ...) |
| Write a debug log. | |
| #define | MSGPACK_RPC_ERROR(LOGGER_PTR, ...) |
| Write a error log. | |
| #define | MSGPACK_RPC_INFO(LOGGER_PTR, ...) |
| Write a information log. | |
| #define | MSGPACK_RPC_LOG(LOGGER_PTR, LEVEL, ...) |
| Write a log. | |
| #define | MSGPACK_RPC_TRACE(LOGGER_PTR, ...) |
| Write a trace log. | |
| #define | MSGPACK_RPC_WARN(LOGGER_PTR, ...) |
| Write a warning log. | |
Definition of Logger class.
Definition in file logger.h.
| #define MSGPACK_RPC_CRITICAL | ( | LOGGER_PTR, | |
| ... ) |
Write a critical log.
| [in] | LOGGER_PTR | Pointer to the logger. |
Remaining arguments are the format of the log body and its arguments, or the log body itself.
| #define MSGPACK_RPC_DEBUG | ( | LOGGER_PTR, | |
| ... ) |
Write a debug log.
| [in] | LOGGER_PTR | Pointer to the logger. |
Remaining arguments are the format of the log body and its arguments, or the log body itself.
| #define MSGPACK_RPC_ERROR | ( | LOGGER_PTR, | |
| ... ) |
Write a error log.
| [in] | LOGGER_PTR | Pointer to the logger. |
Remaining arguments are the format of the log body and its arguments, or the log body itself.
| #define MSGPACK_RPC_INFO | ( | LOGGER_PTR, | |
| ... ) |
Write a information log.
| [in] | LOGGER_PTR | Pointer to the logger. |
Remaining arguments are the format of the log body and its arguments, or the log body itself.
| #define MSGPACK_RPC_LOG | ( | LOGGER_PTR, | |
| LEVEL, | |||
| ... ) |
Write a log.
| [in] | LOGGER_PTR | Pointer to the logger. |
| [in] | LEVEL | Log level. |
Remaining arguments are the format of the log body and its arguments, or the log body itself.
| #define MSGPACK_RPC_TRACE | ( | LOGGER_PTR, | |
| ... ) |
Write a trace log.
| [in] | LOGGER_PTR | Pointer to the logger. |
Remaining arguments are the format of the log body and its arguments, or the log body itself.
| #define MSGPACK_RPC_WARN | ( | LOGGER_PTR, | |
| ... ) |
Write a warning log.
| [in] | LOGGER_PTR | Pointer to the logger. |
Remaining arguments are the format of the log body and its arguments, or the log body itself.