Package io.fi0x.javalogger.logging
Class LogColor
java.lang.Object
io.fi0x.javalogger.logging.LogColor
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringget(LogColor.Color color) static Stringget(LogColor.Color color, LogColor.Design design) static Stringget(LogColor.Color color, LogColor.Design design, boolean bright) static Stringget(LogColor.Color color, LogColor.Design design, boolean bright, boolean foreground) Creates a String that corresponds to a usable color-code.
-
Field Details
-
RESET
- See Also:
-
BLACK
- See Also:
-
RED
- See Also:
-
GREEN
- See Also:
-
YELLOW
- See Also:
-
BLUE
- See Also:
-
PURPLE
- See Also:
-
CYAN
- See Also:
-
WHITE
- See Also:
-
BLACK_BRIGHT
- See Also:
-
RED_BRIGHT
- See Also:
-
GREEN_BRIGHT
- See Also:
-
YELLOW_BRIGHT
- See Also:
-
BLUE_BRIGHT
- See Also:
-
PURPLE_BRIGHT
- See Also:
-
CYAN_BRIGHT
- See Also:
-
WHITE_BRIGHT
- See Also:
-
BLACK_BACKGROUND
- See Also:
-
RED_BACKGROUND
- See Also:
-
GREEN_BACKGROUND
- See Also:
-
YELLOW_BACKGROUND
- See Also:
-
BLUE_BACKGROUND
- See Also:
-
PURPLE_BACKGROUND
- See Also:
-
CYAN_BACKGROUND
- See Also:
-
WHITE_BACKGROUND
- See Also:
-
BLACK_BACKGROUND_BRIGHT
- See Also:
-
RED_BACKGROUND_BRIGHT
- See Also:
-
GREEN_BACKGROUND_BRIGHT
- See Also:
-
YELLOW_BACKGROUND_BRIGHT
- See Also:
-
BLUE_BACKGROUND_BRIGHT
- See Also:
-
PURPLE_BACKGROUND_BRIGHT
- See Also:
-
CYAN_BACKGROUND_BRIGHT
- See Also:
-
WHITE_BACKGROUND_BRIGHT
- See Also:
-
-
Constructor Details
-
LogColor
public LogColor()
-
-
Method Details
-
get
public static String get(LogColor.Color color, LogColor.Design design, boolean bright, boolean foreground) Creates a String that corresponds to a usable color-code.- Parameters:
color- The color that should be used.design- Special font-features if the color is a foreground (Default is 'Normal').bright- Weather or not the color should be bright or dim (Default is false).foreground- Weather the color should be a foreground or background color (Default is true).- Returns:
- A String that can be used to change the console color style.
-
get
- See Also:
-
get
- See Also:
-
get
- See Also:
-