You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
362 B

  1. #pragma once
  2. #include <memory>
  3. #include <cpputils/logging/logger.h>
  4. #include <cpputils/logging/consumer/consumer.h>
  5. namespace utl {
  6. namespace logging {
  7. struct matcher
  8. {
  9. virtual bool match(const logger& logger) const;
  10. virtual bool match(const consumer& consumer) const;
  11. };
  12. using matcher_ptr_u = std::unique_ptr<matcher>;
  13. }
  14. }