Class ConsoleWriter

java.lang.Object
com.helixframework.console.ConsoleWriter

public class ConsoleWriter extends Object
  • Method Details

    • builder

      public static ConsoleWriter.Builder builder()
    • info

      public void info(String msg)
    • success

      public void success(String msg)
    • warn

      public void warn(String msg)
    • error

      public void error(String msg)
    • print

      public void print(String msg)
    • header

      public void header(String title)
    • detail

      public void detail(String msg)
      Indented block lines (nice for steps, details, stack traces, etc.).
      Parameters:
      msg - message to print
    • detail

      public void detail(String msg, Throwable t)
      Prints a detailed message with an accompanying stack trace. The stack trace of the provided Throwable is appended to the message and formatted for display in an indented block.
      Parameters:
      msg - the message to print
      t - the throwable whose stack trace will be included in the output
    • blank

      public void blank()
      Convenience to separate logical chunks.