Package io.stargate.sdk.utils
Class AnsiUtils
java.lang.Object
io.stargate.sdk.utils.AnsiUtils
Helper to log with colors.
- Author:
- Cedrick LUNVEN (@clunven)
-
Field Summary
Fields -
Method Summary
-
Field Details
-
ANSI_RESET
Color.- See Also:
-
ANSI_BLACK
Color.- See Also:
-
ANSI_RED
Color.- See Also:
-
ANSI_GREEN
Color.- See Also:
-
ANSI_YELLOW
Color.- See Also:
-
ANSI_BLUE
Color.- See Also:
-
ANSI_MAGENTA
Color.- See Also:
-
ANSI_CYAN
Color.- See Also:
-
ANSI_WHITE
Color.- See Also:
-
-
Method Details
-
black
write black.- Parameters:
msg- message- Returns:
- value in expected color.
-
red
write red.- Parameters:
msg- message- Returns:
- value in expected color.
-
green
write green.- Parameters:
msg- message- Returns:
- value in expected color.
-
yellow
write yellow.- Parameters:
msg- message- Returns:
- value in expected color.
-
blue
write blue.- Parameters:
msg- message- Returns:
- value in expected color.
-
magenta
write magenta.- Parameters:
msg- message- Returns:
- value in expected color.
-
cyan
write cyan.- Parameters:
msg- message- Returns:
- value in expected color.
-
white
write white.- Parameters:
msg- message- Returns:
- value in expected color.
-