public class RemoteLoggingServiceUtil extends 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 LogRecord |
deobfuscateLogRecord(StackTraceDeobfuscator deobfuscator,
LogRecord lr,
String strongName) |
static void |
logOnServer(LogRecord lr,
String strongName,
StackTraceDeobfuscator deobfuscator,
String loggerNameOverride)
Logs a message on the server.
|
static void |
logOnServer(String serializedLogRecordJson,
String strongName,
StackTraceDeobfuscator deobfuscator,
String loggerNameOverride) |
public static void logOnServer(LogRecord lr, String strongName, StackTraceDeobfuscator deobfuscator, 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 LogRecord deobfuscateLogRecord(StackTraceDeobfuscator deobfuscator, LogRecord lr, String strongName)
public static void logOnServer(String serializedLogRecordJson, String strongName, StackTraceDeobfuscator deobfuscator, String loggerNameOverride) throws RemoteLoggingServiceUtil.RemoteLoggingException
Copyright © 2018. All rights reserved.