diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-08-18 18:38:10 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-08-18 18:38:10 +0800 |
commit | b53780b2106b0f233c48e27653336b8a629ca486 (patch) | |
tree | e5e2659eb23852012804e9ba8a290a8e19d8230f /src/ui/host/RoutedEventDispatch.h | |
parent | d3568fb844c7b9ea59783b04899dbd94ad972b91 (diff) | |
download | cru-b53780b2106b0f233c48e27653336b8a629ca486.tar.gz cru-b53780b2106b0f233c48e27653336b8a629ca486.tar.bz2 cru-b53780b2106b0f233c48e27653336b8a629ca486.zip |
Rename CRU_LOG_* to CRU_LOG_TAG_*.
Diffstat (limited to 'src/ui/host/RoutedEventDispatch.h')
-rw-r--r-- | src/ui/host/RoutedEventDispatch.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/host/RoutedEventDispatch.h b/src/ui/host/RoutedEventDispatch.h index 207e1ee6..6677deea 100644 --- a/src/ui/host/RoutedEventDispatch.h +++ b/src/ui/host/RoutedEventDispatch.h @@ -34,7 +34,7 @@ void DispatchEvent( if (original_sender == last_receiver) { if constexpr (debug_flags::routed_event) - CRU_LOG_DEBUG( + CRU_LOG_TAG_DEBUG( u"Routed event {} no need to dispatch (original_sender == " "last_receiver). Original sender is {}.", event_name, original_sender->GetControlType()); @@ -64,7 +64,7 @@ void DispatchEvent( log += u" -> "; } log += i->Resolve()->GetControlType(); - CRU_LOG_DEBUG(log); + CRU_LOG_TAG_DEBUG(log); } auto handled = false; @@ -82,7 +82,7 @@ void DispatchEvent( if (event_args.IsHandled()) { handled = true; if constexpr (debug_flags::routed_event) - CRU_LOG_DEBUG( + CRU_LOG_TAG_DEBUG( u"Routed event is short-circuit in TUNNEL at {}-st control (count " u"from parent).", count); @@ -102,7 +102,7 @@ void DispatchEvent( ->Raise(event_args); if (event_args.IsHandled()) { if constexpr (debug_flags::routed_event) - CRU_LOG_DEBUG( + CRU_LOG_TAG_DEBUG( u"Routed event is short-circuit in BUBBLE at {}-st control " u"(count from parent).", count); @@ -121,7 +121,7 @@ void DispatchEvent( } if constexpr (debug_flags::routed_event) - CRU_LOG_DEBUG(u"Routed event dispatch finished."); + CRU_LOG_TAG_DEBUG(u"Routed event dispatch finished."); WindowHost::LeaveEventHandling(); } |