Qt: add log level settings

This commit is contained in:
Megamouse
2026-03-04 19:31:50 +01:00
parent 69384d7bb4
commit 0d80e300a0
16 changed files with 279 additions and 31 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ void cfg::encode(YAML::Emitter& out, const cfg::_base& rhs)
out << YAML::BeginMap;
for (const auto& np : static_cast<const log_entry&>(rhs).get_map())
{
if (np.second == logs::level::notice) continue;
if (np.second == logs::level::_default) continue;
out << YAML::Key << np.first;
out << YAML::Value << fmt::format("%s", np.second);
}