SpringBoot———自定义banner.txt

我们在每次启动SpringBoot的时候
控制台上都会打印SpringBoot自带的字符画

在这里插入图片描述这个时候如果我们想自定义字符画就在resources下添加 banner.txt文件,并且在该文件中输入你找到的 字符画就行了。
在这里插入图片描述
本人使用的字符画:

${AnsiColor.BLUE}            ┏┓   ┏┓
            ┏┛┻━━━┛┻┓
            ┃       ┃  
            ┃   ━   ┃
            ┃ ┳┛ ┗┳ ┃
            ┃       ┃
            ┃   ┻   ┃
            ┃       ┃
            ┗━┓   ┏━┛
              ┃   ┃         
              ┃   ┃ Town building god beast
              ┃   ┗━━━┓
              ┃       ┣┓
              ┃       ┏┛
              ┗┓┓┏━┳┓┏┛
${AnsiColor.GREEN}>>>>>>>>>>>>Logo bless, bug free forever<<<<<<<<<<<<

效果:

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_44310056/article/details/90037036