|
HardFOC Core
API reference
|
Logger::CreateDefaultBaseLogger() for builds with no MCU (HF_CORE_MCU=NONE).
More...
Logger::CreateDefaultBaseLogger() for builds with no MCU (HF_CORE_MCU=NONE).
A host build has no default log transport, so the factory returns nullptr and Logger::Initialize(config) returns false. Host code that wants log output injects a backend with the two-argument overload:
Logging calls made before a backend is injected are dropped, as on target. The host build (top-level CMakeLists.txt) links this file; on-target builds link their MCU factory instead (EspLoggerFactory.cpp).