25 case DiagLevel::Information:
27 case DiagLevel::Warning:
29 case DiagLevel::Critical:
31 case DiagLevel::Debug:
35 return std::string_view();
44 for (
const auto &msg : *
this) {
45 if (msg.level() >= level) {
58 for (
const auto &msg : *
this) {
69 string DiagMessage::formatList(
const std::vector<string> &values)
71 auto size = values.size() * 4;
72 for (
const auto &str : values) {
77 for (
auto value = values.cbegin(), end = values.cend(), last = values.cend() - 1; value != end; ++value) {
80 }
else if (!res.empty()) {
Contains all classes and functions of the TagInfo library.
TAG_PARSER_EXPORT std::string_view diagLevelName(DiagLevel diagLevel)
Returns the string representation of the specified diagLevel.
DiagLevel
Specifies the level of the diagnostic message.
constexpr auto worstDiagLevel
The worst diag level.