void YamlConfigurable::apply(ConfigNode const& configNode, bool showEffective, int verbosity) { try { init(); store(configNode); validateStored(); if (showEffective) logEffective(verbosity); } catch (std::exception& e) { SDL_LOG_RETHROW(Config, *this << ": ", e); } }
void logEffectiveOnce(int verbosity = 0) const { if (logEffectiveOnce_.first()) logEffective(verbosity); }