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.

@FunctionalInterface public interface ConsoleLog
Class prints messages to console using different colors

Since:
1.0
Author:
Iulian Andrei (iulian.andrei@qaitsolutions.com)
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Holds terminal commands that will change the color of the text displayed
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ConsoleLog
     
    static final ConsoleLog
     
    static final ConsoleLog
     
    static final ConsoleLog
     
    static final ConsoleLog
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    log(String message)
    Prints to console a specific text in a specific color, after which the color is reset.
  • Field Details

  • Method Details

    • log

      void log(String message)
      Prints to console a specific text in a specific color, after which the color is reset.

      Parameters:
      message - Text that will be printed.