Class AnsiUtils

java.lang.Object
com.datastax.astra.internal.utils.AnsiUtils

public class AnsiUtils extends Object
Helper to log with colors.
Author:
Cedrick LUNVEN (@clunven)
  • Field Details

  • Method Details

    • green

      public static String green(String msg)
      write green.
      Parameters:
      msg - message
      Returns:
      value in expected color.
    • yellow

      public static String yellow(String msg)
      write yellow.
      Parameters:
      msg - message
      Returns:
      value in expected color.
    • magenta

      public static String magenta(String msg)
      write magenta.
      Parameters:
      msg - message
      Returns:
      value in expected color.
    • cyan

      public static String cyan(String msg)
      write cyan.
      Parameters:
      msg - message
      Returns:
      value in expected color.