Locks the storage and returns the collected traces.
(&self)
| 102 | |
| 103 | /// Locks the storage and returns the collected traces. |
| 104 | pub fn lock(&self) -> spin::MutexGuard<'_, Vec<(Level, String)>> { |
| 105 | self.0.lock() |
| 106 | } |
| 107 | |
| 108 | /// Returns if the storage is empty. |
| 109 | pub fn is_empty(&self) -> bool { |
no outgoing calls
no test coverage detected