92 bool parse(std::istream& is);
Class used to configure the filtering and logging behavior of Loggers; its use in your custom Loggers...
Optional-use structure encapsulating a full set of verbosity config, such that one can parse it from ...
const std::string & last_result_message() const
To be used after parse() or operator<< or apply_to_config(), returns "" on success or a message descr...
bool apply_to_config(Config *target_config)
Applies *this to to the given log::Config.
std::string m_last_result_message
See last_result_message().
Component_sev_pair_seq m_component_sev_pairs
See component_sev_pairs().
static const char S_TOKEN_SEPARATOR
Separates component/severity pairs in a Verbosity_config specifier string.
static const std::string S_ALL_COMPONENT_NAME_ALIAS
String that Verbosity_config::parse() treats as the default/catch-all verbosity's "component" specifi...
Verbosity_config()
Constructor a Verbosity_config that resets all severity config and sets the default/catch-all to Conf...
const Component_sev_pair_seq & component_sev_pairs() const
Read-only access to encapsulated config; specifies the verbosity-setting calls to make on a Config in...
std::vector< std::pair< std::string, Sev > > Component_sev_pair_seq
Short-hand for the configuration capable of being encapsulated by Verbosity_config.
bool parse(std::istream &is)
Deserializes *this from a standard input stream.
static const char S_PAIR_SEPARATOR
Separates component and severity within each pair in a Verbosity_config specifier string.
Flow module providing logging functionality.