接口的使用
org.springframework.boot.ansi.AnsiElement
使用AnsiElement的程序包
程序包
说明
Support classes to provide ANSI color output.
Support for the Log4j 2 logging library.
Support for the Logback logging library.
-
org.springframework.boot.ansi中AnsiElement的使用
修饰符和类型类说明final classAnsiElementimplementation for ANSI 8-bit foreground or background color codes.enumAnsibackground colors.enumAnsicolors.enumAnsistyles.参数类型为AnsiElement的org.springframework.boot.ansi中的方法修饰符和类型方法说明static StringAnsiOutput.encode(AnsiElement element) Encode a singleAnsiElementif output is enabled. -
org.springframework.boot.logging.log4j2中AnsiElement的使用
修饰符和类型方法说明protected voidColorConverter.appendAnsiString(StringBuilder toAppendTo, String in, AnsiElement element) -
org.springframework.boot.logging.logback中AnsiElement的使用