| 682 | #ifdef AIMRT_CONTEXT_DEFINE_GLOBAL_LOGGER_HANDLE |
| 683 | |
| 684 | inline aimrt::logger::LoggerRef GetLogger() { |
| 685 | if (!aimrt::context::details::g_thread_ctx.ctx_ptr.expired()) { |
| 686 | return aimrt::context::details::GetCurrentContext()->GetRawRef().GetLogger(); |
| 687 | } |
| 688 | return aimrt::logger::GetSimpleLoggerRef(); |
| 689 | } |
| 690 | |
| 691 | #endif |
nothing calls this directly
no test coverage detected