MCPcopy Create free account
hub / github.com/AimRT/AimRT / SetLogger

Method SetLogger

src/runtime/core/executor/asio_thread_executor.h:62–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 State GetState() const { return state_.load(); }
61
62 void SetLogger(const std::shared_ptr<aimrt::common::util::LoggerWrapper>& logger_ptr) { logger_ptr_ = logger_ptr; }
63 const aimrt::common::util::LoggerWrapper& GetLogger() const { return *logger_ptr_; }
64
65 asio::io_context* IOCTX() { return io_ptr_.get(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected