Allow ANSI output to be configured by properties
Add AnsiOutputApplicationListener which configures AnsiOutput.enabled based on a `spring.output.ansi.enabled` property. Fixes gh-1243
This commit is contained in:
committed by
Phillip Webb
parent
45c8eca4f2
commit
a35a79e1a3
@@ -711,7 +711,10 @@ messages to the console you can start your application with a `--debug` flag.
|
||||
$ java -jar myapp.jar --debug
|
||||
----
|
||||
|
||||
If your terminal supports ANSI, color output will be used to aid readability.
|
||||
If your terminal supports ANSI, color output will be used to aid readability. You can set
|
||||
`spring.output.ansi.enabled` to a
|
||||
{dc-spring-boot}/ansi/AnsiOutput.Enabled.{dc-ext}[supported value] to override the auto
|
||||
detection.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user