Register printed banner in ApplicationContext
Update SpringApplication to store the banner that was actually printed as a bean named `springBootBanner`. Closes gh-5636
This commit is contained in:
committed by
Phillip Webb
parent
e14329c77b
commit
aaed87d176
@@ -94,6 +94,9 @@ You can also use the `spring.main.banner-mode` property to determine if the bann
|
||||
to be printed on `System.out` (`console`), using the configured logger (`log`) or not
|
||||
at all (`off`).
|
||||
|
||||
The printed banner will be registered as a singleton bean under the name
|
||||
`springBootBanner`.
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
YAML maps `off` to `false` so make sure to add quotes if you want to disable the
|
||||
|
||||
Reference in New Issue
Block a user