Files
moli/moli-trace/src/lib.rs
T
2026-08-11 00:10:12 +08:00

21 lines
610 B
Rust

//! Shared debug and investigation trace switches.
//!
//! These flags are intentionally process-global and cached after first read:
//! they are diagnostics controls, not dynamic runtime configuration.
mod dom_binding;
mod flags;
mod promise_hook;
pub use dom_binding::{
DomBindingOperationStats, record_dom_binding_operation, take_dom_binding_operation_stats,
};
pub use flags::*;
pub use promise_hook::{
PromiseHookStats, record_promise_hook_init, record_promise_hook_resolve,
record_promise_reaction_after, record_promise_reaction_before, take_promise_hook_stats,
};
#[cfg(test)]
mod tests;