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

Class RegistryImpl

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

Source from the content-addressed store, hash-verified

61using LoggerMap = std::unordered_map<std::string, std::shared_ptr<Logger>>;
62
63struct RegistryImpl {
64 LoggerMap loggers;
65 std::shared_ptr<Logger> default_logger = MakeOStreamLogger(ArrowLogLevel::ARROW_INFO);
66 std::mutex mtx;
67};
68
69RegistryImpl* GetRegistry() {
70 static auto instance = std::make_unique<RegistryImpl>();

Callers

nothing calls this directly

Calls 1

MakeOStreamLoggerFunction · 0.85

Tested by

no test coverage detected