Class LogUtils

java.lang.Object
org.cloudsimplus.automation.LogUtils

public class LogUtils
extends Object
Useful methods to print log information to the terminal.
Author:
Manoel Campos da Silva Filho
  • Constructor Details

    • LogUtils

      public LogUtils()
  • Method Details

    • printLine

      public static void printLine​(String[] captions, Object[] dataArray, String colSeparator)
      Print a array of objects like a table.
      Parameters:
      captions - The captions of the table
      dataArray - The data to be printed.
      See Also:
      printCaptions(java.lang.String[])
    • printLine

      public static void printLine​(String[] captions, Object... dataArray)
    • printCaptions

      public static void printCaptions​(String[] captions, String colSeparator)
      Print the captions of a table to be presented at the terminal.
      Parameters:
      captions - Captions of the table
      See Also:
      printCaptions(java.lang.String[])
    • printCaptions

      public static void printCaptions​(String... captions)
    • getColSeparator

      public static String getColSeparator()
      Returns:
      the colSeparator
    • setColSeparator

      public static void setColSeparator​(String aColSeparator)
      Parameters:
      aColSeparator - the colSeparator to set