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

Method remove

src/thundersvm/util/log.cpp:1838–1847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1836 }
1837
1838 bool RegisteredLoggers::remove(const std::string& id) {
1839 if (id == base::consts::kDefaultLoggerId) {
1840 return false;
1841 }
1842 Logger* logger = base::utils::Registry<Logger, std::string>::get(id);
1843 if (logger != nullptr) {
1844 unregister(logger);
1845 }
1846 return true;
1847 }
1848
1849 void RegisteredLoggers::unsafeFlushAll(void) {
1850 ELPP_INTERNAL_INFO(1, "Flushing all log files");

Callers 1

unregisterLoggerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected