MCPcopy Create free account
hub / github.com/catboost/catboost / CheckLoggingContext

Method CheckLoggingContext

library/cpp/logger/global/common.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26bool TLogFilter::CheckLoggingContext(TLog& log, const TLogRecordContext& context) {
27 return context.Priority <= log.FiltrationLevel();
28}
29
30TSimpleSharedPtr<TLogElement> TLogFilter::StartRecord(TLog& logger, const TLogRecordContext& context, TSimpleSharedPtr<TLogElement> earlier) {
31 if (earlier)

Callers

nothing calls this directly

Calls 1

FiltrationLevelMethod · 0.45

Tested by

no test coverage detected