Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

14 řádky
317 B

  1. #include <cpputils/logging/logger_impl.h>
  2. #include <cpputils/logging/consumer/consumer.h>
  3. using namespace ::utl::logging;
  4. consumer::consumer(const std::string& n, bool autoRegister) :
  5. _name(n)
  6. {
  7. if (autoRegister)
  8. register_consumer(*this);
  9. }
  10. consumer::~consumer()
  11. { unregister_consumer(*this); }