package io.tromba.testdriver.core.logging;

import java.util.ArrayList;
import java.util.List;

/**
 * Logger for testdriver tests.
 */
public class TestdriverLogger {

    private List<LogEntry> entries = new ArrayList<LogEntry>();

    public void log(LogLevel logLevel, String message) {
        LogEntry entry = new LogEntry(logLevel);
        entry.setMessage(message);
    }
}

@@ -368,16 +368,182 @@
 ssage);%0A
+        entries.add(entry);%0A    %7D%0A%0A    public void finalise() %7B%0A        for (LogEntry entry: entries) %7B%0A            System.out.println(entry.getMessage());%0A        %7D%0A
     %7D%0A%7D%0A

add basic finalise method