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

Namespace of logging configuration. More...

Namespaces

namespace  toml
 Namespace of logging configuration in TOML files.
 

Classes

class  default_log_sink_factory
 Class to create default log sink. More...
 
class  log_config_parser_base
 Interface of parsers of logging configurations. More...
 
class  log_sink_factory_base
 Interface of factories of log sinks. More...
 
class  log_sink_factory_table
 Class of tables of log sinks. More...
 

Functions

auto parse_output_log_level_str (std::string_view str) -> log_level
 Parse a log level from a string to use in output_log_level of log_tag_config class.
 

Variables

constexpr auto default_log_sink_name = std::string_view("default")
 Name of the default log sink.
 

Detailed Description

Namespace of logging configuration.

Function Documentation

◆ parse_output_log_level_str()

auto num_collect::logging::config::parse_output_log_level_str ( std::string_view str) -> log_level
inlinenodiscard

Parse a log level from a string to use in output_log_level of log_tag_config class.

Parameters
[in]strString.
Returns
Log level.

Definition at line 39 of file parse_output_log_level_str.h.

Variable Documentation

◆ default_log_sink_name

auto num_collect::logging::config::default_log_sink_name = std::string_view("default")
constexpr

Name of the default log sink.

Definition at line 41 of file log_sink_factory_table.h.