File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments