public class RemoteLoggingServiceUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RemoteLoggingServiceUtil.RemoteLoggingException
Exceptions that may occur during remote logging.
|
Constructor and Description |
---|
RemoteLoggingServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.logging.LogRecord |
deobfuscateLogRecord(StackTraceDeobfuscator deobfuscator,
java.util.logging.LogRecord lr,
java.lang.String strongName) |
static void |
logOnServer(java.util.logging.LogRecord lr,
java.lang.String strongName,
StackTraceDeobfuscator deobfuscator,
java.lang.String loggerNameOverride)
Logs a message on the server.
|
static void |
logOnServer(java.lang.String serializedLogRecordJson,
java.lang.String strongName,
StackTraceDeobfuscator deobfuscator,
java.lang.String loggerNameOverride) |
public static void logOnServer(java.util.logging.LogRecord lr, java.lang.String strongName, StackTraceDeobfuscator deobfuscator, java.lang.String loggerNameOverride) throws RemoteLoggingServiceUtil.RemoteLoggingException
lr
- LogRecord to be loggedstrongName
- Permutation name (used for deobfuscation and may be null,
which will only cause deobfuscation to fail)deobfuscator
- used for deobfuscation. May be null, which will only
cause deobfuscation to fail.loggerNameOverride
- logger name for messages logged on server. May be
null, in which case, messages will be logged to a logger
corresponding to the client-side logger which triggered them.RemoteLoggingServiceUtil.RemoteLoggingException
public static java.util.logging.LogRecord deobfuscateLogRecord(StackTraceDeobfuscator deobfuscator, java.util.logging.LogRecord lr, java.lang.String strongName)
public static void logOnServer(java.lang.String serializedLogRecordJson, java.lang.String strongName, StackTraceDeobfuscator deobfuscator, java.lang.String loggerNameOverride) throws RemoteLoggingServiceUtil.RemoteLoggingException