mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
constellation: allow event tracing to be configured with RUST_LOG (#31659)
This commit is contained in:
parent
b30b79a93a
commit
ed99128132
3 changed files with 267 additions and 7 deletions
|
@ -1334,7 +1334,7 @@ where
|
|||
}
|
||||
|
||||
fn handle_request_from_compositor(&mut self, message: FromCompositorMsg) {
|
||||
trace!("Got compositor message: {:?}", message);
|
||||
trace_msg_from_compositor!(message, "{message:?}");
|
||||
match message {
|
||||
FromCompositorMsg::Exit => {
|
||||
self.handle_exit();
|
||||
|
@ -1552,11 +1552,7 @@ where
|
|||
|
||||
fn handle_request_from_script(&mut self, message: (PipelineId, FromScriptMsg)) {
|
||||
let (source_pipeline_id, content) = message;
|
||||
trace!(
|
||||
"{}: Message from pipeline: {:?}",
|
||||
source_pipeline_id,
|
||||
content,
|
||||
);
|
||||
trace_script_msg!(content, "{source_pipeline_id}: {content:?}");
|
||||
|
||||
let source_top_ctx_id = match self
|
||||
.pipelines
|
||||
|
@ -2098,7 +2094,7 @@ where
|
|||
}
|
||||
|
||||
fn handle_request_from_layout(&mut self, message: FromLayoutMsg) {
|
||||
debug!("Got layout message: {:?}", message);
|
||||
trace_layout_msg!(message, "{message:?}");
|
||||
match message {
|
||||
// Layout sends new sizes for all subframes. This needs to be reflected by all
|
||||
// frame trees in the navigation context containing the subframe.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue