Skip to content

Commit

Permalink
missed a few rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Oct 28, 2021
1 parent 447510d commit f2c3b16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ impl App {
self
}

/// Consumes a startup resource, and removes it from the current [App] so that a plugin
/// Consumes an initialization resource, and removes it from the current [App] so that a plugin
/// can use it for its configuration.
pub fn consume_initialization_resource<T>(&mut self) -> Option<T>
where
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_log/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use tracing_subscriber::{prelude::*, registry::Registry, EnvFilter};
/// * Using [`tracing-wasm`](https://crates.io/crates/tracing-wasm) in WASM, logging
/// to the browser console.
///
/// You can configure this plugin using the startup resource [`LogSettings`].
/// You can configure this plugin using the initialization resource [`LogSettings`].
/// ```no_run
/// # use bevy_internal::DefaultPlugins;
/// # use bevy_app::App;
Expand Down
2 changes: 1 addition & 1 deletion examples/app/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn log_system() {
error!("something failed");

// by default, trace and debug logs are ignored because they are "noisy"
// you can control what level is logged by adding the LogSettings startup resource
// you can control what level is logged by adding the LogSettings initialization resource
// alternatively you can set the log level via the RUST_LOG=LEVEL environment variable
// ex: RUST_LOG=trace, RUST_LOG=info,bevy_ecs=warn
// the format used here is super flexible. check out this documentation for more info:
Expand Down

0 comments on commit f2c3b16

Please sign in to comment.