Package org.cloudsimplus.automation
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 Summary
Constructors Constructor Description LogUtils()
-
Method Summary
Modifier and Type Method Description static String
getColSeparator()
static void
printCaptions(String... captions)
static void
printCaptions(String[] captions, String colSeparator)
Print the captions of a table to be presented at the terminal.static void
printLine(String[] captions, Object... dataArray)
static void
printLine(String[] captions, Object[] dataArray, String colSeparator)
Print a array of objects like a table.static void
setColSeparator(String aColSeparator)
-
Constructor Details
-
LogUtils
public LogUtils()
-
-
Method Details
-
printLine
Print a array of objects like a table.- Parameters:
captions
- The captions of the tabledataArray
- The data to be printed.- See Also:
printCaptions(java.lang.String[])
-
printLine
-
printCaptions
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
-
getColSeparator
- Returns:
- the colSeparator
-
setColSeparator
- Parameters:
aColSeparator
- the colSeparator to set
-