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);
        entries.add(entry);
    }

    public void finalise() {
        for (LogEntry entry: entries) {
            System.out.println(entry.getMessage());
        }
    }
}

@@ -423,15 +423,12 @@
 oid 
-finalis
+writ
 e() 

rename write method in dummy logger