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

Method flush

src/thundersvm/util/log.cpp:600–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598 }
599
600 void Logger::flush(void) {
601 ELPP_INTERNAL_INFO(3, "Flushing logger [" << m_id << "] all levels");
602 base::threading::ScopedLock scopedLock(lock());
603 base::type::EnumType lIndex = LevelHelper::kMinValid;
604 LevelHelper::forEachLevel(&lIndex, [&](void) -> bool {
605 flush(LevelHelper::castFromInt(lIndex), nullptr);
606 return false;
607 });
608 }
609
610 void Logger::flush(Level level, base::type::fstream_t* fs) {
611 if (fs == nullptr && m_typedConfigurations->toFile(level)) {

Callers 4

newFileStreamMethod · 0.80
unsafeFlushAllMethod · 0.80
dispatchMethod · 0.80
handleMethod · 0.80

Calls 3

toFileMethod · 0.80
fileStreamMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected