MCPcopy Create free account
hub / github.com/apache/arrow / GetDefaultLogger

Method GetDefaultLogger

cpp/src/arrow/util/logger.cc:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118std::shared_ptr<Logger> LoggerRegistry::GetDefaultLogger() {
119 auto registry = GetRegistry();
120 std::lock_guard<std::mutex> lk(registry->mtx);
121 return registry->default_logger;
122}
123
124void LoggerRegistry::SetDefaultLogger(std::shared_ptr<Logger> logger) {
125 DCHECK_NE(logger, nullptr);

Callers

nothing calls this directly

Calls 1

GetRegistryFunction · 0.85

Tested by

no test coverage detected