25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #pragma once
-
- #include <regex>
-
- #include <cpputils/logging/matcher/matcher.h>
-
- namespace utl {
- namespace logging {
-
- struct matcher_regex : public matcher
- {
- private:
- std::regex _regex;
- bool _invert;
-
- public:
- bool match(const logger& logger) const override;
- bool match(const consumer& consumer) const override;
- matcher_regex(const std::string expression, bool invert = false);
- };
-
- }
- }
|