| Crates.io | bevy_debug_log |
| lib.rs | bevy_debug_log |
| version | 0.6.0 |
| created_at | 2024-10-09 22:11:39.925442+00 |
| updated_at | 2025-04-25 07:53:20.051221+00 |
| description | Allows viewing tracing debug log output inside the bevy app using vanilla bevy_ui. |
| homepage | |
| repository | https://github.com/rustunit/bevy_debug_log |
| max_upload_size | |
| id | 1403128 |
| size | 190,994 |
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.

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 simpleto see this example for yourself!
| bevy | crate |
|---|---|
| 0.16 | 0.6, main |
| 0.15 | 0.4, 0.5, main |
| 0.14 | 0.1, 0.2, 0.3 |
bevy_debug_log is dual-licensed under either MIT or Apache 2.0, at your option.