org.openqa.selenium.server.log
Class NoOpSessionLogHandler
java.lang.Object
java.util.logging.Handler
org.openqa.selenium.server.log.PerSessionLogHandler
org.openqa.selenium.server.log.NoOpSessionLogHandler
public class NoOpSessionLogHandler
- extends PerSessionLogHandler
- Author:
- Kristian Rosenvold
| Methods inherited from class java.util.logging.Handler |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpSessionLogHandler
public NoOpSessionLogHandler()
attachToCurrentThread
public void attachToCurrentThread(org.openqa.selenium.remote.SessionId sessionId)
- Specified by:
attachToCurrentThread in class PerSessionLogHandler
transferThreadTempLogsToSessionLogs
public void transferThreadTempLogsToSessionLogs(org.openqa.selenium.remote.SessionId sessionId)
- Specified by:
transferThreadTempLogsToSessionLogs in class PerSessionLogHandler
detachFromCurrentThread
public void detachFromCurrentThread()
- Specified by:
detachFromCurrentThread in class PerSessionLogHandler
removeSessionLogs
public void removeSessionLogs(org.openqa.selenium.remote.SessionId sessionId)
- Specified by:
removeSessionLogs in class PerSessionLogHandler
clearThreadTempLogs
public void clearThreadTempLogs()
- Specified by:
clearThreadTempLogs in class PerSessionLogHandler
getLog
public String getLog(org.openqa.selenium.remote.SessionId sessionId)
- Specified by:
getLog in class PerSessionLogHandler
publish
public void publish(LogRecord record)
- Specified by:
publish in class PerSessionLogHandler
flush
public void flush()
- Specified by:
flush in class Handler
close
public void close()
throws SecurityException
- Specified by:
close in class Handler
- Throws:
SecurityException
getSessionLog
public org.openqa.selenium.logging.LogEntries getSessionLog(org.openqa.selenium.remote.SessionId sessionId)
- Specified by:
getSessionLog in class PerSessionLogHandler
getLoggedSessions
public com.google.common.collect.ImmutableList<org.openqa.selenium.remote.SessionId> getLoggedSessions()
- Specified by:
getLoggedSessions in class PerSessionLogHandler
getAllLogsForSession
public org.openqa.selenium.logging.SessionLogs getAllLogsForSession(org.openqa.selenium.remote.SessionId sessionId)
- Specified by:
getAllLogsForSession in class PerSessionLogHandler
fetchAndStoreLogsFromDriver
public void fetchAndStoreLogsFromDriver(org.openqa.selenium.remote.SessionId sessionId,
WebDriver driver)
- Specified by:
fetchAndStoreLogsFromDriver in class PerSessionLogHandler
configureLogging
public void configureLogging(org.openqa.selenium.logging.LoggingPreferences prefs)
- Specified by:
configureLogging in class PerSessionLogHandler
Copyright © 2013. All Rights Reserved.