(&mut self, #[allow(unused)] message: &str)
| 646 | } |
| 647 | |
| 648 | fn log_progress(&mut self, #[allow(unused)] message: &str) { |
| 649 | // TODO: add more infos here |
| 650 | #[cfg(feature = "tracing")] |
| 651 | tracing::debug!( |
| 652 | target: "aiscript_arena", |
| 653 | parent: &self.span, |
| 654 | message, |
| 655 | phase = tracing::field::debug(self.cx.phase.get()), |
| 656 | allocated = self.cx.metrics.total_allocation(), |
| 657 | ); |
| 658 | } |
| 659 | |
| 660 | #[cfg(feature = "tracing")] |
| 661 | fn span_for(metrics: &Metrics, phase: Phase) -> tracing::Span { |