numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::logging::config::toml::impl Namespace Reference

Namespace of internal implementations. More...

Functions

void parse_log_tag_config_to (log_tag_config &config, const ::toml::table &table, log_sink_factory_table &sinks)
 Parse configurations of logging for a log tag.
 
auto require_log_level (const ::toml::table &table, std::string_view path, std::string_view config_name) -> log_level
 Get a log level value or throw exception.
 

Detailed Description

Namespace of internal implementations.

Function Documentation

◆ parse_log_tag_config_to()

void num_collect::logging::config::toml::impl::parse_log_tag_config_to ( log_tag_config & config,
const ::toml::table & table,
log_sink_factory_table & sinks )
inline

Parse configurations of logging for a log tag.

Parameters
[out]configConfiguration.
[in]tableTable in toml++ library.
[in]sinksLog sinks.

Definition at line 74 of file toml_log_config_parser.h.

◆ require_log_level()

auto num_collect::logging::config::toml::impl::require_log_level ( const ::toml::table & table,
std::string_view path,
std::string_view config_name ) -> log_level
inline

Get a log level value or throw exception.

Parameters
[in]tableTable in toml++ library.
[in]pathPath.
[in]config_nameConfiguration name for exceptions.
Returns
Value.

Definition at line 60 of file toml_log_config_parser.h.