Package com.google.gwt.logging.server
Class RemoteLoggingServiceUtil
java.lang.Object
com.google.gwt.logging.server.RemoteLoggingServiceUtil
Utilities for classes that accept Remote Logging requests.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Exceptions that may occur during remote logging. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LogRecord
deobfuscateLogRecord
(StackTraceDeobfuscator deobfuscator, LogRecord lr, String strongName) static void
logOnServer
(String serializedLogRecordJson, String strongName, StackTraceDeobfuscator deobfuscator, String loggerNameOverride) static void
logOnServer
(LogRecord lr, String strongName, StackTraceDeobfuscator deobfuscator, String loggerNameOverride) Logs a message on the server.
-
Constructor Details
-
RemoteLoggingServiceUtil
public RemoteLoggingServiceUtil()
-
-
Method Details
-
logOnServer
public static void logOnServer(LogRecord lr, String strongName, StackTraceDeobfuscator deobfuscator, String loggerNameOverride) throws RemoteLoggingServiceUtil.RemoteLoggingException Logs a message on the server.- Parameters:
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.- Throws:
RemoteLoggingServiceUtil.RemoteLoggingException
-
deobfuscateLogRecord
public static LogRecord deobfuscateLogRecord(StackTraceDeobfuscator deobfuscator, LogRecord lr, String strongName) -
logOnServer
public static void logOnServer(String serializedLogRecordJson, String strongName, StackTraceDeobfuscator deobfuscator, String loggerNameOverride) throws RemoteLoggingServiceUtil.RemoteLoggingException
-