天天看點

Spring Boot(二)Customizing the Banner

在類路徑上添加 banner.txt 預設UTF-8編碼,可以通過banner.charset設定編碼

或者通過設定屬性指定檔案位置:banner.location

也可以指定圖檔banner.gif,banner.jpg,banner.png

設定屬性:banner.image.location

圖檔會轉換成隊形的ASCII值列印出來,在banner.txt中可以使用占位符