org.openqa.selenium.logging
Class LogEntries

java.lang.Object
  extended by org.openqa.selenium.logging.LogEntries

public class LogEntries
extends java.lang.Object

Represent a pool of . This class also provides filtering mechanisms based on levels.


Constructor Summary
LogEntries(java.util.List<LogEntry> entries)
           
 
Method Summary
 java.util.List<LogEntry> filter(java.util.logging.Level level)
           
 java.util.List<LogEntry> getAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEntries

public LogEntries(java.util.List<LogEntry> entries)
Method Detail

getAll

public java.util.List<LogEntry> getAll()
Returns:
an immutable list of all LogEntry fetched.

filter

public java.util.List<LogEntry> filter(java.util.logging.Level level)
Parameters:
level - Level The level to filter the log entries.
Returns:
all log entries for that level and above.


Copyright © 2011. All Rights Reserved.