Searched refs:log_level (Results 1 – 8 of 8) sorted by relevance
30 log_level: Option<log::Level>, field44 self.log_level = Some(level); in with_min_level()88 if let Some(log_level) = config.log_level { in init()89 builder.filter_level(log_level.to_level_filter()); in init()118 if let Some(log_level) = config.log_level { in init()119 builder = builder.with_min_level(log_level); in init()152 assert_eq!(config.log_level, Some(log::Level::Error)); in test_with_min_level()
118 int log_level = -1; in check_loglevel() local119 ParseInt(args[1], &log_level); in check_loglevel()120 if (log_level < 0 || log_level > 7) { in check_loglevel()
1098 int log_level = -1; in do_loglevel() local1099 android::base::ParseInt(args[1], &log_level); in do_loglevel()1101 switch (log_level) { in do_loglevel()1111 return Error() << "invalid log level " << log_level; in do_loglevel()
121 bool SetLogSeverity(const char* log_level);182 bool ReportLib::SetLogSeverity(const char* log_level) { in SetLogSeverity() argument184 if (!GetLogSeverity(log_level, &severity)) { in SetLogSeverity()185 LOG(ERROR) << "Unknown log severity: " << log_level; in SetLogSeverity()412 bool SetLogSeverity(ReportLib* report_lib, const char* log_level) EXPORT;440 bool SetLogSeverity(ReportLib* report_lib, const char* log_level) { in SetLogSeverity() argument441 return report_lib->SetLogSeverity(log_level); in SetLogSeverity()
50 uint8_t log_level = hd_cb.trace_level; in HID_DevInit() local55 hd_cb.trace_level = log_level; in HID_DevInit()
231 uint8_t log_level = hh_cb.trace_level; in HID_HostInit() local233 hh_cb.trace_level = log_level; in HID_HostInit()
290 def SetLogSeverity(self, log_level: str = 'info'):292 cond: bool = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level))
568 ::android::base::LogSeverity log_level) { in MapExpectedOrLog() argument569 return observable.filter([log_level](const auto& result) { in MapExpectedOrLog()573 LOG(log_level) << result.error(); in MapExpectedOrLog()