com.google.gwt.requestfactory.client
Class RequestFactoryLogHandler
java.lang.Object
java.util.logging.Handler
com.google.gwt.logging.client.RemoteLogHandlerBase
com.google.gwt.requestfactory.client.RequestFactoryLogHandler
Deprecated.
@Deprecated
public class RequestFactoryLogHandler
- extends RemoteLogHandlerBase
A Handler that does remote logging for applications using RequestFactory.
RequestFactory has moved to
com.google.web.bindery.requestfactory
. This package will be
removed in a future version of GWT.
Constructor Summary |
RequestFactoryLogHandler(RequestFactoryLogHandler.LoggingRequestProvider requestProvider,
java.util.logging.Level level,
java.util.List<java.lang.String> ignoredLoggerNames)
Deprecated. Since records from this handler go accross the wire, it should only be
used for important messages, and it's Level will often be higher than the
Level being used app-wide. |
Method Summary |
void |
publish(java.util.logging.LogRecord record)
Deprecated. |
Methods inherited from class java.util.logging.Handler |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestFactoryLogHandler
public RequestFactoryLogHandler(RequestFactoryLogHandler.LoggingRequestProvider requestProvider,
java.util.logging.Level level,
java.util.List<java.lang.String> ignoredLoggerNames)
- Deprecated.
- Since records from this handler go accross the wire, it should only be
used for important messages, and it's Level will often be higher than the
Level being used app-wide. This handler also takes string which it will
use to exclude the messages from some loggers. This usually includes the
name of the logger(s) which will be used to log acknowledgements of
activity going accross the wire. If we did not exclude these loggers, an
infinite loop would occur.
- Parameters:
requestProvider
- a RequestFactoryLogHandler.LoggingRequestProvider
instancelevel
- a logging Level
ignoredLoggerNames
- a List of Strings
publish
public void publish(java.util.logging.LogRecord record)
- Deprecated.
- Specified by:
publish
in class java.util.logging.Handler