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

Method isValidId

src/thundersvm/util/log.cpp:591–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589 }
590
591 bool Logger::isValidId(const std::string& id) {
592 for (std::string::const_iterator it = id.begin(); it != id.end(); ++it) {
593 if (!base::utils::Str::contains(base::consts::kValidLoggerIdSymbols, *it)) {
594 return false;
595 }
596 }
597 return true;
598 }
599
600 void Logger::flush(void) {
601 ELPP_INTERNAL_INFO(3, "Flushing logger [" << m_id << "] all levels");

Callers

nothing calls this directly

Calls 2

endMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected