public class Logging extends Object
RequestFactoryLogHandler
.Constructor and Description |
---|
Logging() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the id of this instance.
|
Integer |
getVersion()
Returns the version of this instance.
|
static void |
logMessage(String logRecordJson)
Logs a message.
|
void |
setId(String id)
Sets the id on this instance.
|
static void |
setSymbolMapsDirectory(String dir)
This function is only for server-side use which is why it's not in the
LoggingRequest interface.
|
void |
setVersion(Integer version)
Sets the version of this instance.
|
public static void logMessage(String logRecordJson) throws RemoteLoggingServiceUtil.RemoteLoggingException
logRecordJson
- a json serialized LogRecord, as provided by
JsonLogRecordClientUtil.logRecordAsJsonObject(LogRecord)
RemoteLoggingServiceUtil.RemoteLoggingException
- if logging failspublic static void setSymbolMapsDirectory(String dir)
dir
- a directory, specified as a Stringpublic String getId()
setId(String)
public Integer getVersion()
setVersion(Integer)
public void setId(String id)
id
- a String idgetId()
public void setVersion(Integer version)
version
- an Integer version numbergetVersion()
Copyright © 2016. All rights reserved.