public class Logging
extends java.lang.Object
RequestFactoryLogHandler
.Constructor and Description |
---|
Logging() |
Modifier and Type | Method and Description |
---|---|
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 |
setStackTraceDeobfuscator(StackTraceDeobfuscator stackTraceDeobfuscator)
This function is only for server-side use which is why it's not in the
LoggingRequest interface.
|
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.
|
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 static void setStackTraceDeobfuscator(StackTraceDeobfuscator stackTraceDeobfuscator)
stackTraceDeobfuscator
- the StackTraceDeobfuscator instance to usepublic 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()