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

Method set

src/thundersvm/util/log.cpp:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 void Configurations::set(Level level, ConfigurationType configurationType, const std::string& value) {
263 base::threading::ScopedLock scopedLock(lock());
264 unsafeSet(level, configurationType, value); // This is not unsafe anymore as we have locked mutex
265 if (level == Level::Global) {
266 unsafeSetGlobally(configurationType, value, false); // Again this is not unsafe either
267 }
268 }
269
270 void Configurations::set(Configuration* conf) {
271 if (conf == nullptr) {

Callers 3

parseLineMethod · 0.80
reconfigureLoggerMethod · 0.80
reconfigureAllLoggersMethod · 0.80

Calls 2

configurationTypeMethod · 0.80
levelMethod · 0.45

Tested by

no test coverage detected