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ů.
|
- #include <cpputils/logging/logger_impl.h>
- #include <cpputils/logging/consumer/consumer.h>
-
- using namespace ::utl::logging;
-
- consumer::consumer(const std::string& n, bool autoRegister) :
- _name(n)
- {
- if (autoRegister)
- register_consumer(*this);
- }
-
- consumer::~consumer()
- { unregister_consumer(*this); }
|