fix: instrumentation

This commit is contained in:
Nova
2025-10-21 15:07:21 -07:00
parent 891d90fc5e
commit d5034b4034
2 changed files with 2 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ impl AliasList {
fn add(&self, node: &Arc<Node>) {
self.0.add_raw(node);
}
#[tracing::instrument(level = "trace", skip_all)]
pub fn get_from_original_node(&self, original: Weak<Node>) -> Option<Arc<Node>> {
self.0
.get_valid_contents()

View File

@@ -137,6 +137,7 @@ impl InputMethod {
self.capture_attempts.remove(handler);
}
#[tracing::instrument(level = "trace", skip(self, handler))]
pub(super) fn serialize(&self, alias_id: u64, handler: &Arc<InputHandler>) -> InputData {
let mut input = self.data.lock().clone();
input.transform(self, handler);