public class

RequestFactoryLogHandler

extends RemoteLogHandlerBase
java.lang.Object
   ↳ java.util.logging.Handler
     ↳ com.google.gwt.logging.client.RemoteLogHandlerBase
       ↳ com.google.gwt.requestfactory.client.RequestFactoryLogHandler

Class Overview

A Handler that does remote logging for applications using RequestFactory.

Summary

Nested Classes
interface RequestFactoryLogHandler.LoggingRequestProvider Provides a logging request. 
[Expand]
Inherited Constants
From class com.google.gwt.logging.client.RemoteLogHandlerBase
[Expand]
Inherited Fields
From class com.google.gwt.logging.client.RemoteLogHandlerBase
Public Constructors
RequestFactoryLogHandler(RequestFactoryLogHandler.LoggingRequestProvider requestProvider, Level level, List<String> ignoredLoggerNames)
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.
Public Methods
void publish(LogRecord record)
[Expand]
Inherited Methods
From class com.google.gwt.logging.client.RemoteLogHandlerBase
From class java.util.logging.Handler
From class java.lang.Object

Public Constructors

public RequestFactoryLogHandler (RequestFactoryLogHandler.LoggingRequestProvider requestProvider, Level level, List<String> ignoredLoggerNames)

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 instance
level a logging Level
ignoredLoggerNames a List of Strings

Public Methods

public void publish (LogRecord record)