Searched refs:should_log (Results 1 – 7 of 7) sorted by relevance
109 should_log = True117 should_log = False123 if should_log:
28 def should_log(_record): function32 logger.addFilter(should_log)33 self.addCleanup(logger.removeFilter, should_log)
79 #define TFLITE_MAY_LOG(severity, should_log) \ argument81 tflite::logging::LoggingWrapper::LogSeverity::severity, (should_log)) \
77 bool should_log, int log_severity, in MakeError() argument84 if (TF_PREDICT_TRUE(should_log)) { in MakeError()
365 Boolean should_log = in OutputToDebug() local369 log_to_stderr = exists_and_is_valid && should_log; in OutputToDebug()
1480 bool should_log = log && log->GetVerbose(); in ParseClassInfoArray() local1490 if (should_log) in ParseClassInfoArray()1498 if (should_log) in ParseClassInfoArray()1520 if (should_log) in ParseClassInfoArray()1528 if (should_log) in ParseClassInfoArray()
2154 auto should_log = [&node_names_for_logging](std::string node_name) { in VerboseShapeInferenceLogging() local2160 if (!should_log(node.name())) { in VerboseShapeInferenceLogging()