Skip to content

Commit ac49d73

Browse files
committed
[update] print formatting.
1 parent 299e5d4 commit ac49d73

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

lambda/src/runtimes/mod.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ impl Runtime for GenericRuntime {
201201
})
202202
}
203203
_ => {
204-
println!("Unhandled synthetic keyboard event: {:?}", input);
204+
println!(
205+
"[WARN] Unhandled synthetic keyboard event: {:?}",
206+
input
207+
);
205208
}
206209
},
207210
WinitWindowEvent::ModifiersChanged(_) => {}
@@ -289,7 +292,7 @@ impl Runtime for GenericRuntime {
289292
.expect("[ERROR] The render API has been already taken.")
290293
.destroy();
291294

292-
println!("All resources were successfully deleted.");
295+
println!("[INFO] All resources were successfully deleted.");
293296
}
294297
}
295298
});
@@ -298,10 +301,10 @@ impl Runtime for GenericRuntime {
298301
/// When the generic runtime starts, it will attach all of the components that
299302
/// have been added during the construction phase in the users code.
300303
fn on_start(&mut self) {
301-
println!("Starting the runtime {}", self.name);
304+
println!("[INFO] Starting the runtime {}", self.name);
302305
}
303306

304307
fn on_stop(&mut self) {
305-
println!("Stopping {}", self.name)
308+
println!("[INFO] Stopping {}", self.name)
306309
}
307310
}

0 commit comments

Comments
 (0)