MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / unsafeSetGlobally

Method unsafeSetGlobally

src/thundersvm/util/log.cpp:490–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 }
489
490 void Configurations::unsafeSetGlobally(ConfigurationType configurationType, const std::string& value,
491 bool includeGlobalLevel) {
492 if (includeGlobalLevel) {
493 unsafeSet(Level::Global, configurationType, value);
494 }
495 base::type::EnumType lIndex = LevelHelper::kMinValid;
496 LevelHelper::forEachLevel(&lIndex, [&](void) -> bool {
497 unsafeSet(LevelHelper::castFromInt(lIndex), configurationType, value);
498 return false; // Do not break lambda function yet as we need to set all levels regardless
499 });
500 }
501
502// LogBuilder
503

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected