|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Declaration of functions to create log sinks. More...
#include <cstddef>#include <memory>#include <string_view>#include "msgpack_rpc/config/logging_config.h"#include "msgpack_rpc/impl/msgpack_rpc_export.h"#include "msgpack_rpc/logging/i_log_sink.h"Go to the source code of this file.
Namespaces | |
| namespace | msgpack_rpc |
| Namespace of cpp-msgpack-rpc library. | |
| namespace | msgpack_rpc::logging |
| Namespace of logging. | |
Functions | |
| std::shared_ptr< ILogSink > | msgpack_rpc::logging::create_log_sink_from_config (const config::LoggingConfig &config) |
| Create a log sink from a configuration. | |
| std::shared_ptr< ILogSink > | msgpack_rpc::logging::create_rotating_file_log_sink (std::string_view file_path, std::size_t max_file_size, std::size_t max_files) |
| Create a log sink to write to a file with rotation. | |
| std::shared_ptr< ILogSink > | msgpack_rpc::logging::create_stdout_log_sink () |
| Create a log sink to write to standard output. | |
Declaration of functions to create log sinks.
Definition in file log_sinks.h.