mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
e600e2c1b1
# Objective This moves the default `LogPlugin` filter to be a public constant so that it can be updated and referenced from outside code without changes across releases: ``` fn main() { App::new().add_plugins( DefaultPlugins .set(bevy::log::LogPlugin { filter: format!("{},mylogs=error", bevy::log::LogPlugin::DEFAULT_FILTER), ..default() })).run(); } ``` ## Testing Tested with `cargo run -p ci` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |