27#include "msgpack_rpc/impl/msgpack_rpc_export.h"
37[[nodiscard]] MSGPACK_RPC_EXPORT std::shared_ptr<ILogSink>
48[[nodiscard]] MSGPACK_RPC_EXPORT std::shared_ptr<ILogSink>
50 std::size_t max_file_size, std::size_t max_files);
58[[nodiscard]] MSGPACK_RPC_EXPORT std::shared_ptr<ILogSink>
Definition of ILogSink class.
Definition of LoggingConfig class.
std::shared_ptr< ILogSink > 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 > create_stdout_log_sink()
Create a log sink to write to standard output.
std::shared_ptr< ILogSink > create_log_sink_from_config(const config::LoggingConfig &config)
Create a log sink from a configuration.