org.openqa.selenium.logging
Class LogEntry

java.lang.Object
  extended by org.openqa.selenium.logging.LogEntry
Direct Known Subclasses:
ProfilerLogEntry

public class LogEntry
extends Object

Represents a single log statement.


Constructor Summary
LogEntry(Level level, long timestamp, String message)
           
 
Method Summary
 Level getLevel()
           
 String getMessage()
           
 long getTimestamp()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogEntry

public LogEntry(Level level,
                long timestamp,
                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 Level getLevel()

getTimestamp

public long getTimestamp()

getMessage

public String getMessage()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.