赞
踩
SpringBoot启动成功打印控制台图案
提示:以下是本篇文章正文内容,下面案例可供参考
- 【链接】:http://patorjk.com/software/taag/#p=testall&c=bash&f=Nancyj-Fancy&t=test
图案如下(示例):
#
#
# ,d ,d
# 88 88
# MM88MMM ,adPPYba, ,adPPYba, MM88MMM
# 88 a8P_____88 I8[ "" 88
# 88 8PP""""""" `"Y8ba, 88
# 88, "8b, ,aa aa ]8I 88,
# "Y888 `"Ybbd8"' `"YbbdP"' "Y888
#
#
- 【说明】:在启动类中输出
代码如下(示例):
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class, DataSourceAutoConfiguration.class})
public class HealthyApplication {
public static void main(String[] args) {
SpringApplication.run(HealthyApplication.class, args);
System.out.println(" .......................启动成功...................................\n" +
" 88 \n" +
" 88 \n" +
" 88 \n" +
" 8b, ,d8 88 88 888888888 88,dPPYba, ,adPPYba, 88 88 \n" +
" `Y8, ,8P' 88 88 a8P\" 88P' \"8a a8\" \"8a 88 88 \n" +
" )888( 88 88 ,d8P' 88 88 8b d8 88 88 \n" +
" ,d8\" \"8b, \"8a, ,a88 ,d8\" 88 88 \"8a, ,a8\" \"8a, ,a88 \n" +
" 8P' `Y8 `\"YbbdP'Y8 888888888 88 88 `\"YbbdP\"' `\"YbbdP'Y8 \n" +
"....................永无BUG................");
}
- 【字体建议】:Univers
- 【原因】:其他字体的话需要转移的特殊字符太多很困难,所以建议采用像这种数字的输出
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。