|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.requestfactory.server.Logging
public class Logging
Server-side object that handles log messages sent by
RequestFactoryLogHandler
.
Constructor Summary | |
---|---|
Logging()
|
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the id of this instance. |
java.lang.Integer |
getVersion()
Returns the version of this instance. |
static void |
logMessage(java.lang.String logRecordJson)
Logs a message. |
void |
setId(java.lang.String id)
Sets the id on this instance. |
static void |
setSymbolMapsDirectory(java.lang.String dir)
This function is only for server-side use which is why it's not in the LoggingRequest interface. |
void |
setVersion(java.lang.Integer version)
Sets the version of this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Logging()
Method Detail |
---|
public static void logMessage(java.lang.String logRecordJson) throws RemoteLoggingServiceUtil.RemoteLoggingException
logRecordJson
- a json serialized LogRecord, as provided by
JsonLogRecordClientUtil.logRecordAsJsonObject(LogRecord)
RemoteLoggingServiceUtil.RemoteLoggingException
- if logging failspublic static void setSymbolMapsDirectory(java.lang.String dir)
dir
- a directory, specified as a Stringpublic java.lang.String getId()
setId(String)
public java.lang.Integer getVersion()
setVersion(Integer)
public void setId(java.lang.String id)
id
- a String idgetId()
public void setVersion(java.lang.Integer version)
version
- an Integer version numbergetVersion()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |