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

Function Log

cpp/src/arrow/telemetry/telemetry_test.cc:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 ::testing::AddGlobalTestEnvironment(new OtelEnvironment);
77
78void Log(LogLevel severity, std::string_view message) {
79 auto logger = std::dynamic_pointer_cast<telemetry::OtelLogger>(
80 util::LoggerRegistry::GetLogger(OtelEnvironment::kLoggerName));
81 ASSERT_NE(logger, nullptr);
82 util::LogDetails details;
83 details.severity = severity;
84 details.message = message;
85 logger->Log(details);
86}
87
88class TestLogging : public ::testing::Test {
89 public:

Callers 1

TEST_FFunction · 0.85

Calls 1

LogMethod · 0.45

Tested by

no test coverage detected