cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Definition of SpdlogLogSink class. More...
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include "msgpack_rpc/common/msgpack_rpc_exception.h"
#include "msgpack_rpc/common/status_code.h"
#include "msgpack_rpc/logging/i_log_sink.h"
#include "msgpack_rpc/logging/log_level.h"
#include "msgpack_rpc/logging/source_location_view.h"
Go to the source code of this file.
Classes | |
class | msgpack_rpc::logging::impl::spdlog_backend::SpdlogLogSink |
Class of log sinks using spdlog library. More... |
Namespaces | |
namespace | msgpack_rpc |
Namespace of cpp-msgpack-rpc library. | |
namespace | msgpack_rpc::logging |
Namespace of logging. | |
namespace | msgpack_rpc::logging::impl |
Namespace of internal implementations. | |
namespace | msgpack_rpc::logging::impl::spdlog_backend |
Namespace of internal implementation of logging using spdlog library. |
Functions | |
void | msgpack_rpc::logging::impl::spdlog_backend::configure_spdlog_logger_format_for_consoles (const std::shared_ptr< spdlog::logger > &logger) |
Configure the log format of a logger in spdlog library for output to consoles. | |
void | msgpack_rpc::logging::impl::spdlog_backend::configure_spdlog_logger_format_for_files (const std::shared_ptr< spdlog::logger > &logger) |
Configure the log format of a logger in spdlog library for output to files. | |
spdlog::level::level_enum | msgpack_rpc::logging::impl::spdlog_backend::convert_log_level (LogLevel level) |
Convert a log level in this library to a log level in spdlog library. |
Definition of SpdlogLogSink class.
Definition in file spdlog_log_sink.h.