(mut self, target_dir: impl Into<PathBuf>)
| 112 | |
| 113 | #[must_use] |
| 114 | pub fn with_flamegraph(mut self, target_dir: impl Into<PathBuf>) -> Self { |
| 115 | self.flamegraph_path = Some(target_dir.into()); |
| 116 | self |
| 117 | } |
| 118 | |
| 119 | fn build(self) -> Result<(impl Into<Dispatch>, impl Drop), Report<InitTracingError>> { |
| 120 | let error_layer = self.error_layer.then(ErrorLayer::default); |
no outgoing calls
no test coverage detected