All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.tromba.testdriver.core.logging.LogEntry Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.tromba.testdriver.core.logging;

/**
 * Entry for the Testdriver logger.
 */
public class LogEntry {

    private LogLevel logLevel;

    private long timeInMillis;

    private String testId;

    private String message;

    public LogEntry(LogLevel level) {
        timeInMillis = System.currentTimeMillis();
        logLevel = level;
    }

    public LogEntry(LogLevel level, String message) {
        this(level);
        setMessage(message);
    }

    public String getTestId() {
        return testId;
    }

    public void setTestId(String testId) {
        this.testId = testId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy