spring-framework / org.springframework.core.style / StylerUtils

StylerUtils

abstract class StylerUtils

Simple utility class to allow for convenient access to value styling logic, mainly to support descriptive logging messages.

For more sophisticated needs, use the ValueStyler abstraction directly. This class simply uses a shared DefaultValueStyler instance underneath.

Author
Keith Donald

Since
1.2.2

See Also
ValueStylerDefaultValueStyler

Constructors

<init>

StylerUtils()

Simple utility class to allow for convenient access to value styling logic, mainly to support descriptive logging messages.

For more sophisticated needs, use the ValueStyler abstraction directly. This class simply uses a shared DefaultValueStyler instance underneath.

Functions

style

open static fun style(value: Any): String

Style the specified value according to default conventions.