diff --git a/src/event_streamer.rs b/src/event_streamer.rs index c1d69b7..d74f915 100644 --- a/src/event_streamer.rs +++ b/src/event_streamer.rs @@ -95,7 +95,9 @@ where { match result { Ok(event) => { - log::info!("Event: {}", std::any::type_name::()); + let type_name = std::any::type_name::(); + let name = type_name.rsplit("::").next().unwrap_or(type_name); + log::info!("Event: {}", name); Some(event) } Err(error) => {