Skip to content

Commit

Permalink
formatting (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
cscorley authored Aug 27, 2024
1 parent f6aa1f8 commit d7d17c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/log_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ impl Default for LogSettings {
impl Plugin for LogPlugin {
fn build(&self, app: &mut App) {
let default_filter = {
let settings = app.world_mut().get_resource_or_insert_with(LogSettings::default);
let settings = app
.world_mut()
.get_resource_or_insert_with(LogSettings::default);
format!("{},{}", settings.level, settings.filter)
};
LogTracer::init().unwrap();
Expand Down

0 comments on commit d7d17c5

Please sign in to comment.