10 releases (5 breaking)
new 0.6.0 | Apr 25, 2025 |
---|---|
0.5.0 | Jan 7, 2025 |
0.4.2 | Dec 14, 2024 |
0.4.0 | Nov 30, 2024 |
0.1.1 | Oct 10, 2024 |
#760 in Game dev
22 downloads per month
52KB
1K
SLoC
bevy_debug_log
Allows viewing the tracing debug log output inside the app - particularly on platforms like mobile where you have no easy way to follow the terminal output.
Usage
App::new().add_plugins((
DefaultPlugins.set(LogPlugin {
filter: "info".into(),
level: bevy::log::Level::INFO,
// provide custom log layer to receive logging events
custom_layer: bevy_debug_log::log_capture_layer,
}),
// register our plugin
bevy_debug_log::LogViewerPlugin::default(),
));
// in any bevy system use this trigger to toggle the debug log ui on and off
commands.trigger(LogViewerVisibility::Toggle);
Tip
Run cargo run --example simple
to see this example for yourself!
Contributing
Our Other Crates
- bevy_device_lang
- bevy_web_popups
- bevy_libgdx_atlas
- bevy_ios_iap
- bevy_ios_review
- bevy_ios_gamecenter
- bevy_ios_alerts
- bevy_ios_notifications
- bevy_ios_impact
- bevy_ios_safearea
Compatible Bevy Versions
bevy | crate |
---|---|
0.16 | 0.6, main |
0.15 | 0.4, 0.5, main |
0.14 | 0.1, 0.2, 0.3 |
License
bevy_debug_log is dual-licensed under either MIT or Apache 2.0, at your option.
Dependencies
~57–90MB
~1.5M SLoC