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(String sessionId)
- Specified by:
attachToCurrentThread
in class PerSessionLogHandler
transferThreadTempLogsToSessionLogs
public void transferThreadTempLogsToSessionLogs(String sessionId)
- Specified by:
transferThreadTempLogsToSessionLogs
in class PerSessionLogHandler
detachFromCurrentThread
public void detachFromCurrentThread()
- Specified by:
detachFromCurrentThread
in class PerSessionLogHandler
removeSessionLogs
public void removeSessionLogs(String sessionId)
- Specified by:
removeSessionLogs
in class PerSessionLogHandler
clearThreadTempLogs
public void clearThreadTempLogs()
- Specified by:
clearThreadTempLogs
in class PerSessionLogHandler
getLog
public String getLog(String sessionId)
throws IOException
- Specified by:
getLog
in class PerSessionLogHandler
- Throws:
IOException
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
Copyright © 2012. All Rights Reserved.