Package org.openqa.selenium.logging
Class LogEntry
java.lang.Object
org.openqa.selenium.logging.LogEntry
- Direct Known Subclasses:
ProfilerLogEntry
Represents a single log statement.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LogEntry
- Parameters:
level
- the severity of the log entrytimestamp
- UNIX Epoch timestamp at which this log entry was createdmessage
- ew the log entry's message
-
-
Method Details
-
getLevel
Gets the logging entry's severity.- Returns:
- severity of log statement
-
getTimestamp
public long getTimestamp()Gets the timestamp of the log statement in milliseconds since UNIX Epoch.- Returns:
- timestamp as UNIX Epoch
-
getMessage
Gets the log entry's message.- Returns:
- the log statement
-
toString
-
toJson
-