24#include <toml++/toml.h>
49 "filepath in num_collect.logging.sinks element with type "
Interface of factories of log sinks.
Class of tables of log sinks.
Class to create log sinks to write to files without rotation using TOML configurations.
auto create(log_sink_factory_table &sinks) -> sinks::log_sink override
Create log sink.
std::string filepath_
Filepath.
~toml_single_file_log_sink_factory() noexcept override=default
Destructor.
toml_single_file_log_sink_factory(const ::toml::table &table)
Constructor.
Declaration of functions to create file log sinks.
Definition of log_sink class.
Definition of log_sink_factory_base class.
Definition of log_sink_factory_table class.
Namespace of logging configuration in TOML files.
auto require_value(const ::toml::table &table, std::string_view path, std::string_view config_name, std::string_view type_name) -> T
Get a value or throw exceptions.
NUM_COLLECT_EXPORT auto create_single_file_sink(std::string_view filepath) -> log_sink
Create a log sink to write to a single file.
Definition of helper functions for parsing TOML files.