定制springboot启动日志banner
@SpringBootApplication
public class SpringbootbannerApplication {
public static void main(String[] args)
{
SpringApplicationBuilder builder = new SpringApplicationBuilder(SpringbootbannerApplication.class);
SpringApplication build = builder.build();
build.setBannerMode(Banner.Mode.OFF);
build.run(args);
}
}
是不是 so easy。