Home
last modified time | relevance | path

Searched refs:last_log (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/tracing/tracing/test-log-support/src/
Dlib.rs9 last_log: Mutex<Option<String>>, field
30 if let Ok(mut last) = self.state.last_log.lock() { in log()
47 last_log: Mutex::new(None), in with_filters()
68 let last = match self.state.last_log.lock().unwrap().take() { in assert_logged()
81 if let Some(last) = self.state.last_log.lock().unwrap().take() { in assert_not_logged()
/third_party/rust/crates/log/test_max_level_features/
Dmain.rs15 last_log: Mutex<Option<Level>>, field
26 *self.0.last_log.lock().unwrap() = Some(record.level()); in log()
33 let me = Arc::new(State { last_log: Mutex::new(None) }); in main()
70 let mut lvl = state.last_log.lock().unwrap(); in last()
/third_party/rust/crates/log/tests/
Dfilters.rs19 last_log: Mutex<Option<Level>>, field
30 *self.0.last_log.lock().unwrap() = Some(record.level()); in log()
55 last_log: Mutex::new(None), in main()
92 let lvl = state.last_log.lock().unwrap().take(); in last()