@@ -21,6 +21,7 @@ use crate::catcher::{self, Catcher};
21
21
use crate :: outcome:: Outcome ;
22
22
use crate :: error:: { LaunchError , LaunchErrorKind } ;
23
23
use crate :: fairing:: { Fairing , Fairings } ;
24
+ use crate :: logger:: PaintExt ;
24
25
25
26
use crate :: http:: { Method , Status , Header } ;
26
27
use crate :: http:: hyper:: { self , header} ;
@@ -403,7 +404,7 @@ impl Rocket {
403
404
logger:: push_max_level ( logger:: LoggingLevel :: Normal ) ;
404
405
}
405
406
406
- launch_info ! ( "{}Configured for {}." , Paint :: masked ( "🔧 " ) , config. environment) ;
407
+ launch_info ! ( "{}Configured for {}." , Paint :: emoji ( "🔧 " ) , config. environment) ;
407
408
launch_info_ ! ( "address: {}" , Paint :: default ( & config. address) . bold( ) ) ;
408
409
launch_info_ ! ( "port: {}" , Paint :: default ( & config. port) . bold( ) ) ;
409
410
launch_info_ ! ( "log: {}" , Paint :: default ( config. log_level) . bold( ) ) ;
@@ -503,7 +504,7 @@ impl Rocket {
503
504
#[ inline]
504
505
pub fn mount < R : Into < Vec < Route > > > ( mut self , base : & str , routes : R ) -> Self {
505
506
info ! ( "{}{} {}{}" ,
506
- Paint :: masked ( "🛰 " ) ,
507
+ Paint :: emoji ( "🛰 " ) ,
507
508
Paint :: magenta( "Mounting" ) ,
508
509
Paint :: blue( base) ,
509
510
Paint :: magenta( ":" ) ) ;
@@ -562,7 +563,7 @@ impl Rocket {
562
563
/// ```
563
564
#[ inline]
564
565
pub fn register ( mut self , catchers : Vec < Catcher > ) -> Self {
565
- info ! ( "{}{}" , Paint :: masked ( "👾 " ) , Paint :: magenta( "Catchers:" ) ) ;
566
+ info ! ( "{}{}" , Paint :: emoji ( "👾 " ) , Paint :: magenta( "Catchers:" ) ) ;
566
567
for c in catchers {
567
568
if self . catchers . get ( & c. code ) . map_or ( false , |e| !e. is_default ) {
568
569
info_ ! ( "{} {}" , c, Paint :: yellow( "(warning: duplicate catcher!)" ) ) ;
@@ -721,7 +722,7 @@ impl Rocket {
721
722
722
723
let full_addr = format!( "{}:{}" , self . config. address, self . config. port) ;
723
724
launch_info!( "{}{} {}{}" ,
724
- Paint :: masked ( "🚀 " ) ,
725
+ Paint :: emoji ( "🚀 " ) ,
725
726
Paint :: default ( "Rocket has launched from" ) . bold( ) ,
726
727
Paint :: default ( proto) . bold( ) . underline( ) ,
727
728
Paint :: default ( & full_addr) . bold( ) . underline( ) ) ;
0 commit comments