Skip to content

Commit

Permalink
update trace message to be more easily readable
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSWard committed May 19, 2021
1 parent 36023a2 commit 95c1836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ impl<T: Component> Events<T> {
id: self.event_count,
_marker: PhantomData,
};
trace!("Events::send() -> {}", event_id);
trace!("Events::send() -> id: {}", event_id);

let event_instance = EventInstance { event_id, event };

Expand Down Expand Up @@ -396,7 +396,7 @@ impl<T> std::iter::Extend<T> for Events<T> {
}

trace!(
"Events::extend() -> [{}, {})",
"Events::extend() -> ids: ({}..{})",
self.event_count,
event_count
);
Expand Down

0 comments on commit 95c1836

Please sign in to comment.