| 27 | namespace cmimpl |
| 28 | { |
| 29 | CMLogger::CMLogger(cppmicroservices::BundleContext context) |
| 30 | : cmContext(std::move(context)) |
| 31 | , serviceTracker( |
| 32 | std::make_unique<cppmicroservices::ServiceTracker<cppmicroservices::logservice::LogService>>( |
| 33 | cmContext, |
| 34 | this)) |
| 35 | , logService(nullptr) |
| 36 | { |
| 37 | serviceTracker->Open(); // Start tracking |
| 38 | } |
| 39 | |
| 40 | CMLogger::~CMLogger() |
| 41 | { |