public class

RemoteLoggingServiceImpl

extends RemoteServiceServlet
implements RemoteLoggingService
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
         ↳ com.google.gwt.user.server.rpc.RemoteServiceServlet
           ↳ com.google.gwt.logging.server.RemoteLoggingServiceImpl

Class Overview

Server side code for the remote log handler.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
Public Constructors
RemoteLoggingServiceImpl()
Public Methods
final String logOnServer(LogRecord lr)
Logs a Log Record which has been serialized using GWT RPC on the server.
void setLoggerNameOverride(String override)
By default, messages are logged to a logger that has the same name as the logger that created them on the client.
void setSymbolMapsDirectory(String symbolMapsDir)
By default, this service does not do any deobfuscation.
[Expand]
Inherited Methods
From class com.google.gwt.user.server.rpc.RemoteServiceServlet
From class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
From class javax.servlet.http.HttpServlet
From class javax.servlet.GenericServlet
From class java.lang.Object
From interface com.google.gwt.logging.shared.RemoteLoggingService
From interface com.google.gwt.user.server.rpc.SerializationPolicyProvider
From interface javax.servlet.Servlet
From interface javax.servlet.ServletConfig

Public Constructors

public RemoteLoggingServiceImpl ()

Public Methods

public final String logOnServer (LogRecord lr)

Logs a Log Record which has been serialized using GWT RPC on the server.

Returns
  • either an error message, or null if logging is successful.

public void setLoggerNameOverride (String override)

By default, messages are logged to a logger that has the same name as the logger that created them on the client. If you want to log all messages from the client to a logger with another name, you can set the override using this method.

public void setSymbolMapsDirectory (String symbolMapsDir)

By default, this service does not do any deobfuscation. In order to do server side deobfuscation, you must copy the symbolMaps files to a directory visible to the server and set the directory using this method.