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

Method SetDefaultLogger

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

Source from the content-addressed store, hash-verified

122}
123
124void LoggerRegistry::SetDefaultLogger(std::shared_ptr<Logger> logger) {
125 DCHECK_NE(logger, nullptr);
126 auto registry = GetRegistry();
127 std::lock_guard<std::mutex> lk(registry->mtx);
128 registry->default_logger = std::move(logger);
129}
130
131class LogMessage::Impl {
132 public:

Callers

nothing calls this directly

Calls 1

GetRegistryFunction · 0.85

Tested by

no test coverage detected