26#include "msgpack_rpc/impl/msgpack_rpc_export.h"
82 [[nodiscard]] std::string_view
file_path()
const noexcept;
96 [[nodiscard]] std::size_t
max_files()
const noexcept;
LoggingConfig & max_file_size(std::size_t value)
Set the maximum size of a file.
LoggingConfig & max_files(std::size_t value)
Set the maximum number of files.
std::size_t max_file_size_
Maximum size of a file.
std::string file_path_
File path.
LoggingConfig & output_log_level(logging::LogLevel value)
Set the log level to write logs.
std::size_t max_files_
Maximum number of files.
LoggingConfig()
Constructor.
logging::LogLevel output_log_level_
Log level to write logs.
LoggingConfig & file_path(std::string_view value)
Set the file path.
Definition of LogLevel enumeration.
Namespace of configurations.
LogLevel
Enumeration of log levels.