SpringBoot customized startup Banner online generation tool, and operation

When we start SpringBoot, the console will print the SpringBoot Logo and version information; this operation can be customized through SpringBoot's banner

 
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.1.RELEASE)
  • org.springframework.boot.ResourceBanner

    In text format, SpringBoot will read the configuration item banner.txtand banner.locationobtain the real file address from the configuration item; if there is no configuration in the configuration, the configuration item will be loaded as a file;

  • org.springframework.boot.ImageBanner

    Picture format, SpringBoot loads configuration items banner.image.location, obtains the real path from the configuration items, and SpringBoot loads files according to the path of the configuration items.
    If not configured banner.image.location, turn sequentially loads banner.gif, banner.jpgbanner.pngthe three existing documents;

If neither of the above two is configured, Spring Boot will load the default Banner; that is, the method introduced at the beginning of the article.    

////////////////////////////////////////////////////////////////////
//                          _ooOoo_                               //
//                         o8888888o                              //
//                         88" . "88                              //
//                         (| ^_^ |)                              //
//                         O\  =  /O                              //
//                      ____/`---'\____                           //
//                    .'  \\|     |//  `.                         //
//                   /  \\|||  :  |||//  \                        //
//                  /  _||||| -:- |||||-  \                       //
//                  |   | \\\  -  /// |   |                       //
//                  | \_|  ''\---/''  |   |                       //
//                  \  .-\__  `-`  ___/-. /                       //
//                ___`. .'  /--.--\  `. . ___                     //
//              ."" '<  `.___\_<|>_/___.'  >'"".                  //
//            |: `-\` .; `\ _ /`;.`/-`: | |                  // 
//             \ \ `-. \ _ __ \ / __ _ / .-` / /                  // 
//       = ======= `-.____` -.___ \ _____ / ___.- `____.- '========          // 
//                            ` = --- ='                               // 
//       ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^         / / 
//             Buddha bless never goes down never BUG                  //
 /////////////////////////////////// //////////////////////////////// //

 

Specifically, configure under resource

In addition, for image generation, you can generate it in the tool as follows:

http://www.degraeve.com/img2txt.phphttps://www.bootschool.net/ascii

 

Guess you like

Origin www.cnblogs.com/zhaixingzhu/p/12731587.html