org.openqa.selenium.logging
Class LogEntries
java.lang.Object
org.openqa.selenium.logging.LogEntries
- All Implemented Interfaces:
- Iterable<LogEntry>
@Beta
public class LogEntries
- extends Object
- implements Iterable<LogEntry>
Represent a pool of . This class also provides filtering mechanisms based on
levels.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogEntries
public LogEntries(Iterable<LogEntry> entries)
getAll
public List<LogEntry> getAll()
- Get the list of all log entries.
- Returns:
- a view of all
LogEntry
fetched
filter
public List<LogEntry> filter(Level level)
- Parameters:
level
- Level
the level to filter the log entries
- Returns:
- all log entries for that level and above
iterator
public Iterator<LogEntry> iterator()
- Specified by:
iterator
in interface Iterable<LogEntry>
Copyright © 2013. All rights reserved.