public class NoOpSessionLogHandler extends PerSessionLogHandler
Constructor and Description |
---|
NoOpSessionLogHandler() |
Modifier and Type | Method and Description |
---|---|
void |
attachToCurrentThread(org.openqa.selenium.remote.SessionId sessionId) |
void |
clearThreadTempLogs() |
void |
close() |
void |
configureLogging(org.openqa.selenium.logging.LoggingPreferences prefs) |
void |
detachFromCurrentThread() |
void |
fetchAndStoreLogsFromDriver(org.openqa.selenium.remote.SessionId sessionId,
org.openqa.selenium.WebDriver driver) |
void |
flush() |
org.openqa.selenium.logging.SessionLogs |
getAllLogsForSession(org.openqa.selenium.remote.SessionId sessionId) |
java.lang.String |
getLog(org.openqa.selenium.remote.SessionId sessionId) |
com.google.common.collect.ImmutableList<org.openqa.selenium.remote.SessionId> |
getLoggedSessions() |
org.openqa.selenium.logging.LogEntries |
getSessionLog(org.openqa.selenium.remote.SessionId sessionId) |
void |
publish(java.util.logging.LogRecord record) |
void |
removeSessionLogs(org.openqa.selenium.remote.SessionId sessionId) |
void |
transferThreadTempLogsToSessionLogs(org.openqa.selenium.remote.SessionId sessionId) |
public void attachToCurrentThread(org.openqa.selenium.remote.SessionId sessionId)
attachToCurrentThread
in class PerSessionLogHandler
public void transferThreadTempLogsToSessionLogs(org.openqa.selenium.remote.SessionId sessionId)
transferThreadTempLogsToSessionLogs
in class PerSessionLogHandler
public void detachFromCurrentThread()
detachFromCurrentThread
in class PerSessionLogHandler
public void removeSessionLogs(org.openqa.selenium.remote.SessionId sessionId)
removeSessionLogs
in class PerSessionLogHandler
public void clearThreadTempLogs()
clearThreadTempLogs
in class PerSessionLogHandler
public java.lang.String getLog(org.openqa.selenium.remote.SessionId sessionId)
getLog
in class PerSessionLogHandler
public void publish(java.util.logging.LogRecord record)
publish
in class PerSessionLogHandler
public void flush()
flush
in class java.util.logging.Handler
public void close() throws java.lang.SecurityException
close
in class java.util.logging.Handler
java.lang.SecurityException
public org.openqa.selenium.logging.LogEntries getSessionLog(org.openqa.selenium.remote.SessionId sessionId)
getSessionLog
in class PerSessionLogHandler
public com.google.common.collect.ImmutableList<org.openqa.selenium.remote.SessionId> getLoggedSessions()
getLoggedSessions
in class PerSessionLogHandler
public org.openqa.selenium.logging.SessionLogs getAllLogsForSession(org.openqa.selenium.remote.SessionId sessionId)
getAllLogsForSession
in class PerSessionLogHandler
public void fetchAndStoreLogsFromDriver(org.openqa.selenium.remote.SessionId sessionId, org.openqa.selenium.WebDriver driver)
fetchAndStoreLogsFromDriver
in class PerSessionLogHandler
public void configureLogging(org.openqa.selenium.logging.LoggingPreferences prefs)
configureLogging
in class PerSessionLogHandler