org.openqa.selenium.logging
Class LogEntry
java.lang.Object
org.openqa.selenium.logging.LogEntry
- Direct Known Subclasses:
- ProfilerLogEntry
public class LogEntry
- extends java.lang.Object
Represents a single log statement.
Constructor Summary |
LogEntry(java.util.logging.Level level,
long timestamp,
java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LogEntry
public LogEntry(java.util.logging.Level level,
long timestamp,
java.lang.String message)
- Parameters:
level
- the level of the log, e.g. INFO.timestamp
- long value of the timestamp at which this log entry
was created.message
- String the log's message.
getLevel
public java.util.logging.Level getLevel()
getTimestamp
public long getTimestamp()
getMessage
public java.lang.String getMessage()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toJson
public org.json.JSONObject toJson()
Copyright © 2012. All Rights Reserved.