io.tromba.testdriver.core.logging.LogEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testdriver Show documentation
Show all versions of testdriver Show documentation
Testdriver: minimal test framework for Selenium WebDriver.
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