No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

23 líneas
450 B

  1. #pragma once
  2. #include <regex>
  3. #include <cpputils/logging/matcher/matcher.h>
  4. namespace utl {
  5. namespace logging {
  6. struct matcher_regex : public matcher
  7. {
  8. private:
  9. std::regex _regex;
  10. bool _invert;
  11. public:
  12. bool match(const logger& logger) const override;
  13. bool match(const consumer& consumer) const override;
  14. matcher_regex(const std::string expression, bool invert = false);
  15. };
  16. }
  17. }