org.openqa.selenium.logging
Class LogEntry

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.util.logging.Level getLevel()
           
 java.lang.String getMessage()
           
 long getTimestamp()
           
 org.json.JSONObject toJson()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.