Printing array/table to console

I am trying to print all the teststeps done after the testrun to the console. So you can quickly see what steps were done and with what kind of result.

Since there are a lot of teststeps using WebUI.println() or WebUI.comment() results in not a very clear output because before and after each println() there is the following:

09-29-2018 05:09:19 PM - [START]  - Start action : println
-output-
09-29-2018 05:09:19 PM - [END]    - End action : println

Second idea was to create an array with all the done steps and print it in the end:

String[] example_array = new int [..]WebUI.println(Arrays.toString(example_array))	

But all the teststeps are ofc put into a single line, which makes it even worse to go over and quickly read for the infos.

Last try and the question: Printing a 2D array?

String[][] example_array = new int [..][..]WebUI.println(Arrays.deepToString(example_array))

But the output is still only in 1 line instead of a table
Output: '[[MODEL_select_Tour_0A03], [COLOURS_select_style_S0861],…]

Anyone any idea on how I could manage that?
e.g. to see in the Jenkins test logs what was done, by simply looking at the output at the end.

why would you do that? the console output is already pretty verbose, have you tried it?

any testcase run it is printed by default, with all steps …

Yes, the problem is that I get my testvariables from a excel file, and the test itself contains a lot of loop- & condition- statements. Therefore the output contains a lot of steps and I would like a way to sum up all the important details that happened at once, in the end, if possible.

10-01-2018 09:54:54 AM - [START]  - Start action : Statement - detail = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("detail", dat)10-01-2018 09:54:54 AM - [INFO]   - Checking test data id10-01-2018 09:54:54 AM - [INFO]   - Finding test data with id 'Data Files/Testdat2bm'10-01-2018 09:54:54 AM - [INFO]   - Test data is excel file, reading excel file10-01-2018 09:54:54 AM - [INFO]   - Reading excel file with source file 'D:\Project\bm - test\testdat1bm.xls' and sheet name 'Tabelle4'10-01-2018 09:54:54 AM - [END]    - End action : Statement - detail = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("detail", dat)10-01-2018 09:54:54 AM - [START]  - Start action : Statement - attribute = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("attribute", dat)10-01-2018 09:54:54 AM - [INFO]   - Checking test data id10-01-2018 09:54:54 AM - [INFO]   - Finding test data with id 'Data Files/Testdat2bm'10-01-2018 09:54:54 AM - [INFO]   - Test data is excel file, reading excel file10-01-2018 09:54:54 AM - [INFO]   - Reading excel file with source file 'D:\Project\bm - test\testdat1bm.xls' and sheet name 'Tabelle4'10-01-2018 09:54:54 AM - [END]    - End action : Statement - attribute = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("attribute", dat)10-01-2018 09:54:54 AM - [START]  - Start action : Statement - switch (topic)10-01-2018 09:54:54 AM - [START]  - Start action : Statement - case "MODEL":10-01-2018 09:54:54 AM - [START]  - Start action : printlnModel_select_tour_A030_active10-01-2018 09:54:54 AM - [END]    - End action : println

This is just a short part, since a lot data is taken from the excel file…

Also e.g. when selecting a model, I check in the method which colors/styles are enabled for that model and this is something I would like as an output at the end, together with all the other results from the loops etc.

I hope i could somewhat explain the thoughts.