SpringBootプロジェクトは、起動時にデフォルトの起動パターンで表示されます。
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.3.1.RELEASE)
遊びやプロジェクトで必要なカスタムパターンに変更することもできます。
src/main/resources/ディレクトリに新しいbanner.txtファイルを作成し、あなたのパターンを貼り付けます。
ASCIIパターンは、
___.__. ____ __ __ ____ ____
< | |/ _ \| | \/ \ / ___\
\___ ( <_> ) | / | \/ /_/ >
/ ____|\____/|____/|___| /\___ /
\/ \//_____/
バナーパターンをオフにすることもできます。
public static void main(String[] args) {
SpringApplication application = new SpringApplication(SpringbootdemoApplication.class);
application.setBannerMode(Banner.Mode.OFF);
application.run();
}