Interface ConsoleLog
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Class prints messages to console using different colors
- Since:
- 1.0
- Author:
- Iulian Andrei (iulian.andrei@qaitsolutions.com)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Holds terminal commands that will change the color of the text displayed -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConsoleLog
static final ConsoleLog
static final ConsoleLog
static final ConsoleLog
static final ConsoleLog
-
Method Summary
-
Field Details
-
CYAN
-
RED
-
YELLOW
-
GREEN
-
MAGENTA
-
-
Method Details
-
log
Prints to console a specific text in a specific color, after which the color is reset.- Parameters:
message
- Text that will be printed.
-