Print validation results (logs registered drivers and status)
Definition at line 20 of file platform.cpp.hpp.
20 {
22
23 if (infos.empty()) {
24 FL_ERROR(
"[VALIDATION] No drivers registered with ChannelManager!");
25 return;
26 }
27
28 FL_WARN(
"\n[VALIDATION] Registered drivers: " << infos.size());
29 for (fl::size i = 0; i < infos.size(); i++) {
30 const auto& info = infos[i];
32 FL_WARN(
" - " << info.name.c_str()
33 << " (priority=" << info.priority
34 << ", enabled=" << (info.enabled ? "true" : "false")
35 << ")");
36 }
37 FL_WARN(
"[VALIDATION] Driver registration OK");
38}
fl::span< const DriverInfo > getDriverInfos() const FL_NOEXCEPT
Get full state of all registered drivers.
ChannelManager & channelManager()
Get the global ChannelManager singleton instance.
References fl::channelManager(), FL_ERROR, FL_UNUSED, FL_WARN, and fl::ChannelManager::getDriverInfos().
Referenced by autoResearchExpectedEngines().