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

Method CheckIsEnabled

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

Source from the content-addressed store, hash-verified

190std::ostream& LogMessage::Stream() { return impl_->stream; }
191
192bool LogMessage::CheckIsEnabled() {
193 auto* logger = impl_->GetResolvedLogger();
194 return (logger && logger->is_enabled() &&
195 impl_->details.severity >= logger->severity_threshold());
196}
197
198} // namespace util
199} // namespace arrow

Callers

nothing calls this directly

Calls 3

GetResolvedLoggerMethod · 0.80
is_enabledMethod · 0.45
severity_thresholdMethod · 0.45

Tested by

no test coverage detected